Aws Bill Export Save

Download AWS bills from the console programmatically.

Project README

AWS Bill Export

"something monstrous"

Downloads AWS bills from the console programmatically.

Installation

Launch Stack

Click the above link to deploy the stack to your environment.

If you prefer, you can also manually upsert the template.yml stack from source.

Currently, the only tested region is us-east-1.

Usage

The stack outputs a base URL you can use to make calls. The following calls can be made:

Show complete bill contents

https://<baseurl>/completebill.json?month=3&year=2020

Show the invoice list

https://<baseurl>/invoicelist.json?month=3&year=2020

Show linked account bills

https://<baseurl>/linkedaccountbillsummary.json?month=3&year=2020

Generate and download an invoice

https://<baseurl>/generate.json?invoiceNumber=12345&invoiceGroupId=12345"
https://<baseurl>/download.pdf?invoiceNumber=12345&invoiceGroupId=12345"

Notes

  • Authentication and/or authorization is anonymous by default, and a basic IAM authentication/authorization is available via the AuthorizationType . Configuring this to match your environment is left as an exercise for you.
  • You have to keep puppeteer-core and @sparticuz/chromium in sync if you update packages. See the sparticuz/chromium readme for instructions.
Open Source Agenda is not affiliated with "Aws Bill Export" Project. README Source: iann0036/aws-bill-export
Stars
59
Open Issues
6
Last Commit
9 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating