errorobjectRequiredList issuance authorizations
Parameters, data structure and responses from the versioned contract.
/fiscal/cte-subcontratacao/autorizacoesTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Both sides of issuance authorization between carriers: concedidas (this company, as subcontractor, authorized these contracting carriers to request counter-CT-e issuance on its behalf) and recebidas (these subcontractors authorized this company). The contracting carrier checks here on whose behalf it may issue before sending subcontratada.cnpj in a batch.
Authentication
[
{
"oauth2": []
},
{
"chaveApi": []
}
]Parameters
No parameters declared for this operation.
Responses
200 HTTP Response
Active authorizations in both directions.
application/json
Headers
X-Request-IdCall correlation identifier.
403 HTTP Response
Fiscal scope disabled for the key, or no active carrier associated with the key.
Headers
X-Request-IdCall correlation identifier.
429 HTTP Response
Per-carrier limit exceeded.
Headers
X-Request-IdCall correlation identifier.
Retry-AfterSeconds until another attempt.
500 HTTP Response
Internal failure without operational integration details.
Headers
X-Request-IdCall correlation identifier.
Complete Operation Definition
{
"tags": [
"CT-e de subcontratação"
],
"summary": "Listar autorizações de emissão (concedidas e recebidas)",
"operationId": "listEmissionGrants",
"description": "Os dois lados da autorização de emissão entre transportadoras: `concedidas` (esta empresa,\ncomo subcontratada, autorizou estas contratantes a disparar contra-CT-e em nome dela) e\n`recebidas` (estas subcontratadas autorizaram esta empresa). A contratante consulta aqui\npor quem pode emitir antes de mandar `subcontratada.cnpj` no lote.\n",
"responses": {
"200": {
"description": "As autorizações ativas, nos dois sentidos.",
"headers": {
"X-Request-Id": {
"$ref": "#/components/headers/RequestId"
}
},
"content": {
"application/json": {}
}
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
},
"method": "GET",
"path": "/fiscal/cte-subcontratacao/autorizacoes",
"parameters": []
}