cte_discard
Give up a rejected CT-e: it becomes discarded (final) and is not sent again. The credit is already back. Nothing goes to the SVRS. 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>"
},
"name": "cte_discard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cte_id | Yes | UUID of the rejected CT-e | |
| confirm | No | true runs the action. Without it nothing changes and only a preview is returned. |