VAT Calculator
vatAdd or remove VAT at any rate — including the divide-not-subtract trap. Adds VAT to a net price or extracts it from a gross price at any rate. The extraction direction is where invoices go wrong: removing 20% VAT means dividing by 1.2, not subtracting 20%.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Direction | add |
| rate | No | VAT rate (%) UK 20 · DE 19 · FR 20 · ES 21 · IT 22 · NL 21 · SE 25 · CH 8.1 · AE/SA 5/15 | |
| amount | No | Amount |