cte_cancel
Cancel an authorized CT-e at the SVRS (event 110111). It cannot be undone. Justification of 15 to 255 characters. The event starts as pending and its final status shows on the CT-e. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cte_id": "<cte_id>",
"justification": "<justification>"
},
"name": "cte_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cte_id | Yes | UUID of the CT-e | |
| confirm | No | true runs the action. Without it nothing changes and only a preview is returned. | |
| justification | Yes | Motivo do cancelamento, de 15 a 255 caracteres. |