.Added new invoice handler and invoicing function.