Download Export
Download Excel exports of processed documents.
Download Excel exports of processed documents. Two export modes are available: org-configured exports (all document types) and schema-based exports (audited_financial_statement, credit report, SLIK, and other schema-based types).
| Endpoint | Use case |
|---|---|
/api/v1/documents/{id}/custom-export | Org-configured Excel format (requires a custom export schema on your organization) |
/api/v1/documents/{id}/export | Schema-based multi-sheet Excel (audited_financial_statement, credit report, SLIK, etc.) |
GET
/api/v1/documents/{id}/exportDownload a multi-sheet Excel workbook built from the document's type-specific schema. For audited_financial_statement, the export is a 17-sheet workbook (company info, statements, notes, ratios, risk flags, and more; see the schema reference).
Python
# Org-configured export
client.custom_export(result.document_id, "report.xlsx")
# Credit report multi-sheet export
client.custom_export(result.document_id, "credit.xlsx", export_type="credit_report")
# Schema-based export (audited_financial_statement 17-sheet workbook, credit report, SLIK, etc.)
client.custom_export(result.document_id, "financial_report.xlsx", export_type="schema")Error response (unsupported type)
{
"error": "INVALID_EXPORT_TYPE",
"message": "No export schema available for document type: government_id"
}Export errors
A document type with no export schema returns 400 INVALID_EXPORT_TYPE. A document that hasn't finished processing returns DOCUMENT_NOT_PROCESSED.


