get_organization_financial_document
Retrieve a specific financial document for an organization by document ID, either as a downloadable PDF file or as parsed JSON content. Choose PDF for a saved file or JSON for direct data access.
Instructions
Get one financial document for an organization by document id. format='pdf' (default) requires Premium+ and saves the file to the downloads directory, returning its absolute path (pass return_base64=True to also receive the content inline). format='json' requires a Biznes plan and returns the parsed document content directly, at a higher per-request cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| format | No | Format of the returned document: 'pdf' (default, requires Premium+) returns the raw PDF file; 'json' (requires Biznes plan, higher per-request cost than PDF) returns the parsed document content directly. | |
| document_id | Yes | ||
| return_base64 | No | Whether to also return the PDF content inline (as a base64-encoded file content block) in addition to saving it to disk and returning the file path. Only applies when format='pdf' — ignored for format='json'. |