If you run an account backup you will get a set of CSV files for everything, one of them will be invoices.