An invalid or inactive CNPJ (Cadastro Nacional da Pessoa Jurídica) breaks invoicing, payments, and vendor onboarding in Brazil. You verify any CNPJ free on the Receita Federal consultation portal in under a minute. The CNPJ is the tax ID for legal entities, issued by the Receita Federal do Brasil (RFB), the Brazilian Federal Revenue Service.
Verification tells you whether a counterparty can legally operate and invoice. It is standard due diligence before you onboard a vendor or pay an invoice. This guide covers how to verify a CNPJ, what its status means, how its check digits work, and the alphanumeric CNPJ change landing in 2026.
What Is a CNPJ in Brazil?
The CNPJ is Brazil’s tax identification number for legal entities, issued by the Receita Federal do Brasil (Brazilian Federal Revenue Service). The CPF (Cadastro de Pessoas Físicas) identifies individuals; the CNPJ identifies entities. Every company, branch, non-profit, and government body in Brazil carries one.
A CNPJ underpins most business activity in Brazil. It is used to:
- File federal, state, and municipal taxes.
- Issue electronic invoices (Nota Fiscal Eletrônica, or NF-e).
- Register for state VAT (ICMS) and municipal service tax (ISS).
- Open business bank accounts.
- Sign contracts and enter public procurement.
- Run import and export operations.
Brazil had roughly 25.2 million active CNPJs as of July 2026, according to the federal government’s Mapa de Empresas dashboard.
How Do You Verify a CNPJ on the Receita Federal Portal?
Verify a CNPJ free on the Receita Federal “Comprovante de Inscrição e de Situação Cadastral” page. Enter the 14-digit number, solve the CAPTCHA, and click Consultar. The certificate returns instantly. This is the official consultation endpoint, governed by Instrução Normativa RFB nº 2.119/2022, and it costs nothing.
Brazil offers two free official lookup paths, so match the tool to your need:
| Method | Best for | Source |
|---|---|---|
| Receita Federal consultation portal | Checking status and registration data of an existing CNPJ | Receita Federal (IN RFB nº 2.119/2022) |
| Redesim / gov.br empresas e negócios | Registration and legalization workflows across agencies | gov.br empresas e negócios |
Follow these steps on the portal:
- Go to the Receita Federal CNPJ consultation page.
- Enter the 14-digit CNPJ (illustrative example: 11.222.333/0001-81).
- Complete the CAPTCHA to confirm you are not a robot.
- Click Consultar.
- Review the certificate the system displays.

