Skip to main content

Python module to validate VAT numbers

Project description

Python module to validate VAT numbers.

Nutshell

Here a simple example to validate VAT numbers format:

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

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

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

For more information please visit the vatnumber website.

Project details


Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page