1.0.0 • Published 7 years ago

bulkinvoicedownloader v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

BulkInvoiceDownloader

Download bulk invoices as PDF. Created to be used with the Envato marketplace.

Installation

npm install bulkinvoicedownloader

Usage

  1. Download the CSV file with from your statements page. I recommend filtering for Sales only. settings
  2. Open the CSV in Excel or similar and copy the column named Document which contains the invoice IDs.
  3. Because there are multiple transactions for the same ID (eg: item + support) you should remove the duplicate IDs using something like textmechanic.
  4. Paste the lines with your invoice IDs in a new file called invoices_list.txt in the same folder as index.js.
  5. Edit invoice_downloader.js and set the correct marketplace name and login cookie so the script has access to download the invoices.
  6. 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).