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"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |