European VAT Number Validation API

This service exists to help developers validate EU VAT numbers via a simple REST-based API. See the service details section for more information and disclaimers.

Examples:

  1. http://isvat.appspot.com/GB/802311782/
  2. (JQuery) $.getJSON('http://isvat.appspot.com/GB/802311782/?callback=?', function(data){alert(data)});

Usage:

  1. http://isvat.appspot.com/xx/nnn.../
  2. http://isvat.appspot.com/xx/nnn.../?callback=fn

Returns:

  1. JSON: true if the VAT number is valid, false if it is not.
  2. JSONP: fn(resultAsJson)

Errors:

Key:

xx
ISO 3166 Alpha-2 two-letter country code of a European Union country (e.g., UK for United Kingdom)
nnn...
VAT number to check without the ISO country code.

ISO 3166 EU Country Codes

european_union_countries = ['AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK']

For a full and up-to-date list of ISO 3166 Alpha-2 codes, see OpenCountryCodes.

Service details and disclaimers

This service gets its data from the VIES VAT number validation system provided by the European Commission. This site is in no way affiliated with or endorsed by the European Commission. See the VIES disclaimer and VIES FAQ for further information on the data source and its terms of usage from the European Commission.

Read the terms of service and our privacy policy.

This is an open initiative of the Singularity web conference. Written by Aral Balkan. Copyright © 2008, Yeah, Let's Do It! Limited.