Checks a VAT number validity with the VIES service
To run this script the zeep module has to be installed:
pip install zeep
Provide a proper VAT number as a parameter of the script.
python vatcheck.py PL12345678
A proper VAT number consists of two-letter country code followed by the country-specific VAT number matching the following reqular expression:
[0-9A-Za-z\+\*\.]{2,12}