# Data sources: Receita Federal and public registries

> Where CNPJá data comes from: Receita Federal, Simples Nacional, CCC, SUFRAMA, Correios and Google Maps, what is inferred and how to correct data at its source.

CNPJá data comes from public registries: the [Receita Federal](https://cnpja.com/en-us/docs/glossary#receita-federal), the Simples Nacional, the CCC, SUFRAMA and Correios, plus Google Maps for the location of addresses. CNPJá reproduces what each source records, with the date it was read, and what CNPJá itself calculates or infers is listed in [What CNPJá calculates or infers](#inferred).

## Where each item comes from

| Data | Source | How it reaches CNPJá |
| --- | --- | --- |
| Establishment registration: registration status, address, activities and contacts | Receita Federal | [CNPJ open data](https://cnpja.com/en-us/docs/glossary#dados-abertos-do-cnpj--cnpj-open-data), with each release, and live queries at the CNPJ registry |
| Company data and the board of partners and administrators | Receita Federal | CNPJ open data and live queries at the CNPJ registry |
| Simples Nacional and SIMEI opt-in | Simples Nacional | CNPJ open data and live queries |
| IBS and CBS regular regime option | Simples Nacional | Live queries only |
| Declared regime: actual, presumed or arbitrated profit | ECF | With each ECF release, with no live query |
| State registrations of CNPJs and CPFs | CCC | Live queries only |
| SUFRAMA registrations of CNPJs and CPFs | SUFRAMA | Live queries only |
| Certificates | Receita Federal, Simples Nacional, CCC or SUFRAMA, depending on the certificate | Live queries only |
| CEPs | Correios DNE | With each new DNE edition |
| Coordinates, precision, map and street view | Google Maps, from the address registered at the Receita Federal | Coordinates calculated once per address and again on live queries, and images generated on each request |

People listed as partners come from the Receita Federal's board of partners. Natural persons with a state or SUFRAMA registration, the [individuals](https://cnpja.com/en-us/docs/glossary#indivíduo--individual), also come from the CCC and SUFRAMA.

On the record page, each source appears with the date it was last read, except **Geolocation**, whose coordinates carry no date. What that date means, and when data is read at the source again, is in [Data freshness](https://cnpja.com/en-us/docs/data/freshness).

## Receita Federal

The Receita Federal keeps the National Registry of Legal Entities and reaches CNPJá in two ways:

- *CNPJ open data:* the copy of the registry that the Receita Federal [releases periodically](https://dados.gov.br/dados/conjuntos-dados/cadastro-nacional-da-pessoa-juridica---cnpj), with the CNPJs of every registration status. Each release updates CNPJá's [cache](https://cnpja.com/en-us/docs/data/freshness#cached).
- *CNPJ registry:* the [Receita Federal registry](https://solucoes.receita.fazenda.gov.br/Servicos/cnpjreva/) queried live, when a CNPJ needs a newer reading than the latest release or is not in it yet.

The Receita Federal provides each establishment's registration, the company data, such as legal name, legal nature, size and share capital, and the board of partners and administrators. What each one means is in [Companies and establishments](https://cnpja.com/en-us/docs/data/company-and-establishment), [Registration status](https://cnpja.com/en-us/docs/data/registration-status), [Company profile](https://cnpja.com/en-us/docs/data/company-profile) and [Partners and administrators board](https://cnpja.com/en-us/docs/data/partners-and-qsa).

Receita Federal CPF data, such as a CPF's name and status, is not part of CNPJá.

## Simples Nacional and ECF

The tax regime combines two sources:

- *Simples Nacional:* the [opt-in lookup](https://consopt.www8.receita.fazenda.gov.br/consultaoptantes) reports the Simples Nacional and SIMEI opt-in, with dates, and the IBS and CBS regular regime option. The Simples Nacional and SIMEI opt-in also comes in the CNPJ open data; the IBS and CBS option comes only live.
- *ECF:* in the [Escrituração Contábil Fiscal](https://www.gov.br/receitafederal/pt-br/assuntos/orientacao-tributaria/declaracoes-e-demonstrativos/ecf), the yearly return of companies outside the Simples Nacional, the company states whether it is taxed on actual, presumed or arbitrated profit. CNPJá uses the latest ECF released by the Receita Federal, which has no live query and is not always the current year's.

When neither one reports the regime, CNPJá estimates it. How the regime is determined, and when it is an estimate, is in [Tax regime](https://cnpja.com/en-us/docs/data/tax-regime).

## CCC

The [Cadastro Centralizado de Contribuintes](https://dfe-portal.svrs.rs.gov.br/Nfe/Ccc) (CCC) gathers the state registrations kept by each state's Finance Department. It is CNPJá's only source of state registrations, queried live only and state by state: a CNPJ's or CPF's registrations exist on CNPJá only after the first query to the CCC.

What each registration reports, and how each state is refreshed, is in [State registration and CCC](https://cnpja.com/en-us/docs/data/state-registrations).

## SUFRAMA

The [SUFRAMA registry](https://www4.suframa.gov.br/cadsuf/#/menu-externo) holds the registrations of companies and natural persons that operate under the incentives of the Manaus Free Trade Zone, Western Amazon and the free trade areas. Like the CCC, it is queried live only.

The registration and the incentives are covered in [SUFRAMA and Free Trade Zone incentives](https://cnpja.com/en-us/docs/data/suframa).

## Correios

The Correios [National Address Directory](https://buscacepinter.correios.com.br/app/endereco/index.php) (DNE) is the source of CEPs, with each one's street, neighborhood, municipality and type. CNPJá updates CEPs with each new DNE edition, with no live query.

An establishment's CEP does not come from the DNE but from its registration at the Receita Federal, as explained in [Correios CEP and Receita CEP](https://cnpja.com/en-us/docs/data/postal-codes#divergence).

## Google Maps

[Google Maps](https://www.google.com/maps), a third-party service, calculates the coordinates, with their precision, and generates the map and street view images from the address the CNPJ has at the Receita Federal. It is not a registry: the location is Google Maps' reading of the address, and its precision depends on how the address was registered.

On a CNPJ's record, the coordinates and the precision appear with the **Geolocation** source, which shows **Updated** or **Never queried** instead of an age, as explained in [Source and age of each item](https://cnpja.com/en-us/docs/companies/record#sources).

The calculation rules and the image usage rules are in [Address coordinates and imagery](https://cnpja.com/en-us/docs/data/location).

## What CNPJá calculates or infers

Some data does not come ready from the source: CNPJá calculates it from what the source records. These are standardizations, inferences or estimates, and they can be wrong.

| Data | How it is obtained | Where it is explained |
| --- | --- | --- |
| Standardized phones and e-mails | Converted to a single format, with invalid and repeated entries dropped | [Company phones and e-mails](https://cnpja.com/en-us/docs/data/contacts) |
| Phone type: mobile or landline | Inferred from the number | [Types calculated by CNPJá](https://cnpja.com/en-us/docs/data/contacts#inferred-types) |
| E-mail type: corporate, consumer, accounting, government or academic | Inferred from the address and the domain | [Types calculated by CNPJá](https://cnpja.com/en-us/docs/data/contacts#inferred-types) |
| Estimated regime | Calculated when neither the Simples Nacional nor the ECF reports the regime | [Estimated regime](https://cnpja.com/en-us/docs/data/tax-regime#estimated) |
| Coordinates and precision | Calculated by Google Maps from the registered address | [Precision](https://cnpja.com/en-us/docs/data/location#precision) |

The estimated regime carries no mark of its own, on screen or in the API. So treat the regime of a newly opened company, or of one with no yearly return, as an estimate, as recommended in [Tax regime](https://cnpja.com/en-us/docs/data/tax-regime#estimated).

## What does not come from an official source

- *Lists and views:* they belong to your organization. A list is a set of CNPJs you put together, and a view is a saved search; neither reflects a public registry. See [Create and manage lists](https://cnpja.com/en-us/docs/lists/create) and [Views](https://cnpja.com/en-us/docs/search/views).
- *Calculated or inferred data:* the items in the previous section, produced by CNPJá from the source.
- *Reproduced certificates:* when the source does not offer the certificate as a PDF download, CNPJá generates a reproduction with the information obtained from the source, which is neither a document issued by the source nor carries public faith. When the source offers the download, the certificate is its original PDF, which is worth only what the source itself attributes to it. See [What a certificate is](https://cnpja.com/en-us/docs/data/certificates#what-it-is).

## When sources disagree

Each source keeps its own registry, with its own rules and dates, and the same item can look different in two of them:

- *Address and contacts:* the address and contacts of a state registration, in the CCC, or of a SUFRAMA registration can differ from those the CNPJ has at the Receita Federal.
- *CEP:* the CEP in the Receita Federal registration may not be the one the Correios DNE assigns to the street, as explained in [Correios CEP and Receita CEP](https://cnpja.com/en-us/docs/data/postal-codes#divergence).
- *Status:* a CNPJ that is active at the Receita Federal can have a state registration that is not enabled, or a cancelled SUFRAMA registration. See [Active is not enough](https://cnpja.com/en-us/docs/data/registration-status#active-is-not-enough).
- *Reading dates:* two parts read on different dates can disagree simply because one of them is older. Compare the date of each.

CNPJá shows each item as its source records it, with the source and the reading date, and neither chooses between sources nor corrects one with another. When the difference matters for a decision, check the item at the source responsible for it.

## How to correct data at the source

CNPJá does not correct a source's registry: wrong data can only be corrected at the source that records it, and the correction reaches CNPJá with that source's next update.

| Data | Where it is corrected |
| --- | --- |
| CNPJ registration: legal name, address, activities, contacts and board of partners | At the Receita Federal, through a change to the CNPJ registration, which the company usually files with its accountant |
| Simples Nacional and SIMEI opt-in | On the [Simples Nacional portal](https://www8.receita.fazenda.gov.br/SimplesNacional/) |
| Declared regime | In the ECF, by amending the return |
| State registration | At the Finance Department of the registration's state |
| SUFRAMA registration | At SUFRAMA |
| CEP and street | At Correios |

Once corrected at the source, the new data appears on CNPJá as follows:

- *Receita Federal:* with the next open data release or the next live query of the CNPJ. An organization member can run that query right away, as explained in [Refresh data live](https://cnpja.com/en-us/docs/companies/live-refresh).
- *CCC and SUFRAMA:* with the next live query to the source.
- *ECF:* with the next ECF release.
- *Correios:* with the next DNE edition.
- *Coordinates:* recalculated when the CNPJ's new address reaches CNPJá.

When the wrong data is personal, such as a partner's name or a sole proprietor's contact, the data subject's rights, including correction and removal, are in the [Privacy Policy](https://cnpja.com/en-us/legal/privacy#rights). The removal request on CNPJá is described in [Remove personal data from CNPJá](https://cnpja.com/en-us/docs/privacy/data-removal).
