vatnode/eu-vat-rates-data

EU VAT rates for all 27 member states + UK. Updated daily from EC TEDB, published automatically when rates change.

Fund package maintenance!
rogulia

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/vatnode/eu-vat-rates-data

v2026.2.25 2026-02-25 17:34 UTC

This package is auto-updated.

Last update: 2026-02-26 18:40:58 UTC


README

Packagist Version PHP Version Last updated License: MIT

EU VAT rates for all 27 EU member states plus the United Kingdom, sourced from the European Commission TEDB. Checked daily, published automatically when rates change.

  • Standard, reduced, super-reduced, and parking rates
  • No dependencies — pure PHP 8.1+
  • Data bundled in the package — works offline, no network calls
  • Checked daily via GitHub Actions, new version published only when rates change

Also available in: JavaScript/TypeScript (npm) · Python (PyPI) · Go · Ruby (RubyGems)

Installation

composer require vatnode/eu-vat-rates-data

Usage

use VATNode\EuVatRates\EuVatRates;

// Full rate array for a country
$fi = EuVatRates::getRate('FI');
// [
//   'country'       => 'Finland',
//   'currency'      => 'EUR',
//   'standard'      => 25.5,
//   'reduced'       => [10.0, 13.5],
//   'super_reduced' => null,
//   'parking'       => null,
// ]

// Just the standard rate
EuVatRates::getStandardRate('DE');  // → 19.0

// Type guard
if (EuVatRates::isEuMember($userInput)) {
    $rate = EuVatRates::getRate($userInput);  // always non-null here
}

// All 28 countries at once
foreach (EuVatRates::getAllRates() as $code => $rate) {
    echo "{$code}: {$rate['standard']}%\n";
}

// When were these rates last fetched?
echo EuVatRates::dataVersion();  // e.g. "2026-02-25"

Data source & update frequency

Rates are fetched from the European Commission Taxes in Europe Database (TEDB):

Covered countries

EU-27 member states + United Kingdom (28 countries total):

AT BE BG CY CZ DE DK EE ES FI FR GB GR HR HU IE IT LT LU LV MT NL PL PT RO SE SI SK

Need to validate VAT numbers?

This package provides VAT rates only. If you also need to validate EU VAT numbers against the official VIES database — confirming a business is VAT-registered — check out vatnode.dev, a simple REST API with a free tier.

curl https://api.vatnode.dev/v1/vat/FI17156132 \
  -H "Authorization: Bearer vat_live_..."
# → { "valid": true, "companyName": "Suomen Pehmeä Ikkuna Oy" }

License

MIT

If you find this useful, a ⭐ on GitHub is appreciated.