Stripe

stripe.year.download

Download Stripe for one fiscal year, for { period, format (zip default, xlsx or pdf) }. The ZIP holds an Excel workbook (summary, charges with their fee and GST/HST when known, refunds, disputes, fees by month, payouts and whether each is matched to a bank deposit), the same lists as CSV files, and Stripe's original records when they fit (its README says when they were left out). xlsx is the workbook alone and pdf a short summary. Returns a short-lived download. Each request builds a fresh file and is audited with counts only.

POST/api/v1/accounting/stripe.year.download

Permissions

accounting:readaccounting:write

Who can call it

admin, finance

Retries

No idempotency key

MCP

accounting_stripe_year_download

Fields

  • periodobjectRequired

    The period to cover.

    No other fields

  • formatenum
    zipxlsxpdf

    Default "zip"

Example

curl https://app.getoatmilk.com/api/v1/accounting/stripe.year.download \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "period": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "kind": "corporate"
  }
}'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

POST/api/v1/accounting/stripe.year.download
curl https://app.getoatmilk.com/api/v1/accounting/stripe.year.download \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "period": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "kind": "corporate"
  }
}'

More in Stripe.