File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -907,12 +907,14 @@ function plPlCheck(tin) {
907907}
908908
909909/*
910- * pt-BR validation function
911- * (Cadastro de Pessoas Físicas (CPF, persons)
912- * Cadastro Nacional de Pessoas Jurídicas (CNPJ, entities)
913- * Both inputs will be validated.
914- * CNPJ supports both numeric (legacy) and alphanumeric format (starting July 2026).
915- */
910+ * pt-BR validation function
911+ * (Cadastro de Pessoas Físicas (CPF, persons)
912+ * Cadastro Nacional de Pessoas Jurídicas (CNPJ, entities)
913+ * Both inputs will be validated.
914+ * CPF accepts formatted (XXX.XXX.XXX-XX) and unformatted input;
915+ * formatting is stripped before validation.
916+ * CNPJ supports both numeric (legacy) and alphanumeric format (starting July 2026).
917+ */
916918
917919/**
918920 * Convert a CNPJ character to its numeric value for check digit calculation.
You can’t perform that action at this time.
0 commit comments