VAT
vatValue-added tax (MwSt/USt, sales tax) on a price. By default adds the tax to a net price; with inclusive=true treats the amount as gross and extracts the tax. The rate is always an input (19 or 7 for Germany, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The price. | |
| ratePct | Yes | VAT rate in percent (e.g. 19 or 7). | |
| inclusive | No | false (default): amount is net, add the tax. true: amount is gross, extract the tax. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | No | Net price. | |
| tax | No | Tax amount. | |
| gross | No | Gross price. |