danfe, dacte, damdfe, danfse: cnpj alfanumerico#182
Merged
antoniospneto merged 5 commits intoJul 2, 2026
Conversation
7739f3f to
fd2c3b9
Compare
fd2c3b9 to
a0ec183
Compare
antoniospneto
approved these changes
Jul 2, 2026
antoniospneto
left a comment
Contributor
There was a problem hiding this comment.
@CristianoMafraJunior Obrigado!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objetivo da PR
A Receita Federal do Brasil publicou a Instrução Normativa 2229 de 15 de outubro de 2024 que modifica a regra de formação do CNPJ no Brasil.
Essa PR corrige a formatação do CNPJ para aceitar alfanumérico e adicionado um teste de caso
OBS: Todos os CNPJs foram usado de https://servicos.receitafederal.gov.br/servico/cnpj-alfa/simular
cc @antoniospneto @PedroJoMa @leogregianin