Export invoice list to PDF, Excel, or CSV format

Check my small script which does the job for you: