Tiny script to download automatically PDF invoices from OVH.
Inspired by https://github.com/dunglas/stripe-invoice-exporter
run composer install
Go to https://eu.api.ovh.com/createToken/ and create a new token.
👀 Pay attention to the Rights section
.
Copy .env.example
to .env
and adapt it.
php download.php
The invoices are in the invoices
folder.
- Replace hardcoded date (from & to) by args