With this interface we allow you to validate VAT-IDs from intern and abroad countries. With the previous interface of the Federal Central Tax Office it was not possible to validate VAT-IDs from Germany. Additionally a request was only possible if you yourself had a valid German VAT-ID. To also allow international customers to validate the correctness of VAT-IDs we have created this new Plugin based on the European interface. Further information about this interface you can be found here: VIES VAT number validation
The Plugin "VAT-ID validation" can be installed like a normal plugin. After the installation of the plugin you should reload your backend once, so the plugin is shown in the menu structure, sometimes you might have to clear the cache and reload again.
After the successful installation you can start the configuration of the interface. For this you can either edit the plugin in the plugin manager or use the menu Additional settings > VAT Validation in the basic settings.
You can see and change all error messages occurring in the frontend in the snippet management. You find the snippets in the namespace /frontend/swag_vat_id_validation/
Possible error messages:
For this you have to mind that there are different ways of presentations in the frontend. On the one hand there is an error message that is validated right after the entry. This one is displayed next to the field on the right. On the other hand there is an error message atop of the area after you send the form.
For the extended validation you must have a German VAT-ID. This has to be entered in the plugin configuration first. After activating the extended check you can get many different error messages:
Possible error messages:
The extended validation is only available for customers with an international VAT-ID or EU-member-countries. A validation of national VAT-IDs is not possible.
If you activate the extended validation afterwards the validation is also done for existing customer accounts in the login process. If the previously entered address is wrong the customer gets one of the following messages:
The fitting snippets can be found in the namespace frontend/swag_vat_id_validation/main.
Error message in the account with invalid VAT-ID
Error message in the checkout with invalid VAT-ID
Currently a finish of the checkout is not possible with an invalid VAT-ID.
If the validation of a already entered VAT-ID is failing you get informed about the deletion of the ID via mail.
This mail can be changed in the backend. For this you find the template at Configuration > Email templates in the area "System emails" with the name "sSWAGVATIDVALIDATION_VALIDATIONERROR".