/vatcheck

Primary LanguagePython

vatcheck

Checks a VAT number validity with the VIES service

Requirements

To run this script the zeep module has to be installed:

pip install zeep

Running

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}