calculate_vat
Compute VAT for UAE (5%) or Saudi Arabia (15%) on any amount. Handles both ex-VAT and VAT-inclusive calculations.
Instructions
Calculate VAT for UAE (5%) or Saudi Arabia (15%). Works for both ex-VAT and VAT-inclusive amounts. Example queries: 'UAE VAT on AED 1000 product', 'what is the VAT-exclusive price of SAR 1150 including 15% VAT'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | 'ae' = UAE 5% VAT, 'sa' = Saudi Arabia 15% VAT. | |
| amount | Yes | Monetary amount in local currency (AED for UAE, SAR for KSA). | |
| is_inclusive | No | True if amount already includes VAT (to extract it). False if amount is ex-VAT. |