get invoices as files