company_create
Create an issuing company in the connected environment. A certificate is deliberately not accepted here: it is uploaded separately, after the company exists (needs the certificate permission granted when connecting). default_service_code is optional and becomes the default service code of every invoice of the company; a code suggested by the CNPJ registry is only a suggestion.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"legal_name": "<legal_name>",
"tax_id": "<tax_id>",
"tax_regime": "<tax_regime>",
"municipality_code": "<municipality_code>"
},
"name": "company_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax_id | Yes | CNPJ; punctuation is optional. | |
| address | No | Endereço da empresa (opcional). | |
| legal_name | Yes | Razão social, como no cartão do CNPJ. | |
| tax_regime | Yes | MEI (mei), Simples Nacional (simple_national), Lucro Presumido (lucro_presumido) or Lucro Real (lucro_real). | |
| trade_name | No | Nome fantasia (opcional). | |
| simples_rate | No | Required for Simples Nacional (ignored for MEI): effective total rate (%) of your DAS, e.g. "6.54". | |
| municipal_reg | No | Inscrição municipal, só dígitos (opcional). | |
| special_regime | No | Regime especial (regEspTrib): 0 Nenhum, 1 Ato Cooperado, 2 Estimativa, 3 Microempresa Municipal, 4 Notário ou Registrador, 5 Profissional Autônomo, 6 Sociedade de Profissionais. | |
| simple_national | No | true quando a empresa é optante do Simples Nacional. | |
| simples_iss_rate | No | Simples Nacional only, optional: effective ISS rate (%) of your bracket; needed only when a customer withholds ISS. | |
| municipality_code | Yes | Seven-digit IBGE municipality code. | |
| send_municipal_reg | No | true para mandar a inscrição municipal na DPS. Padrão false: a Receita recusa (E0120) quando o município não tem os dados complementares. | |
| default_service_code | No | Six-digit cTribNac service code. |