stripe-invoice-fetcher

command module
v0.0.0-...-9b40cea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 11 Imported by: 0

README

Stripe Invoice Fetcher

This is a simple script that fetches all invoices from all payouts of your Stripe Account and saves them as PDF files grouped by payout.

Installation

  1. Clone this repository
  2. Set your Stripe API key as environment variable STRIPE_API_KEY, e.g. export STRIPE_API_KEY=sk_test_1234567890
  3. Run go run main.go

Output

The script will create a folder with the name scheme <Payout Arrival Date formatted as YYYY-MM-DD>-<Payout ID> for each payout. The invoices will be saved as PDF files in this folder as <Invoice ID>.pdf

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL