Calculate VAT
abstractapi_calculate_vatWork out the VAT-compliant price for an amount in a country: the amounts without and with VAT, the VAT amount and the rate. Set is_vat_incl to true for the reverse calculation (the amount already contains VAT). VAT Validation API. Spends 1 credit of your VAT Validation plan per request (a failed request counts too); needs the VAT Validation API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The amount to calculate from. | |
| is_vat_incl | No | True if the amount already includes VAT (default false). | |
| country_code | Yes | Two-letter country code of the transaction, e.g. DE. | |
| vat_category | No | A reduced-rate category from abstractapi_list_vat_rates (default: the standard rate). |