The right registration, in the right state, before the invoice.
The state registrations of a CNPJ at the CCC, state by state, in the app or through the API: number, type, status and interstate restrictions. In each state’s details, activity, address, sublimit and the tax documents the registration can issue.
- Source
- CCC, by state
- Freshness
- Live queries to the CCC only
- Access
- App with no account · API with a key; CPF through the API only
- Billing
- Summary in 1 query, detailed per state
- Registered
- Not registered
- Enabled
- Not enabled
- Restriction
- Sublimit exceeded
- Address state
- Documents from SP to MG are blocked
- 116482973115 EnabledState taxpayer Status date 04/09/2018 NF-e · NFC-e
- Activity start
- 04/09/2018
- Activity end
- Unavailable
- Primary activity
- 4639-7/01 Comércio atacadista de produtos alimentícios em geral
- IBGE code
- 3550308
- Address
- Rua Exemplo, 100Centro, São Paulo - SP, 01001-000
- 0024613870078 EnabledTax substitution Status date 08/16/2021 Blocked NF-e
- 9071538204 Not enabledState taxpayer Status date 11/25/2024
- 86145290 EnabledTax substitution Status date 03/02/2022 Sublimit exceeded NF-e
What you solve with State Registrations
Registrations in all 27 states and blocks before invoicing.
-
Check the recipient before the NF-e
Confirm the customer has an enabled registration with no restriction in the state, with a recent CCC reading, on the record or through the API.
-
Tell taxpayers from non-taxpayers
See each registration’s type on the record, such as state taxpayer, tax substitution or non-taxpayer, which weighs on the tax treatment of the sale.
-
Qualify suppliers
Export your supplier list with state registrations every now and then, and keep the State registrations certificate as a PDF, with what the CCC held on that date.
-
Map state presence
See on the record’s map in which states a CNPJ is registered. In an export or the API, the summary level with every state costs one query.
-
Check carriers and issuers
Check Enabled DFe, in the state’s details, to see whether the registration issues the expected document, such as CT-e or NFC-e. In the API, it is authorizedTaxDocuments.
-
Rural producers by CPF
In the API, look up by CPF the rural producer registrations of whoever sells to your company.
What to check before issuing the NF-e
A recent CCC reading, on the record or through the API, returns what the invoice usually needs: registration in the state, enablement, type and restrictions. Change the recipient and see what changes. The check helps read the data and does not replace tax analysis.
In the API GET /v2/establishments/74589032000100?expand=stateRegistry&stateRegistry.maxAge=1d
- Checked: Registration in the recipient’s state
API · registrations[].state "MG" - Checked: Enabled as a taxpayer
API · registrations[].isEnabled true - Checked: ICMS taxpayer
API · registrations[].type.code "STATE_TAXPAYER" - Checked: No restriction as a recipient
API · registrations[].hasRestriction false - Checked: Checked less than 1 day ago
API · stateRegistry.updatedAt now
Where each piece of data comes from, and when
The CCC brings the taxpayer registries of the states together in a national base, queried by state, and it is the only source of the registrations. They do not come from the open data: they are updated only by a live query. In the app, through automatic updates, on for members with the rule Older than 7 days, or through Update all, which read the summary in one live query, each state’s details being asked apart, one live query per registration, at least one; in the API, once they pass the maximum age requested for them or for the request, 45 days by default.
- CCC Live Cache
Who already uses CNPJá
Limits, no fine print
- At the detailed level with every state, in an export or the API, a CNPJ with no registration at all uses 27 live queries each time, because every state without a registration is queried every time. Ask only for the states you need.
- At the summary level, the other states are only updated when the CNPJ has a registration in the establishment’s state.
- There is no lookup by state registration number: a query always starts from the CNPJ or, in the API, the CPF.
- Company search neither returns nor filters registrations: they come on each CNPJ’s record, in exports and, in the API, in Lookup CNPJ.
- Address and activity come from the state registry and may differ from the CNPJ record at the Receita Federal.
Frequently asked questions
How do I look up the state registration of a CNPJ?
Open the CNPJ record in the app: the State registrations section maps the registrations in every state the CCC reports. In the API, request expand=stateRegistry in Lookup CNPJ, with the states in stateRegistry.states, or ALL for the 27.
Where do the state registrations come from?
From the CCC, the Cadastro Centralizado de Contribuintes, which brings the state registries together in a national base queried by state. Registrations do not come from the CNPJ open data and are only updated by a live query.
Is it the same as a SINTEGRA lookup?
It is the same state registration, read from another source. SINTEGRA is the state tax authorities’ system whose public lookup shows one state’s taxpayer registry at a time, hence the name SINTEGRA lookup. CNPJá does not query SINTEGRA: it reads the registrations from the CCC and shows those of every state on the same record.
How do I know whether a company is an ICMS taxpayer?
By each registration’s type and status: an enabled state taxpayer registration means a taxpayer in the state, and a non-taxpayer one belongs to someone who is not, such as a construction site. In the API, read type.code and isEnabled.
What is an interstate restriction?
It is when a state blocks the CNPJ or CPF as a recipient of interstate tax documents. In the app, it shows under Interstate restrictions, always with every restriction known. In the API, it comes in taxRestrictions, with the blocking state in issuer and the blocked one in recipient.
Can I look up the state registration of an individual?
Yes, today through the API only, in Lookup CPF, for CPFs with a state or SUFRAMA registration, such as rural producers. Send the states in stateRegistry.states or ALL, because ORIGIN does not apply to a CPF.
How much does looking up every state cost?
At the summary level, one query, however many states. At the detailed level, one per registration, at least one per requested state: with every state, a CNPJ with no registration uses 27 live queries. This holds for exports and the API, and each state’s details on the record follow the same rule.
Goes well with
Start on the free plan.
Create an account in a minute and look up any Brazilian company, in the app or through the API.