bulkinvoicedownloader
v1.0.0
Published
Download bulk invoices as PDF. Created to be used with the Envato marketplace.
Downloads
7
Readme
BulkInvoiceDownloader
Download bulk invoices as PDF. Created to be used with the Envato marketplace.
Installation
npm install bulkinvoicedownloader
Usage
- Download the CSV file with from your statements page. I recommend filtering for Sales only.
- Open the CSV in Excel or similar and copy the column named Document which contains the invoice IDs.
- Because there are multiple transactions for the same ID (eg: item + support) you should remove the duplicate IDs using something like textmechanic.
- Paste the lines with your invoice IDs in a new file called invoices_list.txt in the same folder as index.js.
- Edit invoice_downloader.js and set the correct marketplace name and login cookie so the script has access to download the invoices.
- Run
node index.js
Development
If this script proves to be useful I will improve it to remove the number of steps it takes to use it (eg: automatically remove duplicates or directly parse the csv).