Companies and establishments: head office and branches
The difference between a company and an establishment in a CNPJ: root and full CNPJ, head office and branches, what belongs to each and how to see every branch.
Every CNPJ identifies an establishment: the head office or a branch of a company. The establishments of the same company share the CNPJ root and the company data, but each one has its own registration status, its own address and its own activities.
CNPJ root and full CNPJ
The full CNPJ has 14 characters, written with the mask XX., and splits into three parts:
| Part | Position | What it identifies |
|---|---|---|
| Root | First 8 characters | The company, the same in all of its establishments |
| Order | Next 4 characters | The establishment within the company, such as 0001 or 0002 |
| Check digits | Last 2 characters | No data: they check the 12 characters before them |
In the fictitious CNPJ EX., the root is EX., the order is 0001 and the check digits are 54. When the subject is the whole company, the CNPJ root appears on its own, with 8 characters. In an alphanumeric CNPJ, the root and the order may contain letters, and the check digits remain numeric.
Head office and branches
Each company has a head office and may have branches, each with its own CNPJ and the same root. The head office usually has the order 0001, and the branches follow the numbering (0002, 0003 and so on), but the number does not define the type: the Receita Federal registry says whether an establishment is a head office or a branch, and CNPJá shows the type registered there.
A branch is not a separate company. It has the same legal name, the same partners and the same tax regime as the head office, because that data belongs to the company. The address, the activities and the registration status are its own, though, so a branch can be closed while the head office is still active.
What belongs to the company and what to the establishment
The company data is the same in all of its establishments. The establishment data applies only to the CNPJ looked up.
| Data | Belongs to | Learn more |
|---|---|---|
| Legal name, legal nature, company size and share capital | Company | Company profile |
| Federative entity, for public bodies | Company | Company profile |
| Tax regime | Company | Tax regime |
| Partners and administrators | Company | Partners and administrators board |
| Type (head office or branch) and trade name | Establishment | Head office and branches |
| Registration status | Establishment | Registration status |
| Opening date and economic activities (CNAE) | Establishment | Company profile |
| Address | Establishment | CEPs, streets and IBGE codes |
| Phones and e-mails | Establishment | Phones and e-mails |
| State registrations | Establishment | State registration and CCC |
| SUFRAMA registration | Establishment | SUFRAMA |
| Address coordinates and imagery | Establishment | Coordinates and imagery |
In practice, to find out where a branch is, how to reach it or whether it is active, look up the branch’s own CNPJ: the head office’s address, contacts and status do not apply to it. The same goes for the state registration and the SUFRAMA registration, which belong to the establishment in the state or region you care about. For the legal name, the partners or the tax regime, any CNPJ of the company will do.
All branches of a company
The root brings together every establishment of the company. To see them side by side:
- Open the record page of any establishment of the company.
- Click the CNPJ root, the first 8 characters at the top of the page.
The search opens with the CNPJ root filter filled in and lists the head office and the branches, each with its own status, city and activities. The same filter sits in the Company group of the Filters menu and takes several roots at once.
Each search result is an establishment. That is why filters that describe the company, such as Size, Legal nature, Share capital and Tax regime, return every establishment of each company found. To get one row per company, add the Type filter with Head office, as in this head-office-only search. The other rules are in How company search matching works.
Where it appears in the app
In the CNPJ app, the company record shows one establishment at a time. At the top, the CNPJ is split into root, order and check digits, with a clickable root, and the type Head office or Branch appears right below the legal name, beside the registration status. The company data, such as the legal name, the tax regime and the partners board, is the same in all of its establishments. In Search CNPJs, the Type column shows whether each result is a head office or a branch.
In the API
Lookup CNPJ takes the full CNPJ and returns the establishment, with its type in type. (HEAD for a head office, BRANCH for a branch) and the company data in company. Lookup company takes the 8-character root and returns the company, with a summary of each establishment in establishments. The details are in CNPJ lookup in the API, and searching by root or for head offices only, in CNPJ search and lists in the API.