---
title: "Consulta de Empresa."
method: GET
path: "/company/{id}"
tags: ["Company"]
---

# Consulta de Empresa.

`GET /company/{id}`

## Request

- Base URL: `https://sandbox.openfinance.celcoin.dev/invoices/v1`
- URL: `https://sandbox.openfinance.celcoin.dev/invoices/v1/company/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

OK

- CompanyResponse: Modelo de Resposta da Empresa.
  - `companyId` string: Identificador da Empresa.
  - `document` string, nullable: CNPJ.
  - `name` string, nullable: Razão Social.
  - `fantasyName` string, nullable: Nome Fantasia.
  - `cityRegistration` string, nullable: Inscrição Municipal.
  - `stateRegistration` string, nullable: Inscrição Estadual.
  - `stateTaxSubstituteRegistration` string, nullable: Inscrição Estadual de Substituto Tributário.
  - `cnae` string, nullable: CNAE.
  - `optSimpleNational` boolean: Optante pelo Simples Nacional.
  - `email` string, nullable: E-mail.
  - `phone` string, nullable: Telefone.
  - `address` MongoCompanyAddress: Modelo de Endereço de Empresa.
    - `street` string, nullable: Logradouro.
    - `number` string, nullable: Número.
    - `neighborhood` string, nullable: Bairro.
    - `cityCode` string, nullable: Código de Município.
    - `city` string, nullable: Município.
    - `state` string, nullable: Sigla de Estado.
    - `complement` string, nullable: Complemento.
    - `zipCode` string, nullable: CEP.
  - `certificate` MongoCompanyCertificate: Modelo de Certificado de Empresa.
    - `key` string, nullable: Chave.
    - `password` string, nullable: Senha.
  - `serviceInvoice` MongoCompanyServiceInvoice: Modelo de Nota de Serviço de Empresa.
    - `rpsSerial` string, nullable: Série RPS de Documento Fiscal.
    - `rpsNumber` integer, nullable: Número RPS de Documento Fiscal.
    - `code` string, nullable: Código de Serviço Prestado.
    - `cityTaxCode` string, nullable: Código de Tributação de Município.
    - `cityTaxDescription` string, nullable: Descrição de Tributação de Município.
    - `specialTaxType` 'MICROEMPRESA_MUNICIPAL' | 'ESTIMATIVA' | 'SOCIEDADE_PROFISSIONAIS' | 'COOPERATIVA' | 'MICROEMPRESARIO_INDIVIDUAL' | 'MICROEMPRESARIO_EMPRESA_PEQUENO_PORTE': Regime Especial Tributário.<p>Values:</p><ul><li><i>MICROEMPRESA_MUNICIPAL</i> - Microempresa Municipal.</li><li><i>ESTIMATIVA</i> - Estimativa.</li><li><i>SOCIEDADE_PROFISSIONAIS</i> - Sociedade de Profissionais.</li><li><i>COOPERATIVA</i> - Cooperativa.</li><li><i>MICROEMPRESARIO_INDIVIDUAL</i> - Microempresário Individual.</li><li><i>MICROEMPRESARIO_EMPRESA_PEQUENO_PORTE</i> - Microempresário e Empresa de Pequeno Porte.</li></ul>
    - `issRate` number, double: Aliquota de ISS.
    - `culturalSupporter` boolean: Incentivador Cultural.
  - `created` string, date-time: Data de Criação.
  - `updated` string, date-time, nullable: Data de Atualização.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `501`: Not Implemented

---

[API](https://skmtc.dev/celcoin/apis/invoice-webservice.md) - [All operations](https://skmtc.dev/celcoin/apis/invoice-webservice/llms.txt) - [OpenAPI document](https://skmtc.dev/celcoin/apis/invoice-webservice/revisions/3623710a53b5?raw)
