NAME
Regexp::Common::VATIN - Patterns for matching EU VAT Identification Numbers
SYNOPSIS
use Regexp::Common qw(VATIN);
"DE123456789" =~ $RE{VATIN}{DE}; # true
"DE123456789" =~ $RE{VATIN}{any}; # true
"LT123ABC" =~ $RE{VATIN}{LT}; # false
DESCRIPTION
This module provides regular expression patterns to match any of the sanctioned VATIN formats from the 26 nations levying a European Union value added tax.
SEE ALSO
- Regexp::Common
-
For documentation of the interface this set of regular expressions uses.
- Business::Tax::VAT::Validation
-
Checks the official EU database for registered VATINs.
AUTHOR
Richard Simões <rsimoes AT cpan DOT org>
COPYRIGHT AND LICENSE
Copyright © 2013 Richard Simões. This module is released under the terms of the MIT License and may be modified and/or redistributed under the same or any compatible license.