ciot_uuidpath · stringRequiredTransport operation UUID.
Constraints
{
"type": "string",
"format": "uuid"
}/fiscal/ciot/{ciot_uuid}/encerramentoTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Closes the Transport Operation at ANTT after trip completion.
Requires the transported cargo weight (peso_carga). For Aggregated TAC operations, completed trips may be detailed in origem_destino.
fiscal — Tax & Fiscal[
{
"oauth2": []
},
{
"chaveApi": []
}
]ciot_uuidpath · stringRequiredTransport operation UUID.
{
"type": "string",
"format": "uuid"
}Required
application/jsonpeso_carganumber · floatRequiredActual weight transported.
minimum0.01origem_destinoarrayOptionalBreakdown of traveled segments (mandatory for Aggregated TAC).
minItems1maxItems20200 HTTP ResponseClosure completed.
application/jsondataobjectRequiredenvironmentobjectRequired202 HTTP ResponseClosure processing.
application/jsondataobjectRequiredenvironmentobjectRequired401 HTTP ResponseUnauthenticated (autenticacao): missing, invalid or expired credentials, including an API key used in the wrong environment. A sandbox key is not valid in production, nor a production key in the sandbox; the error message indicates the expected environment.
404 HTTP ResponseResource not found in the authenticated tenant.
X-Request-IdCall correlation identifier.
422 HTTP ResponseValidation failure or rejection by the provider (operacao_recusada).
503 HTTP ResponseProvider unavailable (servico_indisponivel).
{
"tags": [
"CIOT"
],
"summary": "Encerrar CIOT",
"operationId": "encerrarOperacaoCiot",
"description": "Encerra a Operação de Transporte na ANTT após a conclusão da viagem.\nExige o peso da carga transportada (`peso_carga`). Para operações de TAC Agregado,\npode detalhar as viagens realizadas em `origem_destino`.\n",
"parameters": [
{
"name": "ciot_uuid",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
},
"description": "UUID da operação de transporte."
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EncerrarCiotInput"
}
}
}
},
"responses": {
"200": {
"description": "Encerramento concluído.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RespostaCiot"
}
}
}
},
"202": {
"description": "Encerramento em processamento.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RespostaCiot"
}
}
}
},
"401": {
"$ref": "#/components/responses/Erro401"
},
"403": {
"$ref": "#/components/responses/Erro403"
},
"404": {
"$ref": "#/components/responses/NotFound"
},
"409": {
"description": "Ação conflitante (`acao_conflitante`).",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Erro"
}
}
}
},
"422": {
"description": "Falha de validação ou recusa pelo provedor (`operacao_recusada`).",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Erro"
}
}
}
},
"503": {
"description": "Provedor indisponível (`servico_indisponivel`).",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Erro"
}
}
}
}
},
"x-fleetpay-scope": "fiscal",
"x-fleetpay-module": "fiscal-ciot",
"x-fleetpay-profiles": [
"gestor",
"agregado_empresarial",
"transportador_frotista"
],
"method": "POST",
"path": "/fiscal/ciot/{ciot_uuid}/encerramento"
}