The certificate returns the legal name (razão social), trade name (nome fantasia), registration status (situação cadastral), opening date, primary and secondary activity codes (CNAE), legal nature (natureza jurídica), address, share capital, and the status date.
How Do You Look Up a CNPJ on Redesim?
Redesim (Rede Nacional para a Simplificação do Registro e da Legalização de Empresas e Negócios) is the integrated gov.br network for business registration and legalization across federal, state, and municipal agencies. Use it inside a registration or onboarding workflow. For a pure status check on an existing number, the Receita Federal consultation portal is the direct endpoint.
Reach Redesim through the gov.br empresas e negócios portal. Redesim is the registration gateway; Receita Federal’s consultation service is the verification endpoint. Both are free and government-run.
What Does Each CNPJ Status Mean?
The situação cadastral field tells you whether an entity can legally operate and invoice. Only an Ativa status confirms a counterparty is in good standing. Any other status is a signal to pause and request current documentation before you transact, because it can put your invoices and tax credits at risk.
| Status (Portuguese) | Meaning | What it means for a counterparty | Source |
|---|---|---|---|
| Ativa | Active and regularly registered | Safe to transact | Receita Federal |
| Suspensa | Temporarily suspended, pending regularization | Ask for an updated comprovante before transacting | Receita Federal |
| Inapta | Non-compliant, failed required declarations | Invoices unreliable until the entity regularizes | Receita Federal |
| Baixada | Formally closed and deregistered | Do not transact as if active | Receita Federal |
| Nula | Registration annulled, e.g. fraud or duplication | Treat as invalid | Receita Federal |
What Is the CNPJ Format?
A CNPJ is 14 positions, written as XX.XXX.XXX/XXXX-XX, and today every position is a numeral. The number splits into three segments: an 8-position root shared by all branches, a 4-position establishment order, and 2 numeric check digits. This structure is fixed by Receita Federal regulation and stays the same under the 2026 alphanumeric change.
| Segment | Positions | Meaning | Source |
|---|---|---|---|
| Root (raiz) | First 8 | Identifies the legal entity; shared by all branches | Receita Federal (Anexo XV, IN RFB nº 2.119/2022) |
| Order (ordem) | Next 4 | Establishment code; 0001 = headquarters (matriz), 0002+ = branches (filiais) | Receita Federal |
| Check digits (DV) | Last 2 | Numeric modulus-11 check digits confirming structure | Receita Federal |
A checksum-valid, fictional example is 11.222.333/0001-81, or 11222333000181 unformatted. It is illustrative only and does not identify a real company.
What Are Common CNPJ Typos and Lookup Errors?
Most failed lookups come from data-entry errors, not registry problems. A missing digit, a transposed pair, or the wrong branch code produces a rejection even when the company is registered and active. Local checksum validation catches most of these instantly, before you ever hit the portal.
| Symptom | Likely cause | Fix |
|---|---|---|
| “CNPJ inválido” on entry | Failed checksum or wrong digit count (e.g. 13 digits) | Recount to 14 digits; validate the checksum locally first |
| Wrong establishment | Used matriz 0001 when the invoice came from filial 0002 | Match the branch code to the source document |
| Number valid but “não existe” | Typo that still passes length but is not registered | Reconfirm the number against the source document |
| System rejects the entry | Formatting mismatch, e.g. raw 11222333000181 vs formatted | Enter the format the field expects |
| CNPJ confused with CPF | Entered an 11-digit CPF into a CNPJ field | Confirm you have the 14-digit entity number |
How Is the CNPJ Check Digit Calculated?
The last two digits are modulus-11 check digits computed from the first 12, using fixed weights. A passing checksum proves the number is well-formed; it does not prove the entity is registered or active. First digit weights run 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2; the second digit adds a leading 6 to give 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2. If the remainder after dividing by 11 is 0 or 1, the check digit is 0; otherwise it is 11 minus the remainder.
Worked example for the root 11.222.333/0001, computed programmatically per the Receita Federal rule:
| Digit | Input | Weights (left to right) | Weighted sum | Remainder ÷ 11 | Check digit |
|---|---|---|---|---|---|
| DV1 | 112223330001 | 5,4,3,2,9,8,7,6,5,4,3,2 | 102 | 3 | 8 |
| DV2 | 1122233300018 | 6,5,4,3,2,9,8,7,6,5,4,3,2 | 120 | 10 | 1 |
The result is 11.222.333/0001-81. Receita Federal’s official technical manual for this calculation was first published November 5, 2024 and last updated July 11, 2025.
What Changes With the Alphanumeric CNPJ in 2026?
Brazil begins issuing alphanumeric CNPJs on July 31, 2026, per Receita Federal’s implementation announcement. The change applies to new registrations only. Every existing numeric CNPJ stays valid and unchanged, and numeric and alphanumeric numbers coexist as fully valid formats.
The legal basis is Instrução Normativa RFB nº 2.229/2024, issued October 15, 2024 and published in the Diário Oficial da União on October 16, 2024, amending IN RFB nº 2.119/2022. Receita Federal states the reason is capacity: about 69 million of the 99,999,999 possible numeric combinations are already used, so the numeric range is running out.
Key points for finance and engineering teams:
- The first 12 positions (8-position root plus 4-position order) become alphanumeric, using digits 0–9 and uppercase letters A–Z, per Receita Federal.
- The last 2 positions stay numeric check digits, calculated with the same modulus-11 algorithm.
- The check-digit math converts each character to its ASCII value minus 48 before weighting, so A becomes 17 and Z becomes 42, per the Serpro calculation manual.
- Receita Federal’s worked example yields 12.ABC.345/01DE-35 (first check digit 3, second check digit 5).
Any digits-only regex or ERP validation rule that assumes a numeric CNPJ will reject valid alphanumeric numbers after July 2026. Update validation logic before the rollout.
Who Needs a CNPJ in Brazil?
Every legal entity operating in Brazil needs a CNPJ, including companies, branches, non-profits, government bodies, and MEI individual microentrepreneurs. Foreign companies that hold assets, sell into Brazil, or invest there may also need to register. The CNPJ is the identifier that links a business to taxes, invoices, bank accounts, and procurement.
Foreign companies weighing Brazilian operations should start with Commenda’s VAT registration guide for foreign companies in Brazil, which walks through when registration is required and how the CNPJ fits the wider compliance chain.
Why Should You Verify a CNPJ Before Doing Business?
Verification protects you from fraud, rejected NF-e invoices, and disallowed tax credits, and it is standard counterparty due diligence in Brazil. Transacting with a supplier whose CNPJ is Inapta or Baixada can invalidate invoices and block input tax credits such as ICMS, PIS, and COFINS. It can also expose you in an audit and cut off procurement access.
The payoff is concrete. Brazil’s tax system runs on electronic invoices, so a counterparty’s status directly affects whether your invoices and credits hold. Matching the legal name to the number and confirming an Ativa status catches shell companies and borrowed CNPJs before money moves.
How Commenda Helps With CNPJ Verification
Commenda’s global indirect tax platform turns Brazil tax ID verification into a standing control rather than a one-off portal check. Commenda verifies tax IDs against official registries and runs your Brazilian counterparty checks alongside VAT, GST, and sales tax compliance in 70+ countries, so status problems surface before they reject an invoice.
Verification connects into your stack through 100+ ERP, API, and custom integrations, and the Global Tax ID Verification tool checks numbers against official registries. For foreign teams entering the market, the Brazil VAT registration guide for foreign companies shows where the CNPJ fits the full compliance chain.
Book a demo to see your Brazilian counterparty checks run automatically.








