get_organization_krs_extract
Download a Polish company's KRS extract (odpis) PDF by ID. Choose between current and full extracts; the file is saved locally and its path returned, with optional base64.
Instructions
Download a KRS extract (odpis) PDF for an organization. 'current' requires Premium+, 'full' requires Biznes plan. Saves the PDF to the downloads directory and returns its absolute path; pass return_base64=True to also receive the file content inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| extract_type | No | Which KRS extract (odpis) to download: 'current' (aktualny, requires Premium+; returns 404 for deregistered organizations) or 'full' (pelny, requires Biznes plan; still available for deregistered organizations). The PDF reflects KRS state from within roughly the last 30 calendar days. | current |
| 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. |