Business::BR::IE - Perl module to test for correct IE numbers


Business-BR-Ids documentation  | view source Contained in the Business-BR-Ids distribution.

Index


NAME

Top

Business::BR::IE - Perl module to test for correct IE numbers

SYNOPSIS

Top

  use Business::BR::IE qw(test_ie canon_ie format_ie random_ie); 

  test_ie('sp', '110.042.490.114') # 1
  test_ie('pr', '123.45678-50') # 1
  test_ie('ac', '01.004.823/001-12') # 1
  test_ie('al', '24.000.004-8') # 1
  test_ie('am', '04.117.161-6') # 1
  test_ie('ba', '123456-63') # 1
  test_ie('ma', '12.000.038-5') # 1
  test_ie('mg', '062.307.904/0081') #1
  test_ie('rr', '24.006.628-1') # 1
  test_ie('ap', '03.012.345-9') # 1

DESCRIPTION

Top

YET TO COME. Handles IE for the states of Acre (AC), Alagoas (AL), Amapá (AP), Amazonas (AM), Bahia (BA), Maranhão (MA), Minas Gerais (MG), Paraná (PR), Rondônia (RO), Roraima (RR) and Sao Paulo (SP) by now.

EXPORT

test_ie is exported by default. canon_ie, format_ie, random_ie and parse_ie can be exported on demand.

DETAILS

Top

Each state has its own rules for IE numbers. In this section, we gloss over each one of these

AC

The state of Acre uses:

AL

The state of Alagoas uses:

AM

The state of Amazonas uses:

BA

The state of Bahia uses:

MA

The state of Maranhão uses:

MG

The state of Minas Gerais uses:

PR

The state of Paraná uses:

RO

The state of Rondônia uses:

RR

The state of Roraima uses:

SP

The state of São Paulo uses:

BUGS

Top

SEE ALSO

Top

Please reports bugs via CPAN RT, http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-BR-Ids By doing so, the author will receive your reports and patches, as well as the problem and solutions will be documented.

AUTHOR

Top

A. R. Ferreira, <ferreira@cpan.org>

COPYRIGHT AND LICENSE

Top


Business-BR-Ids documentation  | view source Contained in the Business-BR-Ids distribution.