DceEntrada
Pedido de DC-e (emissão própria). O emitente é a empresa da chave; o ambiente vem da chave de API.
Properties
| Name | Type | Description |
|---|---|---|
| empresa_id | string | Dispensado com chave restrita a uma empresa. |
| referencia | string | O envio no seu sistema; único por empresa, ambiente e modelo. |
| emitente | object | |
| destinatario | object | |
| itens | array | |
| transporte | object | |
| informacoes_complementares | string | |
| autorizados_xml | array | CPF ou CNPJ que podem baixar o XML na SEFAZ. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sudrel-com-br/json-schema/sudrel-com-br-dce-entrada-schema.json",
"title": "DceEntrada",
"description": "Pedido de DC-e (emissão própria). O emitente é a empresa da chave; o ambiente vem da chave de API.",
"x-generated": "2026-11-26",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sudrel-com-br-openapi.yml#/components/schemas/DceEntrada",
"type": "object",
"required": [
"referencia",
"destinatario",
"itens"
],
"properties": {
"empresa_id": {
"type": "string",
"description": "Dispensado com chave restrita a uma empresa."
},
"referencia": {
"type": "string",
"maxLength": 60,
"description": "O envio no seu sistema; único por empresa, ambiente e modelo."
},
"emitente": {
"type": "object",
"properties": {
"tipo": {
"type": "string",
"enum": [
"propria"
],
"default": "propria",
"description": "Marketplace e transportadora chegam na próxima fase."
}
}
},
"destinatario": {
"type": "object",
"required": [
"documento",
"nome",
"endereco"
],
"properties": {
"documento": {
"type": "string",
"description": "CPF ou CNPJ (numérico); o documento do estrangeiro com `estrangeiro`."
},
"estrangeiro": {
"type": "boolean",
"default": false,
"description": "Destinatário no exterior: documento de 2 a 20 letras e algarismos, endereço completo e o país."
},
"nome": {
"type": "string",
"maxLength": 60,
"description": "Em homologação, a SEFAZ exige uma literal no lugar do nome: a Sudrel troca sozinha."
},
"email": {
"type": "string",
"maxLength": 60
},
"endereco": {
"type": "object",
"required": [
"numero"
],
"properties": {
"cep": {
"type": "string",
"description": "Obrigatório no Brasil: logradouro, bairro, município e IBGE saem dele."
},
"numero": {
"type": "string"
},
"complemento": {
"type": "string"
},
"logradouro": {
"type": "string",
"description": "Só quando o CEP é geral do município."
},
"bairro": {
"type": "string"
},
"municipio": {
"type": "string"
},
"municipio_ibge": {
"type": "string"
},
"uf": {
"type": "string"
},
"pais_codigo": {
"type": "string",
"description": "Exterior: código do país (tabela do BACEN)."
},
"pais": {
"type": "string"
},
"telefone": {
"type": "string"
}
}
}
}
},
"itens": {
"type": "array",
"maxItems": 999,
"items": {
"type": "object",
"required": [
"descricao",
"quantidade",
"valor_unitario"
],
"properties": {
"descricao": {
"type": "string",
"maxLength": 120
},
"quantidade": {
"type": "number",
"description": "Até 4 casas decimais."
},
"valor_unitario": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Em reais. O valor do item é calculado."
},
"ncm": {
"type": "string",
"description": "8 dígitos; vazio vira 00000000 (sem classificação)."
},
"informacoes_adicionais": {
"type": "string",
"maxLength": 500
}
}
}
},
"transporte": {
"type": "object",
"properties": {
"modalidade": {
"type": "string",
"enum": [
"correios",
"proprio",
"transportadora"
],
"default": "correios"
},
"cnpj_transportadora": {
"type": "string",
"description": "Obrigatório com `transportadora`."
}
}
},
"informacoes_complementares": {
"type": "string",
"maxLength": 5000
},
"autorizados_xml": {
"type": "array",
"maxItems": 10,
"items": {
"type": "string"
},
"description": "CPF ou CNPJ que podem baixar o XML na SEFAZ."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/sudrel-com-br-dce-entrada"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.