cte_uuidpath · stringRequiredPublic CT-e UUID.
Constraints
{
"type": "string",
"format": "uuid"
}Parameters, data structure and responses from the versioned contract.
/fiscal/cte/{cte_uuid}/ciot/cancelamentoTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Simulated sandbox mode. This operation has no contracted CIOT provider behind it: in the sandbox environment, FleetPay generates a deterministic response with no regulatory effect — nothing is registered with ANTT, and no CIOT handled here has legal validity.
The request and response contract is already final: you can integrate now. When the real provider is introduced, behavior stops being simulated without a contract change.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]cte_uuidpath · stringRequiredPublic CT-e UUID.
{
"type": "string",
"format": "uuid"
}Required
application/jsonjustificationstringRequiredmaxLength500200 HTTP ResponseCIOT operation completed.
application/jsondataobjectRequiredenvironmentobjectRequiredX-Request-IdCall correlation identifier.
202 HTTP ResponseCIOT operation still pending or ambiguous; query again.
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.
422 HTTP ResponseInvalid payload, outstanding requirement or business rule.
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": [
"CIOT"
],
"summary": "Cancelar CIOT",
"operationId": "cancelCiot",
"description": "**Modo simulado em homologação.** Esta operação não tem provedor de CIOT contratado por\ntrás: em homologação a resposta é gerada pela FleetPay, é determinística e **não tem\nefeito regulatório** — nada é registrado na ANTT e nenhum CIOT tratado por aqui tem\nvalor legal.\n\nO contrato de request e response já é o definitivo: integre agora. Quando o provedor real\nentrar, o comportamento deixa de ser simulado **sem mudança de contrato**.\n",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"justification"
],
"properties": {
"justification": {
"type": "string",
"maxLength": 500
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/CiotOk"
},
"202": {
"$ref": "#/components/responses/CiotPending"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"404": {
"$ref": "#/components/responses/NotFound"
},
"422": {
"$ref": "#/components/responses/ValidationOrBusinessRuleFailed"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
},
"method": "POST",
"path": "/fiscal/cte/{cte_uuid}/ciot/cancelamento",
"parameters": [
{
"$ref": "#/components/parameters/CteUuid"
}
]
}