[BR] CNPJ Validation — FULL

Same check as BASIC, plus the company's partners (quadro de sócios e administradores, QSA) as registered with Receita Federal (RFB). Use validation_type: "FULL" when you need to know who owns or runs the company, for example for KYC or onboarding.

  • succeeded means RFB returned the CNPJ. The company data is the same as BASIC, and participants lists the partners.
  • failed means the CNPJ is invalid or doesn't exist. errors tells you which.
📚

New to tax ID validations? Start with the generic guide. Testing? Use the test CNPJs.


Request

A company that isn't in Brinta yet

curl -X POST https://api.brinta.com/tax-id-validations/ \
  -H "Authorization: Bearer $BRINTA_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "locations": ["BR"],
    "validation_type": "FULL",
    "company": {
      "type": "business",
      "tax_registration": {
        "number": "34238864000168",
        "type": "CNPJ",
        "level": "country",
        "location": "BR"
      }
    }
  }'

A company already in Brinta

curl -X POST https://api.brinta.com/tax-id-validations/ \
  -H "Authorization: Bearer $BRINTA_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "locations": ["BR"],
    "validation_type": "FULL",
    "company_id": "2f0e5d75-959b-4791-a201-b88ada67b3f6",
    "update_company": true
  }'

With update_company: true, a successful validation saves RFB's data on the company, as in BASIC, and adds each partner as a participant of the company. Partners already saved are kept: Brinta adds new ones and doesn't delete any.

Required fields

Same as BASIC, with validation_type: "FULL":

FieldNotes
validation_type"FULL". If you leave it out, Brinta runs a BASIC validation, without partners.
company.tax_registrationnumber is the CNPJ, 14 characters. Dots, slash and dash are optional: 34.238.864/0001-68 and 34238864000168 are the same, and Brinta returns it without them. Letters in uppercase (alphanumeric CNPJs). Also send type: "CNPJ", level: "country" and location: "BR".
locations["BR"].

Result

The POST answers right away with the validation id and status in_process. Read the result with GET /tax-id-validations/{id}, or wait for the validation webhook.

Succeeded

{
  "id": "tiv2-121aa0ba-b06d-4c85-be45-0bde2abd502c",
  "status": "succeeded",
  "validation_type": "FULL",
  "periods": ["2026-11"],
  "data": [
    {
      "location": "BR",
      "status": "succeeded",
      "company": {
        "legal_name": "UHIEQKX WHNHIWD NH FIXKHUUWPHMVX NH NWNXU (UHIFIX)",
        "name": "UHIFIX UHNH",
        "legal_form": "2011 - Empresa Pública",
        "business_type": "business",
        "date_of_birth": "1967-06-30",
        "total_shares": 0,
        "email": "[email protected]",
        "phone": "+556122222222",
        "tax_registrations": [
          {
            "number": "34238864000168",
            "type": "CNPJ",
            "level": "country",
            "location": "BR",
            "authority": "RFB",
            "active": true
          }
        ],
        "address": {
          "address_line_1": "SETOR NH BIWMNH WIHW MXIVH, Q.601",
          "address_line_2": "LOTE V",
          "neighborhood": "ASA NORTE",
          "city": "BRASILIA",
          "state": "BR-DF",
          "postal_code": "70836900",
          "country": "BR"
        }
      },
      "participants": [
        {
          "name": "LUIZA ARAUJO DE OLIVEIRA",
          "type": "person",
          "country": "BR",
          "role": "Directors/Partners",
          "tax_registration": { "type": "CPF", "number": "07119488449" },
          "qualification": "49 - Sócio-Administrador",
          "start_date": "2014-01-01"
        },
        {
          "name": "JOANA ALVES MUNDIM PENA",
          "type": "person",
          "country": "BR",
          "role": "Directors/Partners",
          "tax_registration": { "type": "CPF", "number": "23982012600" },
          "qualification": "49 - Sócio-Administrador",
          "start_date": "2014-01-01"
        }
      ],
      "company_validation_result": {
        "registration_status": {
          "status": "active",
          "local_code": "2",
          "local_description": "Ativa",
          "date": "2019-06-19"
        },
        "share_capital_amount": 0,
        "authority": "RFB"
      },
      "registry_lists": []
    }
  ]
}

company and company_validation_result are the same as in BASIC, plus the tax regime in tax_registrations[].status. See what each field means and the registration status table.

Tax regime

FULL tells you whether the company opted into MEI or Simples Nacional, in company.tax_registrations[].status:

RFB (informações adicionais)tax_registrations[].status
Optante MEI: SIM"MEI"
Optante Simples: SIM (and not MEI)"Simples nacional"
NeitherNot sent

Example for a company under Simples Nacional:

"tax_registrations": [
  {
    "number": "34238864000168",
    "type": "CNPJ",
    "level": "country",
    "location": "BR",
    "authority": "RFB",
    "active": true,
    "status": "Simples nacional"
  }
]

When status isn't sent, the company is under Lucro Presumido or Lucro Real. RFB doesn't say which. With update_company: true, Brinta saves the status on the company's CNPJ.

Participants

participants is at the same level as company, one item per partner or administrator:

FieldSource (RFB)Notes
nameNome do sócio
typeTipo de sóciobusiness for a company partner, person for an individual. A foreign partner is business when its qualification is a foreign legal entity.
tax_registrationCNPJ / CPF do sócioCNPJ for a company partner, CPF for an individual. Foreign partners come without a tax registration.
countryPaísISO 3166-1 alpha-2.
role"Directors/Partners".
qualificationQualificação do sócio"{code} - {description}", for example "49 - Sócio-Administrador".
start_dateData de inclusãoWhen the partner joined the company, YYYY-MM-DD.
🔒

Partners' CPFs are personal data. RFB returns them in full. Store them only where you need them and don't write them to logs.

Individual entrepreneurs (natureza jurídica 2135 - Empresário (Individual)) have no partners: participants is empty.

Failed

Same errors as BASIC: Invalid CNPJ, CNPJ not found and Provider unavailable: {code}. See Failed.


Common mistakes

MistakeFix
Looking for participants inside companyIt's at the same level as company, in data[].
Using FULL when you only need the registration statusBASIC returns the same company data and is enough to check the status.
Using BASIC to know if the company is MEI or SimplesThe tax regime only comes with FULL.
Expecting update_company to replace the partnersIt adds new partners and keeps the ones already saved.

Did this page help you?