Query a CNPJ in the Federal Revenue
GET /order/v1/banking/cnpj
Returns the registration data and tax situation of a legal entity, queried by its CNPJ (numeric or alphanumeric, with or without mask).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Company CNPJ document number (numeric or alphanumeric, with or without mask)
Example
62601828000152Origin of the search by type of device, MOBILE or WEB
Example
WEBResponses
Section titled “ Responses ”The resource was returned successfully
object
CNPJ document number
Name of the company
Business name or trade name of the company
Capital of the company
Size or scale of the company
Legal nature of the company
Headquarter or branch location of the company
Primary economic activity of the company
Secondary economic activity of the company
List of secondary economic activities
Email address of the company
Telephone number of the company
object
object
object
Registration status of the company
Date of the registration status (ISO)
Observations on the registration status
Special situation status of the company
Date of the special situation status (ISO)
Date and time of the query (ISO)
URL of the Federal Revenue receipt
Status of the query
Description of the status, when it is not a success
object
Example
INVALID_REQUESTobject
Example
[ { "field": "field_name", "issue": "INVALID", "description": "Field is invalid" }]Unauthorized Request
object
Example
UNAUTHORIZEDExample
Unauthorized Requestobject
Example
[]object
Example
FORBIDDEN_ERRORobject
Example
[]Resource not found
object
Example
NOT_FOUNDExample
Resource not foundobject
Example
[]object
Example
INTERNAL_ERRORobject
Example
[]