nfe_correct
Sends a correction letter (CC-e) for an authorized NF-e. It cannot change values, taxes, the parties or the dates. 15 to 1000 characters. The letter is sent to the SEFAZ and starts as pending; its final status shows in the fiscal events of the note (invoice.fiscalEvents: sequence, text, status, protocol, date). A NFC-e has no correction letter: this tool answers INVOICE_OPERATION_NOT_SUPPORTED for it (a NFC-e can only be cancelled within 30 minutes).
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": {
"invoice_id": "<invoice_id>",
"correction": "<correction>"
},
"name": "nfe_correct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| correction | Yes | The correction text. | |
| invoice_id | Yes | UUID of the NF-e |