VAT codes
list_vat_codesThe company's USABLE VAT codes: id, code (what a booking leg carries, e.g. 'V81'), name, rate as a FRACTION (0.081 is 8.1%), kind ('output' = VAT on sales, 'input' = deductible VAT on purchases), entered_net (true = a booking's amount is entered WITHOUT the VAT, which is added on top; false = the amount includes the VAT), vat_only, and the validity dates — codes repeat across rate changes, so pick the one valid on the booking date. Read it before putting a VAT code on a booking. A company not registered for VAT has none to use.
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": {
"company_id": "<company_id>"
},
"name": "list_vat_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | The company to work on — one of list_my_companies' company_id values. |