Closed poliquin closed 8 years ago
The smallest valid CNPJ is 191; zero is not a valid identifier, but cnpj.validate_cnpj returns True:
cnpj.validate_cnpj
True
>> from brazilnum import cnpj >> cnpj.validate_cnpj(0) True # this should be False
This issue might affect other identifiers as well. Is 0 a valid CEI? If not, then the smallest valid CEI is 16.
The smallest valid CNPJ is 191; zero is not a valid identifier, but
cnpj.validate_cnpj
returnsTrue
:This issue might affect other identifiers as well. Is 0 a valid CEI? If not, then the smallest valid CEI is 16.