Remove invoices code from transaction controller