Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add CAEPF mask and validation #54

Merged
merged 8 commits into from
Sep 6, 2022

Conversation

kramer2005
Copy link
Contributor

@kramer2005 kramer2005 commented Sep 6, 2022

Algumas empresas no Brasil utilizam o CAEPF ao invés do CNPJ. Apesar de serem poucas, elas existem.

Para referência de máscara, existe como base o Anexo II da Instrução Normativa RFB 1.828/2018.

Para a implementação, utilizei este link como referência.

Além disso, fiz algumas pequenas correções como renomear arquivo com nome escrito errado e substituir 'CPF' por 'CNPJ' no 'formatToCNPJ'.

@kramer2005 kramer2005 changed the title Feat/caepf Feat: add CAEPF mask and validation Sep 6, 2022
@VitorLuizC VitorLuizC merged commit 140e3f4 into VitorLuizC:master Sep 6, 2022
@VitorLuizC
Copy link
Owner

Publiquei as duas funções e as outras correções na versão 0.12.0.

Agradeço demais!

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.

None yet

2 participants