DEV Community

Vasyl Kyryliuk
Vasyl Kyryliuk

Posted on

Try a free EU VAT API in your next headless commerce project

I’m building VAT Engine, an API for developers working on headless commerce, SaaS billing, custom checkouts, and other products that need EU VAT calculations.

The current API supports:

  • EU VAT calculations
  • Current and historical VAT rates
  • Product tax classes
  • VAT-inclusive and VAT-exclusive prices
  • Source tagging for stores, storefronts, and sales channels

You can create a free account, generate an API key, and connect it to a real project or side project.

Example calculation

curl -X POST https://vat-engine.app/api/v1/vat/calculate \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "country": "DE",
    "currency": "EUR",
    "gross_amount_minor": 11900,
    "price_includes_vat": true,
    "tax_class_id": "standard",
    "transaction_date": "2026-01-28"
  }'
Enter fullscreen mode Exit fullscreen mode

Example response:

{
  "country": "DE",
  "currency": "EUR",
  "vat_rate_bps": 1900,
  "gross_amount_minor": 11900,
  "net_amount_minor": 10000,
  "vat_amount_minor": 1900
}
Enter fullscreen mode Exit fullscreen mode

Amounts are represented in minor currency units, while VAT rates use basis points to avoid floating-point ambiguity.

The API can be used in a headless checkout, SaaS billing flow, ecommerce integration, internal tool, or test project.

Free access is currently available here:

https://vat-engine.app/

Feedback about the API contract, documentation, onboarding, or missing developer functionality is welcome.

Top comments (0)