Skip to content

jxramos/webOrders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

187 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webOrders

chrome extension to write a web order invoice to a locally saved json report file.

Report Format

Currently renders order history invoices to a json file, one file per invoice, from supported websites whose order confirmation or order history pages have urls matching known patterns maintained within the extension. The report will be automatically downloaded to the user's default Downloads folder with a file name taking the form of the order date, followed by the e-commerce vendor name, followed by the order number.

If the web order report does not download automatically the user may manually trigger a download by clicking on the extension's action icon found within the Chrome "Extensions" part of the browser which is identified by the puzzle piece icon to the right of the address bar.

File Name

<order_date> <vendor_name>-<order_num>.wo.json
2020-03-21 Vitacost.com-999999999.wo.json
2021-08-11 Amazon.com-111-1111111-1111111.wo.json

The extension prefix .wo is short for web order.

File Body

The contents of the file for a purchase transaction will assume the following form given below.

{
    "Vendor": "VendorXYZ",
    "URL": "https://vendor-xyz.com/invoice_q.html",
    "OrderDate": "M/DD/YYYY",
    "OrderDateFormatted": "YYYY-MM-DD",
    "Total": 221.74,
    "PaymentMethod": "VISA 0123",
    "Order#": "XXXXXXXXXX",
    "Items": [
        [
            "Stuff 1",
            99.99
        ],
        [
            "Thing ABC",
            120.4
        ],
        [
            "Tax",
            1.35
        ]
    ]
}

If that file originates from a transfer transaction the format will go according to the structure below. The Transfer list is ordered as the From account followed by the To account.

{
    "Vendor": "AccountABC",
    "URL": "https://account-abc.com/transfer_x.html",
    "OrderDate": "M/DD/YYYY",
    "OrderDateFormatted": "YYYY-MM-DD",
    "Total": 33.33,
    "PaymentMethod": "Checking1234",
    "Order#": "XXXXXXXXXX",
    "Transfer": ["Checking1234", "Visa 5678"]
}

Web Order Support

The current list of vendors supported.

  • amazon.com
    • regular orders
    • prime now orders
    • digital orders
  • appfolio.com
  • appliancepartspros.com
  • bambooinsurance.com
  • bayareafastrak.org
  • blueland.com
  • chase.com (credit card payments)
  • citi.com (credit card payments)
  • costco.com
  • costcochecks.com
  • digikey.com
  • dmv.ca.gov
  • ebay.com
  • ereplacementparts.com
  • etrade.com
  • fcpeuro.com
  • geico.com
  • gmail.com
    • Square
  • gosun.com
  • grip6.com
  • homedepot.com
  • irs.gov
  • landsend.com
  • littlecaesars.com
  • mrcooper.com
  • overstock.com
  • paypal.com
  • pge.com (NOTE manual console execution required)
  • questdiagnostics.com
  • questhealth.com
  • rocketmortgage.com
  • sutterhealth.org
  • trapsdirect.com
  • vitacost.com
  • walgreens.com
  • walmart.com
  • workday.com payslips

About

chrome extension to export web order invoices to a json file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors