cte_uuidpath · stringRequiredPublic CT-e UUID.
Constraints
{
"type": "string",
"format": "uuid"
}Parameters, data structure and responses from the versioned contract.
/fiscal/cte/{cte_uuid}Technical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Replaces editable draft data. Documents already submitted are immutable.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]cte_uuidpath · stringRequiredPublic CT-e UUID.
{
"type": "string",
"format": "uuid"
}Required
application/jsonnfe_access_keysarrayOptionalminItems1cte_anteriorobjectOptionalprestacaoobjectRequiredrotaobjectRequiredtomadorobjectRequiredvaloresobjectRequiredicmsobjectRequiredcargaobjectOptionalveiculoobject | nullOptionalmotoristaobject | nullOptionalviagemobjectOptionalciotobjectOptionalobservacoesstring | nullOptionalmaxLength2000200 HTTP ResponseCT-e found.
X-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": [
"CT-e"
],
"summary": "Atualizar rascunho de CT-e",
"description": "Substitui os dados editáveis do rascunho. Documentos já enviados são imutáveis.",
"operationId": "updateCte",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CteDraftInput"
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/CteOk"
},
"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": "PUT",
"path": "/fiscal/cte/{cte_uuid}",
"parameters": [
{
"$ref": "#/components/parameters/CteUuid"
}
]
}