Type
library
Provides free VAT fallback mechanism
library
MIT
None
None
None
None
None
Vatfallback module provides an extra API based validation and a fallback offline regex validation for the unstable VIES database used by Magento
Please find the Magento 1 version here.
1) A plugin wraps the existing Vat check in Magento Customer implementing various services as 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
[1.1.1] fixed a logic error in calling fallback services including a false positives fix for the unofficial VIES endpoint by Laura Folco
[1.1.0] add an API endpoint for company data
[1.0.0] ported version of the Magento 1 module
Warning: Since all of the free VIES API's are slow and somewhat unreliable the checkout steps could become slow while checking.