PHPackages                             dutchento/m2-vatfallback - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dutchento/m2-vatfallback

AbandonedArchivedMagento2-module[Utility &amp; Helpers](/categories/utility)

dutchento/m2-vatfallback
========================

Provides free VAT fallback mechanism

2.1.1(1y ago)3664.8k↓25.5%17[1 PRs](https://github.com/Dutchento/m2-vatfallback/pulls)MITPHP

Since Feb 10Pushed 1y ago4 watchersCompare

[ Source](https://github.com/Dutchento/m2-vatfallback)[ Packagist](https://packagist.org/packages/dutchento/m2-vatfallback)[ RSS](/packages/dutchento-m2-vatfallback/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (28)Used By (0)

Vatfallback for Magento 2
=========================

[](#vatfallback-for-magento-2)

Vatfallback module provides an API based validation and a fallback offline regex validation for the unstable VIES database used by Magento

Please find the [Magento 1 version here](https://github.com/sandermangel/rkvatfallback/).

Supported services
------------------

[](#supported-services)

- VIES check (this is the official endpoint but not the built-in Magento version)
- vatlayer.com check
- Regex fallback check for following countries; AT, BE, CZ, DE, CY, DK, EE, GR, ES, FI, FR, GB, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, SE, SI, SK
- Caching of previous results

Features
--------

[](#features)

1. A plugin that replaces the existing VAT check in Magento Customer implementing various services with means of fallback.
2. Use the console task: `./bin/magento vat:validate NL NL133001477B01`
3. Use the API endpoint to get company data by VAT number `http://domain.com/rest/V1/vat/companylookup/NL133001477B01`
4. Add a GraphQL endpoint by installing [elgentos/m2-vatfallback-graph-ql](https://github.com/elgentos/m2-vatfallback-graph-ql)
5. Caching service for VAT request (be sure to enable the VAT cache under Cache Management)

Installation
------------

[](#installation)

```
composer require dutchento/m2-vatfallback
bin/magento setup:upgrade
```

Tested on
---------

[](#tested-on)

- Magento 2.2
- Magento 2.3
- Magento 2.4

Changelog
---------

[](#changelog)

See

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0
- GuzzleHTTP

Disclaimer
----------

[](#disclaimer)

Warning: Since all of the free VIES API's are slow and somewhat unreliable the checkout steps could become slow while checking.

Authors
-------

[](#authors)

- Sander Mangel [Github](https://github.com/sandermangel) [Twitter](https://twitter.com/sandermangel)
- Jeroen Boersma [Github](https://github.com/jeroenboersma) [Twitter](https://twitter.com/srcoder)
- Timon de Groot [Github](https://github.com/tdgroot) [Twitter](https://twitter.com/TimonGreat)

### Authors M1 Version

[](#authors-m1-version)

- Sander Mangel [@sandermangel](https://twitter.com/sandermangel)
- Peter Jaap Blaakmeer [@peterjaap](https://twitter.com/peterjaap)
- Laura Folco [@lfolco](https://twitter.com/lfolco)

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~106 days

Recently: every ~145 days

Total

24

Last Release

580d ago

Major Versions

1.7.0 → 2.0.02023-03-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/88a6d8dc588e8f2a0948335563a754687f71304f0bd3b7f7049d4bcdc00a563c?d=identicon)[peterjaap](/maintainers/peterjaap)

![](https://www.gravatar.com/avatar/15358e14fea5f63df9f77198bb1e8d4271ad594e757d8dc38e9ae51feae975eb?d=identicon)[sandermangel](/maintainers/sandermangel)

---

Top Contributors

[![JeroenBoersma](https://avatars.githubusercontent.com/u/1163348?v=4)](https://github.com/JeroenBoersma "JeroenBoersma (32 commits)")[![sandermangel](https://avatars.githubusercontent.com/u/1067840?v=4)](https://github.com/sandermangel "sandermangel (11 commits)")[![peterjaap](https://avatars.githubusercontent.com/u/431360?v=4)](https://github.com/peterjaap "peterjaap (8 commits)")[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (7 commits)")[![JustinElst](https://avatars.githubusercontent.com/u/249633?v=4)](https://github.com/JustinElst "JustinElst (5 commits)")[![tdgroot](https://avatars.githubusercontent.com/u/1165302?v=4)](https://github.com/tdgroot "tdgroot (5 commits)")[![MrGekko](https://avatars.githubusercontent.com/u/138124922?v=4)](https://github.com/MrGekko "MrGekko (3 commits)")[![sanderjongsma](https://avatars.githubusercontent.com/u/2726055?v=4)](https://github.com/sanderjongsma "sanderjongsma (3 commits)")[![vombat3301](https://avatars.githubusercontent.com/u/47609274?v=4)](https://github.com/vombat3301 "vombat3301 (1 commits)")[![evs-xsarus](https://avatars.githubusercontent.com/u/44158071?v=4)](https://github.com/evs-xsarus "evs-xsarus (1 commits)")[![kimb0na](https://avatars.githubusercontent.com/u/170505996?v=4)](https://github.com/kimb0na "kimb0na (1 commits)")[![erwinromkes](https://avatars.githubusercontent.com/u/61180307?v=4)](https://github.com/erwinromkes "erwinromkes (1 commits)")

---

Tags

magentomagento2-modulephp7unstable-vies-databasevat-validation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dutchento-m2-vatfallback/health.svg)

```
[![Health](https://phpackages.com/badges/dutchento-m2-vatfallback/health.svg)](https://phpackages.com/packages/dutchento-m2-vatfallback)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
