---
updatedAt: 2026-05-28T19:21:10.000Z
agentTools:
  projectIndex: https://docs.notagateway.com.br/llms.txt
---

# Consultar Empresa

Recupera informações de uma Empresa (CNPJ Emissor) específica.

Informações da Empresa

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Campo
      </th>

      <th style={{ textAlign: "left" }}>
        Tipo
      </th>

      <th style={{ textAlign: "left" }}>
        Descrição
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        id
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Identificador único da empresa, gerado automaticamente pelo gateway
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        status
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Valores possíveis:   

        <br />

        AguardandoAvaliacao  
        EmAvaliacao    
        Habilitada  
        Desabilitada
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        dadosObrigatoriosPreenchidos
      </td>

      <td style={{ textAlign: "left" }}>
        boolean
      </td>

      <td style={{ textAlign: "left" }}>
        Indica que todos os dados necessários para iniciar a emissão de notas já foram configurados no cadastro da empresa
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        cnpj
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        CNPJ da empresa 
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        inscricaoMunicipal
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Número da inscrição municipal. Também chamado de **CMC (Cadastro Municipal de Contribuintes)**.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        inscricaoEstadual
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Número de inscrição estadual da empresa. Usado por empresas que emitem notas fiscais eletrônicas de produto (NF-e).
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        razaoSocial
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Razão social da empresa
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        nomeFantasia
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Nome fantasia da empresa
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        optanteSimplesNacional
      </td>

      <td style={{ textAlign: "left" }}>
        boolean
      </td>

      <td style={{ textAlign: "left" }}>
        Indica se a empresa faz parte do regime tributário Simples Nacional.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        mei
      </td>

      <td style={{ textAlign: "left" }}>
        boolean
      </td>

      <td style={{ textAlign: "left" }}>
        Indica se a empresa é considerada MEI (Microempreendedor Individual). Este atributo possui dupla função: indicar que a empresa é MEI e informar o CRT = 4 na emissão de NF-e.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        emiteNFSeNacional
      </td>

      <td style={{ textAlign: "left" }}>
        boolean
      </td>

      <td style={{ textAlign: "left" }}>
        Criado para atender empresas que não são MEI, mas que, por obrigatoriedade, devem emitir NFS-e pelo Portal Nacional.  

        _Observação_: Nos casos em que um município optar pela migração geral de todos os contribuintes em uma mesma data ou ao término de uma migração faseada, a manipulação do atributo “emiteNFSeNacional” não é mais necessária. A API irá direcionar as emissões para o Emissor nacional automaticamente.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        email
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Email de contato da empresa
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        telefoneComercial
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Telefone comercial da empresa
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        endereco
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        Endereço da empresa emissora
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        codigoIbgeUf
      </td>

      <td style={{ textAlign: "left" }}>
        int
      </td>

      <td style={{ textAlign: "left" }}>
        Código do  IBGE da uf (Somente os 2 primeiros dígitos do código do IBGE da cidade)
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        codigoIbgeCidade
      </td>

      <td style={{ textAlign: "left" }}>
        int
      </td>

      <td style={{ textAlign: "left" }}>
        Código do IBGE da cidade
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        pais
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        País da empresa
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        uf
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Sigla do estado da empresa
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        cidade
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Nome da cidade
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        logradouro
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Nome da rua
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        numero
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Número do endereço
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        complemento
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Complemento do endereço
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        bairro
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Bairro
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        cep
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        CEP (Código de endereço postal)
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        incentivadorCultural
      </td>

      <td style={{ textAlign: "left" }}>
        boolean
      </td>

      <td style={{ textAlign: "left" }}>
        Indica se a empresa é incentivadora cultural ou não
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        regimeEspecialTributacao
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Código de identificação do regime especial de tributação da empresa na prefeitura. Varia de acordo com cada prefeitura, esse tipo de informação pode ser consultado através da nossa api complementar [aqui](https://docs.notagateway.com.br/docs/consultar-caracteristicas-da-prefeitura)
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        regimeApuracaoTributosSN
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Código de identificação do Regime de Apuração dos Tributos do Simples Nacional ((utilizado por empresas enquadradas como ME/EPP) 
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        aedf
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Código da Autorização para emissão de Documentos fiscais (AEDF)
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        configuracoesNFSeProducao
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        Configurações relacionadas ao ambiente de produção
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        sequencialNFe
      </td>

      <td style={{ textAlign: "left" }}>
        int
      </td>

      <td style={{ textAlign: "left" }}>
        Número sequêncial das notas fiscais
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        serieNFe
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Série das notas fiscais, pode ser texto ou número
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        sequencialLoteNFe
      </td>

      <td style={{ textAlign: "left" }}>
        int
      </td>

      <td style={{ textAlign: "left" }}>
        Número sequêncial do lote onde as notas fiscais são enviadas
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        usuarioAcessoProvedor
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Usuário de acesso ao sistema da prefeitura, utilizado pra se autenticar e somente nos casos onde não é utilizado certificado digital
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        senhaAcessoProvedor
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Senha de acesso ao sistema da prefeitura, utilizado pra se autenticar e somente nos casos onde não é utilizado certificado digital
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        tokenAcessoProvedor
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Token de acesso ao sistema da prefeitura, utilizado pra se autenticar e somente nos casos onde não é utilizado certificado digital
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        configuracoesNFSeHomologacao
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        Configurações relacionadas ao ambiente de homologação
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        sequencialNFe
      </td>

      <td style={{ textAlign: "left" }}>
        int
      </td>

      <td style={{ textAlign: "left" }}>
        Número sequêncial das notas fiscais
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        serieNFe
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Série das notas fiscais, pode ser texto ou número
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        sequencialLoteNFe
      </td>

      <td style={{ textAlign: "left" }}>
        int
      </td>

      <td style={{ textAlign: "left" }}>
        Número sequêncial do lote onde as notas fiscais são enviadas
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        usuarioAcessoProvedor
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Usuário de acesso ao sistema da prefeitura, utilizado pra se autenticar e somente nos casos onde não é utilizado certificado digital
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        senhaAcessoProvedor
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Senha de acesso ao sistema da prefeitura, utilizado pra se autenticar e somente nos casos onde não é utilizado certificado digital
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        tokenAcessoProvedor
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Token de acesso ao sistema da prefeitura, utilizado pra se autenticar e somente nos casos onde não é utilizado certificado digital
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        codigoServicoMunicipal
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Código do serviço municipal padrão pra emissão das notas fiscais, esse código é liberado pela prefeitura
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        itemListaServicoLC116
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Item da lista de serviço da lei complementar 116 de 2003 (LC116/2003)
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        cnae
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Classificação nacional de atividades econômicas da empresa
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        codigoNBS
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Código NBS (Nomenclatura Brasileira de Serviços)
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        aliquotaIss
      </td>

      <td style={{ textAlign: "left" }}>
        decimal
      </td>

      <td style={{ textAlign: "left" }}>
        Alíquota do ISS padrão pra emissão das notas fiscais
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        descricaoServico
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Descrição do serviço prestado padrão para emissão das notas fiscais
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        receitaBrutaAcumulada
      </td>

      <td style={{ textAlign: "left" }}>
        decimal
      </td>

      <td style={{ textAlign: "left" }}>
        Receita Bruta Acumulada da empresa Optante pelo Simples Nacional. (Informação exigida por determinados municípios para empresas optantes pelo Simples Nacional.)
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        anexoEnquadramentoSimplesNacional
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Referência do anexo do Enquadramento do Simples Nacional (Informação exigida por determinados municípios para empresas optantes pelo Simples Nacional.)
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        dataInicioAtividadeSimplesNacional
      </td>

      <td style={{ textAlign: "left" }}>
        date
      </td>

      <td style={{ textAlign: "left" }}>
        Data de início da atividade do Simples Nacional (Informação exigida por determinados municípios para empresas optantes pelo Simples Nacional.)
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        certificadoDigital
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        Informações referente ao certificado digital vinculado à empresa em questão
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        nome
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Nome da empresa do certificado digital
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        dataVencimento
      </td>

      <td style={{ textAlign: "left" }}>
        date
      </td>

      <td style={{ textAlign: "left" }}>
        Data de vencimento do certificado digital
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "visão-geral",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.notagateway.com.br"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/empresas/{Id}": {
      "get": {
        "summary": "Consultar Empresa",
        "description": "Recupera informações de uma Empresa (CNPJ Emissor) específica.",
        "operationId": "consultar-empresa",
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "description": "Identificador único da empresa",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": \"string\",\n  \"status\": \"string\",\n  \"prazo\": 0,\n  \"dadosObrigatoriosPreenchidos\": true,\n  \"cnpj\": \"string\",\n  \"inscricaoMunicipal\": \"string\",\n  \"inscricaoEstadual\": null,\n  \"razaoSocial\": \"string\",\n  \"nomeFantasia\": \"string\",\n  \"optanteSimplesNacional\": true,\n  \"mei\": false,\n  \"emiteNFSeNacional\": false,\n  \"email\": \"string\",\n  \"telefoneComercial\": \"string\",\n  \"endereco\": {\n    \"pais\": \"string\",\n    \"uf\": \"string\",\n    \"codigoIbgeUf\": 31,\n    \"cidade\": \"string\",\n    \"codigoIbgeCidade\": 3106200,\n    \"logradouro\": \"string\",\n    \"numero\": \"string\",\n    \"complemento\": null,\n    \"bairro\": \"string\",\n    \"cep\": \"string\"\n  },\n  \"incentivadorCultural\": false,\n  \"regimeEspecialTributacao\": \"0\",\n  \"regimeApuracaoTributosSN\": \"1\",\n  \"aedf\": null,\n  \"configuracoesNFSeProducao\": {\n    \"sequencialNFe\": 0,\n    \"serieNFe\": \"string\",\n    \"sequencialLoteNFe\": 0,\n    \"usuarioAcessoProvedor\": null,\n    \"tokenAcessoProvedor\": null\n  },\n  \"configuracoesNFSeHomologacao\": {\n    \"sequencialNFe\": 0,\n    \"serieNFe\": \"string\",\n    \"sequencialLoteNFe\": 0,\n    \"usuarioAcessoProvedor\": null,\n    \"tokenAcessoProvedor\": null\n  },\n  \"codigoServicoMunicipal\": \"string\",\n  \"itemListaServicoLC116\": \"string\",\n  \"cnae\": null,\n  \"codigoNBS\": \"string\",\n  \"aliquotaIss\": 0,\n  \"descricaoServico\": \"string\",\n  \"receitaBrutaAcumulada\": null,\n  \"anexoEnquadramentoSimplesNacional\": null,\n  \"dataInicioAtividadeSimplesNacional\": null,\n\"certificadoDigital\": {\n        \"nome\": null,\n        \"dataVencimento\": null\n                       },\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "string"
                    },
                    "status": {
                      "type": "string",
                      "example": "string"
                    },
                    "dadosObrigatoriosPreenchidos": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "cnpj": {
                      "type": "string",
                      "example": "string"
                    },
                    "inscricaoMunicipal": {
                      "type": "string",
                      "example": "string"
                    },
                    "inscricaoEstadual": {
                      "type": "string"
                    },
                    "razaoSocial": {
                      "type": "string",
                      "example": "string"
                    },
                    "nomeFantasia": {
                      "type": "string",
                      "example": "string"
                    },
                    "optanteSimplesNacional": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "mei": {
                      "type": "boolean",
                      "default": "false"
                    },
                    "emiteNFSeNacional": {
                      "type": "boolean",
                      "default": "false"
                    },
                    "email": {
                      "type": "string",
                      "example": "string"
                    },
                    "telefoneComercial": {
                      "type": "string",
                      "example": "string"
                    },
                    "endereco": {
                      "type": "object",
                      "properties": {
                        "pais": {
                          "type": "string",
                          "example": "string"
                        },
                        "uf": {
                          "type": "string",
                          "example": "string"
                        },
                        "codigoIbgeUf": {
                          "type": "integer",
                          "example": 31,
                          "default": 0
                        },
                        "cidade": {
                          "type": "string",
                          "example": "string"
                        },
                        "codigoIbgeCidade": {
                          "type": "integer",
                          "example": 3106200,
                          "default": 0
                        },
                        "logradouro": {
                          "type": "string",
                          "example": "string"
                        },
                        "numero": {
                          "type": "string",
                          "example": "string"
                        },
                        "complemento": {},
                        "bairro": {
                          "type": "string",
                          "example": "string"
                        },
                        "cep": {
                          "type": "string",
                          "example": "string"
                        }
                      }
                    },
                    "incentivadorCultural": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "regimeEspecialTributacao": {
                      "type": "string",
                      "example": "0"
                    },
                    "regimeApuracaoTributosSN": {
                      "type": "string"
                    },
                    "aedf": {
                      "type": "string"
                    },
                    "configuracoesNFSeProducao": {
                      "type": "object",
                      "properties": {
                        "sequencialNFe": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "serieNFe": {
                          "type": "string",
                          "example": "string"
                        },
                        "sequencialLoteNFe": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "usuarioAcessoProvedor": {},
                        "tokenAcessoProvedor": {}
                      }
                    },
                    "configuracoesNFSeHomologacao": {
                      "type": "object",
                      "properties": {
                        "sequencialNFe": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "serieNFe": {
                          "type": "string",
                          "example": "string"
                        },
                        "sequencialLoteNFe": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "usuarioAcessoProvedor": {},
                        "tokenAcessoProvedor": {}
                      }
                    },
                    "codigoServicoMunicipal": {
                      "type": "string",
                      "example": "string"
                    },
                    "itemListaServicoLC116": {
                      "type": "string",
                      "example": "string"
                    },
                    "cnae": {
                      "type": "string"
                    },
                    "codigoNBS": {
                      "type": "string"
                    },
                    "aliquotaIss": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "descricaoServico": {
                      "type": "string",
                      "example": "string"
                    },
                    "certificadoDigital": {
                      "type": "object",
                      "properties": {
                        "nome": {
                          "type": "string"
                        },
                        "dataVencimento": {
                          "type": "string",
                          "format": "date"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"Message\": \"The request is invalid.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "Message": {
                      "type": "string",
                      "example": "The request is invalid."
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n    {\n        \"codigo\": \"AUT002\",\n        \"mensagem\": \"Acesso negado. APIKey invalida, por favor verifique se setou o header do request corretamente com uma APIKey válida, por exemplo: \\\"Authorization: Basic {your-APIKey-here}\\\".\"\n    }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "codigo": {
                        "type": "string",
                        "example": "AUT002"
                      },
                      "mensagem": {
                        "type": "string",
                        "example": "Acesso negado. APIKey invalida, por favor verifique se setou o header do request corretamente com uma APIKey válida, por exemplo: \"Authorization: Basic {your-APIKey-here}\"."
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n    {\n        \"codigo\": \"AUT001\",\n        \"mensagem\": \"Acesso negado. APIKey invalida, por favor verifique se ela está correta.\"\n    }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "codigo": {
                        "type": "string",
                        "example": "AUT001"
                      },
                      "mensagem": {
                        "type": "string",
                        "example": "Acesso negado. APIKey invalida, por favor verifique se ela está correta."
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Erro interno do servidor"
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "csharp",
              "code": "public string ConsultarEmpresaAsync(Guid empresaId)\n{\n  try\n  {\n    using (var httpClient = new HttpClient())\n    {\n      httpClient.DefaultRequestHeaders.Clear();\n      httpClient.DefaultRequestHeaders.Add(\"Authorization\", \"Basic {Sua-ApiKey-Aqui}\");\n      httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(\"application/json\"));\n\n      using (var request = new HttpRequestMessage(HttpMethod.Get, string.Format(\"https://api.enotasgw.com.br/v1/empresas/{0}\", empresaId)))\n      {\n        using (var response = httpClient.SendAsync(request).Result)\n        {\n          var resultContent = response.Content.ReadAsStringAsync().Result;\n\n          if (response.IsSuccessStatusCode)\n          {\n            return resultContent;\n          }\n          else\n          {\n            throw new Exception(((int)response.StatusCode) + \" - \" + response.ReasonPhrase);\n          }\n        }\n      }\n    }\n  }\n  catch (Exception)\n  {\n    throw;\n  }\n}",
              "name": "Exemplo C#"
            }
          ],
          "samples-languages": [
            "csharp"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```