Skip to content

feat: add alphanumeric cnpj support#60

Open
fmartins-andre wants to merge 1 commit intoreactivando:mainfrom
fmartins-andre:feat-alphanumeric-cnpj-support
Open

feat: add alphanumeric cnpj support#60
fmartins-andre wants to merge 1 commit intoreactivando:mainfrom
fmartins-andre:feat-alphanumeric-cnpj-support

Conversation

@fmartins-andre
Copy link
Copy Markdown
Contributor

No description provided.

@fmartins-andre fmartins-andre force-pushed the feat-alphanumeric-cnpj-support branch from 8920757 to 2020d5e Compare April 29, 2026 14:25
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 91.34% (-0.04%) from 91.377% — fmartins-andre:feat-alphanumeric-cnpj-support into reactivando:main

@fmartins-andre
Copy link
Copy Markdown
Contributor Author

Alteração na validação para dar suporte ao CNPJ alfanumérico.

Seguindo o exemplo de código fornecido pela própria Receita Federal, refatorei o código local para replicar o código de referência.
Foram adicionados novos testes para validar os CNPJ alfanuméricos.

Refs: https://www.gov.br/receitafederal/pt-br/centrais-de-conteudo/publicacoes/documentos-tecnicos/cnpj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants