[BR] Tax ID Validation
Validate Brazilian tax IDs against Receita Federal (RFB). Send locations: ["BR"] and pick the validation_type that fits what you need:
| Guide | validation_type | Tax ID | What you get |
|---|---|---|---|
| CNPJ Validation — BASIC | BASIC (the default) | CNPJ | Registration status, legal and trade name, legal form, opening and closing dates, address, email and phone. |
| CNPJ Validation — FULL | FULL | CNPJ | Everything in BASIC, plus the partners (QSA) and the tax regime (MEI or Simples Nacional). |
| Test CNPJs | CNPJ | Test data for the Testing Environment: one CNPJ per registration status. |
API reference: Create a Tax ID validation · Get a Tax ID validation · Tax ID validation: Brazil · Validation webhooksNew to tax ID validations? Start with the generic guide.
BASIC or FULL?
- BASIC when you need to know that the CNPJ exists and is active, or want the company's registration data. It's the default when you leave out
validation_type. - FULL when you also need who owns or runs the company (KYC, onboarding), or whether it's under MEI or Simples Nacional.
Both return succeeded for any CNPJ that RFB knows, active or not. Read the result in company_validation_result.registration_status.status, or in company.tax_registrations[].active.
What's the same for every BR validation
- Tax ID:
company.tax_registrationwithtype: "CNPJ",level: "country"andlocation: "BR". Dots, slash and dash are optional. Alphanumeric CNPJs (issued since July 2026) work as they are. - Existing companies: send
company_idinstead ofcompany. Withupdate_company: true, a successful validation saves RFB's data on the company. - Result: the
POSTanswers within_process. Read the result withGET /tax-id-validations/{id}or wait for the validation webhook. - Authority: every result comes with
authority: "RFB".
Updated about 21 hours ago
Did this page help you?
