calculate_vat
Calculate Portuguese VAT for a given amount, category, and region. Supports Mainland, Azores, and Madeira rates. Detects intra-community B2B reverse charge.
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": {
"amount": "<amount>"
},
"name": "calculate_vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Net amount (ex-VAT) to calculate VAT on | |
| is_b2b | No | Whether the transaction is business-to-business | |
| region | No | Portuguese tax region | mainland |
| category | No | Portuguese tax category code (e.g. office_supplies, food_restaurant) | |
| counterpart_country | No | ISO 3166-1 alpha-2 country code of the counterpart |