https://addons.prestashop.com/en/accounting-invoicing/27158-european-vat-number.html
This module allows VAT numbers to be checked when a customer records or modifies his address, but also the numbers already existing in the database (essential if you already have clients or if you import clients/addresses into the database)
The checked points are:
- Absence of characters other than letters and numbers
- The iso code corresponds to the country of the address
- All letters are in uppercase
- Structure of the VAT number
- Validity of the VAT number thanks to VIES
Verification of numbers is done on VIES, this can be long, so to improve performance, the module memorizes the validity of VAT numbers. Thus a number that has been tested and validated on VIES will no longer be retested on VIES. This functionality is required if you start the "Check VAT numbers" option in the module configuration. The check can also be done as a CRON task.