Skip to content

Last updated July 16, 2026

CNPJ Verification: Verify Brazil CNPJ Tax Registration Number

Sam Suechting
Sam SuechtingHead of Product, Commenda

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:

MethodBest forSource
Receita Federal consultation portalChecking status and registration data of an existing CNPJReceita Federal (IN RFB nº 2.119/2022)
Redesim / gov.br empresas e negóciosRegistration and legalization workflows across agenciesgov.br empresas e negócios

Follow these steps on the portal:

  1. Go to the Receita Federal CNPJ consultation page.
  2. Enter the 14-digit CNPJ (illustrative example: 11.222.333/0001-81).
  3. Complete the CAPTCHA to confirm you are not a robot.
  4. Click Consultar.
  5. Review the certificate the system displays.
Step-by-Step Process to Verify a CNPJ on the Official Brazil Portal

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)MeaningWhat it means for a counterpartySource
AtivaActive and regularly registeredSafe to transactReceita Federal
SuspensaTemporarily suspended, pending regularizationAsk for an updated comprovante before transactingReceita Federal
InaptaNon-compliant, failed required declarationsInvoices unreliable until the entity regularizesReceita Federal
BaixadaFormally closed and deregisteredDo not transact as if activeReceita Federal
NulaRegistration annulled, e.g. fraud or duplicationTreat as invalidReceita 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.

SegmentPositionsMeaningSource
Root (raiz)First 8Identifies the legal entity; shared by all branchesReceita Federal (Anexo XV, IN RFB nº 2.119/2022)
Order (ordem)Next 4Establishment code; 0001 = headquarters (matriz), 0002+ = branches (filiais)Receita Federal
Check digits (DV)Last 2Numeric modulus-11 check digits confirming structureReceita 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.

SymptomLikely causeFix
“CNPJ inválido” on entryFailed checksum or wrong digit count (e.g. 13 digits)Recount to 14 digits; validate the checksum locally first
Wrong establishmentUsed matriz 0001 when the invoice came from filial 0002Match the branch code to the source document
Number valid but “não existe”Typo that still passes length but is not registeredReconfirm the number against the source document
System rejects the entryFormatting mismatch, e.g. raw 11222333000181 vs formattedEnter the format the field expects
CNPJ confused with CPFEntered an 11-digit CPF into a CNPJ fieldConfirm 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:

DigitInputWeights (left to right)Weighted sumRemainder ÷ 11Check digit
DV11122233300015,4,3,2,9,8,7,6,5,4,3,210238
DV211222333000186,5,4,3,2,9,8,7,6,5,4,3,2120101

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.

About the author

Sam Suechting

Sam Suechting

Head of Product, Commenda

Sam is a seasoned expert in sales tax, leading Commenda's effort to build the worlds most comprehensive database of global tax rules and business regulations. At Silverhaze Partners, he worked in early-stage venture capital, where he saw firsthand how tax complexity and regulatory friction hold back startups from scaling internationally. That experience now powers his work at Commenda-bringing clarity, precision, and real-world insight to one of the most frustrating parts of doing business globally.

Disclaimer: Commenda and its affiliates do not provide tax, accounting, or legal advice. This material has been prepared for informational purposes only, and is not intended to provide or be relied on for tax, accounting, or legal advice. You should consult your own tax, accounting, and legal advisors before engaging in any related activities or transactions.

Subscribe to our newsletter today

Tax rules change every month. Get the updates that matter for your cross-border business, straight to your inbox.

Frequently asked questions

Real questions from the finance and tax teams we work with.

From the field

Trusted by businesses across the globe

TRX
TRX
The platform works exactly the way I need it to. I have one team member who manages all of our exemption certificates, and that functionality has been particularly efficient for us. It allows him to handle everything seamlessly, making the handoff significantly easier.
Matt Preston, CPA

VP of Finance, TRX

Read the full story

Ready to get started?

Talk to our team about your tax and compliance setup. We reply within one business day.

Indirect Tax

Monitor nexus exposure, register, file, and remit sales tax and VAT in one platform. Commenda keeps you compliant across 100+ jurisdictions.

Explore the product