--- title: "Brazil CNPJ (National Registry of Legal Entities)" slug: "brazil-cnpj-national-registry-of-legal-entities" tags: ["DLPNM 11.10.x", "DLPMac 11.10.x", "DLPE 11.10.x", "DLPD 11.10.x", "DLP 11.10.x", "DLPNP 11.11.x", "DLPNM 11.11.x", "DLPExtn 11.11.x", "DLP 11.11.x", "DLPE 11.11.x", "DLPNP 11.10.x", "Reference", "DLPE 11.14.x", "DLP 11.13.x"] updated: 2026-11-05T14:43:24Z published: 2026-11-05T14:43:24Z canonical: "docs.trellix.com/brazil-cnpj-national-registry-of-legal-entities" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Brazil CNPJ (National Registry of Legal Entities) Cadastro Nacional da Pessoa Jurídica (CNPJ) is the Federal Tax Identification Number. The Brazilian National Registry of Legal Entities is a registry of corporations, partnerships, foundations, investment funds, and other legal entities. ### Validator **Brazil CNPJ (National Registry of Legal Entities)** — Validates both the latest, alphanumeric format of the CNPJ and the available (legacy) CNPJ numeric combinations. ### Matched expressions | Regex expressions | Description | Score | | --- | --- | --- | | `\b[a-zA-Z0-9]{2}\.[a-zA-Z0-9]{3}\.[a-zA-Z0-9]{3}/[a-zA-Z0-9]{4}-[d]{2}\b` | Matches an alpha-numeric of of the format AA.AAA.AAA/AAAA-NN | 1 | | `\b[0-9]{2}\.[0-9]{3}\.[0-9]{3}/[0-9]{4}-[0-9]{2}\b` | Matches a number of the format NN.NNN.NNN or NNNN-NN. | 1 | ### Ignored expressions **None**