bokio_download_sie
Download a fiscal year's raw SIE 4 export to a file, or retrieve the first 4,000 characters as text when no path is given. Use computed tools for balances, ledgers, VAT, and P&L.
Instructions
Download the raw SIE 4 export of one fiscal year to savePath, or return its first 4,000 characters as text when savePath is omitted. For balances, ledgers, VAT or profit and loss use the computed tools, which read this export themselves and do the arithmetic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savePath | No | File path inside BOKIO_DOWNLOAD_DIR, else the working directory; an existing file is never overwritten, so pick a new name. | |
| companyId | No | Bokio company id. Defaults to BOKIO_COMPANY_ID if omitted. | |
| fiscalYearId | Yes | Id from bokio_list_fiscal_years; an unknown id returns a not-found error. |