Introduction

VAT Engine docs for EU VAT calculation, rates, tax classes, transactions, source profiles, and OSS/IOSS compliance reporting APIs

What is VAT Engine?

VAT Engine is a production-ready API for calculating EU Value Added Tax. It serves real-time VAT rates sourced from the official EU TEDB (Taxes in Europe Database) and supports all 27 EU member states with 37 curated tax classes.

Key Features

  • EU-wide coverage — All 27 EU member states with standard and reduced VAT rates.
  • 37 tax classes — Standard, food, books, pharmaceuticals, accommodation, and more — derived from the official EU TEDB.
  • Accurate calculations — Integer arithmetic in minor currency units (cents) to avoid floating-point errors.
  • Historical rates — Query VAT rates for any past or present date.
  • Compliance tracking — Transaction audit history and exports, plus a separate committed supply-event compliance ledger for the OSS Overview, threshold alerts, Filing Prep, OSS/IOSS registration metadata, correction-aware Union OSS preview reports, locked return/export history, source/store tags, and multi-currency ECB-backed EUR normalization.
  • SME thresholds — EU Small Business Scheme exemption and cash-accounting thresholds for all 27 member states, including national-currency amounts for non-eurozone countries.
  • Modern Go backend — Runs on Fiber v3 with reverse-proxy-aware request handling, structured errors, and fully migrated middleware/test coverage.
  • Simple REST API — JSON request/response with straightforward authentication via API keys.
  • Self-service API keys — Generate, rotate, and revoke API keys from the dashboard.
  • Secure account dashboard — Manage profile details, account ID, subscription access, password changes, 2FA, and backup-code regeneration from self-service dashboard pages.

Quick Example

curl -X POST https://api.vat-engine.daily-automations.app/v1/vat/calculate \-H "X-API-Key: vat_production_your_key_here" \-H "Content-Type: application/json" \-d '{  "country": "DE",  "currency": "EUR",  "gross_amount_minor": 11900,  "price_includes_vat": true,  "tax_class_id": "standard"}'

Response:

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

Next Steps