Invoices order is now in  an array