Calculate UAE VAT
calculate_vatUse this when the user asks to add UAE VAT to an amount, how much VAT is inside a VAT-inclusive price, or what the VAT is on a reverse-charge supply ("add VAT to 12,500", "how much VAT is in 1,050 AED"). Works out UAE VAT (5%) for one or more amounts. By default amounts are net and VAT is added. Set amounts_include_vat when the amounts already include VAT, to extract it. Set reverse_charge for a supply where the recipient accounts for the VAT (no VAT on the invoice; the result says how much VAT the recipient self-accounts). Each line can be standard (5%), zero, exempt or out_of_scope; lines are rounded to 2 decimals first and the totals are the sum of the lines. Do not use it for whether a supply is zero-rated or exempt (check_vat_on_supply) or for VAT figures from the user's own records (get_vat_summary).
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": "calculate_vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| amount | No | A single amount. Use lines instead for several amounts. | |
| reverse_charge | No | true for a reverse-charge supply. | |
| amounts_include_vat | No | true when the amounts already include VAT. |