v1

latestOpenAPI 3.0.12026-07-245303882.5 MB
Company

Inserção de Empresa.

post/company

Request body

documentstring required

CNPJ.

namestring required

Razão Social.

fantasyNamestring required

Nome Fantasia.

cityRegistrationstring required

Inscrição Municipal.

stateRegistrationstring required

Inscrição Estadual.

stateTaxSubstituteRegistrationstring nullable

Inscrição Estadual de Substituto Tributário.

cnaestring required

CNAE.

optSimpleNationalboolean required

Optante pelo Simples Nacional.

emailstring nullable

E-mail.

phonestring nullable

Telefone.

Example request

{
  "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"
  },
  "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
  }
}

Response

Created

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
  }
}