TF Fiscal
Documentation

Companies

Query company

Returns the company data, review status, enabled documents and certificate summary.

GET/openapi/v2/empresas/{empresaId}
Requires the token, timestamp and sign signature headers, see Authentication.

Registration fields have the same names as the Register company request, and nfceHabilitado / nfseHabilitado / dceHabilitado are the same as in the registration response. A company only issues with status Ativa and certificado.possuiCertificadoValido true. A company of another account answers exactly like a missing one, 10003000. Not billed.

For companies created by Register company automatically, use this query to follow up: in Rascunho or Rejeitada the response carries camposPendentes with what is missing; complete it with Register company (body with id) and, once everything is filled in, the company goes to review automatically. While the tax regime is pending confirmation, optanteSimplesNacional and mei are null and listed in camposPendentes.

The two booleans do not tell CRT 1 from CRT 2 (over the sublimit): both come back true / false. See "Tax regime" in Companies.

Path parameters

empresaId*
stringCompany identifier

* Required field

200
Company data.
empresaId
stringCompany identifier
cnpj
stringCNPJ
razaoSocial
stringLegal name
nomeFantasia
stringTrade name
inscricaoEstadual
stringState registration
inscricaoMunicipal
stringMunicipal registration
optanteSimplesNacional
boolSimples member
mei
boolMEI
email
stringContact e-mail
telefoneComercial
stringBusiness phone
objectAddress
status
stringCompany status
motivoStatus
stringRejection reason
camposPendentes
arrayPending fields
dataEnvioAprovacao
stringSent for review
dataAprovacao
stringReview completed
ambienteEmissao
stringIssuing environment
nfeHabilitado
boolNF-e enabled
nfceHabilitado
boolNFC-e enabled
nfseHabilitado
boolNFS-e configured
dceHabilitado
boolDC-e enabled
objectA1 certificate summary
dataCriacao
stringRegistration time