Skip to main content

Python module to validate VAT numbers

Project description

Python module to validate VAT numbers.

Nutshell

This is a fork of vatnumber project https://pypi.org/project/vatnumber/

changed to work with python3 and setuptools > 58.0

Here a simple example to validate VAT numbers format:

>>> import vatnumber_xtra
>>> vatnumber_xtra.check_vat('BE0123456749')
True

Here a simple example to validate European VAT through VIES service:

>>> import vatnumber_xtra
>>> vatnumber_xtra.check_vies('BE0897290877')
True

For more information please visit the vatnumber website.

Project details


Download files

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

Source Distribution

vatnumber_xtra-1.4.1.tar.gz (19.4 kB view hashes)

Uploaded Source

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