RubyGems.org

Now you can validate VAT using the European service called VIES, to ensure it exists. Only require this gem and call validate_as_vat_number on your VAT field, in an Active Record object.

installgem install validates_as_vat_number -v 1.0.1
Authors

Alessandro Dal Grande, Marco Sanson

6,391 total downloads 1,210 for this version
Owners

310432e49bbba94f4b06f4c5d345fe9a

Gemfile
gem 'validates_as_vat_number', '~> 1.0.1'
Versions
  1. 1.0.4 March 8, 2010 (7 KB)
  2. 1.0.3 February 28, 2010 (7 KB)
  3. 1.0.2 February 18, 2010 (7.5 KB)
  4. 1.0.1 February 18, 2010 (7.5 KB)
  5. 1.0.0 January 6, 2010 (7.5 KB)
Development Dependencies
  1. rspec >= 1.2.9