I would like to automate filing invoices from Amazon and wanted to get some suggestions on the best way to do it.
Main goal is to download the PDF than rename that file as follows:
<date>-Amazon-<Total>
for example
20200714-Amazon-12.00.pdf
I currently use Firefox but don't mind using Google Chrome or Safari for this task since they are already integrated into KM.
Eventually this will be triggered by the email containing the order number once I learn more about scraping text. For now I was thinking have the order number on my clipboard than build the url to the PDF by adding the order number to:
https://www.Amazon.com/gp/css/summary/print.html/ref=ppx_yo_dt_b_invoice_o00?ie=UTF8&orderID=
or an alternative is it to go to the order page and set the radio button to download the invoice.
I suppose it comes down to which option can reliably create a variable for both date and price total.
Would it be better to do this from an HTML page such as
or from the PDF file.Thanks