Queues an asynchronous export of the account statement for the given date range
(`format`: `csv`, `pdf`, or `xlsx`). Poll `GET /v1/accounts/{accountId}/exports`
until status is `COMPLETED`, then download via
`GET /v1/accounts/{accountId}/exports/{exportId}/download`.
The file contains **live** statement rows from the banking partner (ISPB `50871921`).
Columns match the statement, plus `ispb`. The last column is `pixKey` —
the same field as on each statement item (incoming key on a credit; destination
key on a debit). Empty outside PIX and on older rows. Saldo após transação
(`balance`) is **not** included. CSV and XLSX use the requested date range
in full (no row cap). PDF still clamps dates to 21/05/2026 … 24h ago,
but no longer truncates at 10,000 rows. XLSX continues on extra sheets
(`Statement_2`, …) if a single Excel sheet fills.
Request
This endpoint expects an object.
typeenumRequired
Export type. Only statement is supported.
startDatedateRequired
Inclusive start date (YYYY-MM-DD).
endDatedateRequired
Inclusive end date (YYYY-MM-DD).
formatenumOptionalDefaults to csv
File format. csv and xlsx share the same columns. pdf is a formatted statement (date window still clamped).
Response
Export job accepted.
paramsmap from strings to anyOptional
errorReasonstringOptional
completedAtdatetimeOptional