ciot_uuidpath · stringRequiredTransport operation UUID.
Constraints
{
"type": "string",
"format": "uuid"
}/fiscal/ciot/{ciot_uuid}/retificacaoTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Amends data on an active Transport Operation with ANTT.
At least one field must be provided for amendment: valor_frete, data_fim_viagem, origem_destino or dados_carga.
fiscal — Tax & Fiscal[
{
"oauth2": []
},
{
"chaveApi": []
}
]ciot_uuidpath · stringRequiredTransport operation UUID.
{
"type": "string",
"format": "uuid"
}Required
application/jsonjustificativastringOptionalReason for CIOT amendment.
maxLength500valor_fretenumber · floatOptionalNew total freight value in BRL.
minimum0.01data_fim_viagemstring · dateOptionalNew expected trip end date (YYYY-MM-DD).
origem_destinoarrayOptionalOrigin and destination segments of the operation.
minItems1maxItems20dados_cargaobjectOptional200 HTTP ResponseAmendment completed.
application/jsondataobjectRequiredenvironmentobjectRequired202 HTTP ResponseAmendment 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": "Retificar CIOT",
"operationId": "retificarOperacaoCiot",
"description": "Retifica dados de uma Operação de Transporte ativa junto à ANTT.\nÉ obrigatório informar ao menos um campo para alteração: `valor_frete`, `data_fim_viagem`,\n`origem_destino` ou `dados_carga`.\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/RetificarCiotInput"
}
}
}
},
"responses": {
"200": {
"description": "Retificação concluída.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RespostaCiot"
}
}
}
},
"202": {
"description": "Retificação 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}/retificacao"
}