The Home for
Magento Excellence

Explore. Discover. Elevate. #magento

162
Modules Tested
98
Ready for Magento 2.4
64
Need Your Help
Stale v2.1.1
Has Build Issues
May need fixes before use

Dutchento VAT Fallback

dutchento/m2-vatfallback

Port of the Magento 1 VAT fallback for Magento 2 - provides an extra API based validation and a fallback offline regex validation for the unstable VIES database

60,731
Downloads
Below average
37
GitHub Stars
Below average
1y ago
Last Release
1
Open Issues

Quality Score

1/5
Installs via Composer
DI compiles correctly
Templates compile
PHPStan

Recent Test History

Each release is tested against the latest Magento version at that time.

v2.1.1 on Magento 2.4.8-p3
Dec 15, 2025
v2.1.1 on Magento 2.4.8-p2
Aug 14, 2025
v2.1.1 on Magento 2.4.8
May 17, 2025
v2.1.1 on Magento 2.4.7-p4
Feb 15, 2025
v2.1.1 on Magento 2.4.7-p3
Oct 22, 2024
v2.1.0 on Magento 2.4.7-p3
Oct 14, 2024

+6 older tests

GitHub Repository
Source code & docs
Packagist
Version history
Issues & Support
Get help or report bugs

This module needs community help

Dependency injection compilation fails. Your contribution could help the entire Magento community!

Help Fix This

Share This Module's Status

Dutchento VAT Fallback Magento compatibility status badge

README

Loaded from GitHub

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.

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

  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

  5. Caching service for VAT request (be sure to enable the VAT cache under Cache Management)

Installation

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

Tested on

  • Magento 2.2
  • Magento 2.3
  • Magento 2.4

Changelog

See https://github.com/Dutchento/m2-vatfallback/releases

Requirements

  • PHP >= 7.0
  • GuzzleHTTP

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 M1 Version

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.

Back to All Modules