If you want to load ALL invoices, you will have to load the
closed invoices as if they were open, using the standard API,
then use a tool like DataLoad which is a free download from
http://www.dataload.net/ to load and apply receipts. It is
possible, with some careful planning.