Skip to content
API v1 · 1.0.0-draft.1
Go to console
Contents ↓

API reference / Batches

GET

Export a batch

GET /v1/batches/{batch_id}/exports/{format}

Merged export (e.g. 12 monthly statements in one Excel)

Parameters

batch_idstringpathrequired
formatstringpathrequired
Export format, or template:{template_id} for a customer template made in the console.
include_pendingbooleanqueryoptional

Possible errors

400invalid_requestThe request is invalid; see details.
401unauthorizedAuthentication failed. Check your API key.
403forbiddenThis key isn't allowed to do this.
404not_foundNot found.
409invalid_stateThis action isn't possible in the current state.
409idempotency_in_progressThe same request is still in progress; retry shortly.
409result_not_readyThe result isn't ready yet.
422idempotency_conflictThis Idempotency-Key was used for a different request.
422unsupported_outputThis output format isn't available for this document.
422invalid_requestThe request is invalid; see details.
Last updated: 23 Nov 2026