Exports
Download converted document
Download the processed document in the specified format. The document must have status completed. Rate limit: 30 requests per minute.
get/documents/{id}/export/{format}
Request
- Base URL: https://api.bankstatemently.com/v1
- URL: https://api.bankstatemently.com/v1/documents/{id}/export/{format}
- Auth: API key in header X-API-Key
Path parameters
idstring uuid required
The document UUID.
format'json' | 'csv' | 'xlsx' | 'qbo' | 'xero' required
Supported export formats.
The export format.
Query parameters
dataMode'original' | 'enhanced' | 'normalized'
The data mode to export. original returns raw extracted data; enhanced (default) includes AI-enriched fields; normalized applies standardized formatting.
dateFormat'DD/MM/YYYY' | 'MM/DD/YYYY' | 'YYYY/MM/DD'
Date format string for Xero CSV exports (e.g., DD/MM/YYYY). Only applicable when format is xero.
Response
The exported file. Content-Type varies by format.
object required
Structured JSON export of the document.
Changes
No recorded changes to this operation across all 1 revision of this API.