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.
/api/v1/accounting/stripe.year.downloadPermissions
Who can call it
Retries
MCP
accounting_stripe_year_downloadFields
periodobjectRequiredThe period to cover.
No other fields
formatenumzipxlsxpdfDefault "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"
}
}'{
"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.
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.