thai_calculate_vat
Calculate 7% Thai VAT by adding or extracting from an amount, with optional withholding tax computation.
Instructions
Add or extract 7% Thai VAT, and optionally compute withholding tax.
Returns: JSON string with {"base", "vat", "total"} and, if requested, a "withholding" object {"wht_rate_percent", "wht", "net_payment"}.
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": {
"params": "<params>"
},
"name": "thai_calculate_vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |