bokio_vat_summary
Calculates VAT and sales account totals for a date range, returning output VAT, input VAT, and net VAT payable.
Instructions
Sum the VAT accounts (2610-2659) and sales accounts (3000-3999) for a period, with outputVat (negated 2610-2639), inputVat (2640-2649) and netVat = output minus input, positive when VAT is to pay. These are account totals and do not map to tax-return boxes. Amounts in ledger sign: debit positive, credit negative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day, inclusive (YYYY-MM-DD). | |
| from | Yes | First day, inclusive (YYYY-MM-DD). | |
| companyId | No | Bokio company id. Defaults to BOKIO_COMPANY_ID if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| netVat | Yes | ||
| accounts | Yes | ||
| inputVat | Yes | ||
| outputVat | Yes |