Declare the amount basis
Tell the API whether the amount already includes VAT; this determines whether VAT is added or extracted.
Alpha testing: all current functionality is free while VAT Engine is in active development
Calculate gross, net, and VAT
Send an amount, country, tax class, supply date, and price-inclusion context to receive a calculation built for repeatable system integration.
Keep checkout and reporting arithmetic consistent while retaining the inputs needed to understand a result later.
Tell the API whether the amount already includes VAT; this determines whether VAT is added or extracted.
Use integer cents or the currency’s minor unit in system integrations to avoid binary floating-point rounding drift.
A correct gross/net calculation still depends on a reviewed country, rate, product classification, and date.
Suppose a reviewed transaction uses a 19% rate and the customer pays €119.00 including VAT. The arithmetic gives €100.00 net and €19.00 VAT.
POST /v1/vat/calculate
{
"country": "DE",
"currency": "EUR",
"tax_class_id": "standard",
"gross_amount_minor": 11900,
"price_includes_vat": true,
"transaction_date": "2026-01-28"
}This is an illustrative arithmetic example, not a determination that Germany’s standard rate applies to your supply. The API requires an authenticated full or calculate-only key; keep it on your server.
Check authentication, rounding, and response fields