Skip to main content

A library for checking on European VAT formats

Project description

A library for checking on European VAT formats

Build Status

pyVat is a complete library that validates vat number formats in EU member countries. The algorithms used are described in /doc/VIES-VAT Validation Routines-v15.0.doc


Python >= 2.6


$ pip install vat-format-checker


from pyVat.api import Validator
validator = Validator('ATU10223006')
if validator.validate() is True:
    print ("The VAT number has a valid format")
    print ("Invalid VAT number format for country %s" % validator.country_code)


  • The Croatian format is missing the algorithm. The validations is done purely based on regular expressions.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vat-format-checker-0.0.4.tar.gz (8.8 kB view hashes)

Uploaded source

Built Distribution

vat_format_checker-0.0.4-py3-none-any.whl (40.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page