VAT statement
get_vat_statementThe VAT statement (the AFC declaration) for a date range: one row per numbered form line, each with the line's own figures. method says which form it is — 'effective' (the ordinary method, with an input-tax deduction) or 'net' (the net tax debt rate, TDFN / Saldosteuersatz, where a flat rate on turnover replaces the input tax and the input-tax lines do not exist at all). Use it to answer what is owed for a period, or which method the company is on. rate is a FRACTION (0.081 is 8.1%) and is the saldo rate on the net form's turnover lines. net / vat / gross are integers in CENTS of the home currency — divide by 100. A null figure means the line has none, which is not the same as zero. The headline lines are 299 (total taxable turnover), 399 (total tax due), 479 (total input tax, effective only) and 500 / 510 (payable, or credit in the company's favour). Refused when the range is not covered by a VAT period, or crosses a change of method — each method has its own form, so ask for one period per method.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"date_from": "<date_from>",
"date_to": "<date_to>",
"company_id": "<company_id>"
},
"name": "get_vat_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | End of the period, YYYY-MM-DD, inclusive. | |
| date_from | Yes | Start of the period, YYYY-MM-DD, inclusive. | |
| company_id | Yes | The company to work on — one of list_my_companies' company_id values. |