VAT report
banana_vat_reportRetrieve VAT reports for accounting documents, with period filters and selectable output format (JSON/HTML).
Instructions
Return the VAT report for a document. Defaults to JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Accounting document name as opened in Banana (e.g. "accounting.ac2"). Append "_p1", "_p2" for previous years. Defaults to BANANA_DEFAULT_DOC if set. | |
| view | No | XML name of the view to return. | |
| format | No | Response format. Defaults to "json" for machine-readable output. | |
| period | No | Period filter: an abbreviation like "Q1"/"3M"/"1Y" or a date range "2024-01-01/2024-03-31". | |
| columns | No | Comma-separated XML names of columns to return, e.g. "Account,Description,Balance". | |
| navigation | No | When true, include the HTML page navigation (only relevant for html format). |