Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dunglas/stripe-invoice-exporter
Download all your Stripe PDF invoices in bulk.
https://github.com/dunglas/stripe-invoice-exporter
invoice stripe stripe-api stripe-checkout stripe-payments
Last synced: 22 days ago
JSON representation
Download all your Stripe PDF invoices in bulk.
- Host: GitHub
- URL: https://github.com/dunglas/stripe-invoice-exporter
- Owner: dunglas
- License: agpl-3.0
- Created: 2020-12-18T18:25:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-27T18:09:55.000Z (over 2 years ago)
- Last Synced: 2024-10-04T12:46:33.946Z (about 1 month ago)
- Topics: invoice, stripe, stripe-api, stripe-checkout, stripe-payments
- Language: PHP
- Homepage:
- Size: 29.3 KB
- Stars: 29
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stripe Invoice Exporter
Download all your Stripe PDF invoices in bulk.
# Prerequisites
You need a working installation of [PHP](https://php.net) and of [Composer](https://getcomposer.org/).
## Install
1. Run `composer install` to install the Stripe SDK.
2. Create a new restricted key with the `Read` right for `Invoices` resource type:
![Screenshot](docs/restricted-key.png)
3. Copy the generated key.## Usage
STRIPE_KEY=rk_live_<...> ./download.php
The invoices will be downloaded in the `invoices/` directory.