converters_vat_gst
VAT and GST calculator with a country rate table
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Invoice lines at different rates: returns a subtotal per rate (byRate) and a grand total. Use instead of amount. | |
| amount | No | The amount, in any currency. Send this, or vatAmount, or lines. | |
| country | No | Country name (for example Germany, United Kingdom, Australia, Singapore, UAE). Looks up the standard VAT/GST rate. Canada has one entry per province group, e.g. 'Canada - Ontario HST'. The error for an unknown name lists every supported entry. | |
| ratePct | No | VAT/GST rate in percent. Required unless country is sent. Takes priority over country. | |
| vatAmount | No | The VAT amount shown on a receipt: returns the net and gross it implies at the rate (needs a rate above 0). Use instead of amount. | |
| amountIncludesTax | No | true when amount already includes the tax (the tax is taken out of it). |