v1

latestOpenAPI 3.0.12026-07-245303882.5 MB
Company

Consulta de Empresa.

get/company/{id}

Path parameters

idstring required

Identificador de Empresa.

Response

OK

companyIdstring

Identificador da Empresa.

documentstring nullable

CNPJ.

namestring nullable

Razão Social.

fantasyNamestring nullable

Nome Fantasia.

cityRegistrationstring nullable

Inscrição Municipal.

stateRegistrationstring nullable

Inscrição Estadual.

stateTaxSubstituteRegistrationstring nullable

Inscrição Estadual de Substituto Tributário.

cnaestring nullable

CNAE.

optSimpleNationalboolean

Optante pelo Simples Nacional.

emailstring nullable

E-mail.

phonestring nullable

Telefone.

createdstring date-time

Data de Criação.

updatedstring date-time nullable

Data de Atualização.

Example response

{
  "document": "51236721000136",
  "name": "Razão Social",
  "fantasyName": "Nome Fantasia",
  "cityRegistration": "12345678912345",
  "stateRegistration": "12345678912345",
  "stateTaxSubstituteRegistration": "1234567891",
  "cnae": "62091",
  "optSimpleNational": true,
  "email": "email@google.com",
  "phone": "11912345678",
  "address": {
    "street": "Logradouro",
    "number": "1",
    "neighborhood": "Bairro",
    "cityCode": "3550308",
    "city": "São Paulo",
    "state": "SP",
    "complement": "Casa",
    "zipCode": "08190120"
  },
  "certificate": {
    "key": "company-51236721000136",
    "password": "123456789"
  },
  "serviceInvoice": {
    "rpsSerial": "1",
    "rpsNumber": 1,
    "code": "1.07",
    "cityTaxCode": "3158",
    "cityTaxDescription": "SUPORTE TÉCNICO, MANUTENÇÃO E OUTROS SERVIÇOS EM TECNOLOGIA DA INFORMAÇÃO",
    "specialTaxType": "MICROEMPRESA_MUNICIPAL",
    "issRate": 1,
    "culturalSupporter": true
  }
}