Condensing transactions in invoices representation