access_keypath · stringRequiredAccess key of the received CT-e, 44 digits.
Constraints
{
"type": "string",
"pattern": "^\\d{44}$"
}Parameters, data structure and responses from the versioned contract.
/fiscal/cte-subcontratacao/{access_key}Technical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
The received document queried by access key, including the parties' full addresses, which are omitted from listings to keep each page smaller.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]access_keypath · stringRequiredAccess key of the received CT-e, 44 digits.
{
"type": "string",
"pattern": "^\\d{44}$"
}200 HTTP ResponseReceived CT-e found.
application/jsondataobjectRequiredenvironmentobjectRequiredX-Request-IdCall correlation identifier.
401 HTTP ResponseFleetPay API key missing or invalid.
X-Request-IdCall correlation identifier.
403 HTTP ResponseFiscal scope disabled for the key, or no active carrier associated with the key.
X-Request-IdCall correlation identifier.
404 HTTP ResponseResource not found in the authenticated tenant.
X-Request-IdCall correlation identifier.
429 HTTP ResponsePer-carrier limit exceeded.
X-Request-IdCall correlation identifier.
Retry-AfterSeconds until another attempt.
500 HTTP ResponseInternal failure without operational integration details.
X-Request-IdCall correlation identifier.
{
"tags": [
"CT-e de subcontratação"
],
"summary": "Consultar um CT-e recebido",
"description": "O documento recebido pela chave de acesso, com os endereços completos das partes — que a\nlistagem não traz para não engordar cada página.\n",
"operationId": "getInboundCte",
"parameters": [
{
"$ref": "#/components/parameters/InboundCteAccessKey"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/InboundCteOk"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"404": {
"$ref": "#/components/responses/NotFound"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
},
"method": "GET",
"path": "/fiscal/cte-subcontratacao/{access_key}"
}