cancelar_nfe
Cancel an authorized Brazilian NF-e within 24 hours of issuance by providing a mandatory justification of at least 15 characters.
Instructions
Cancela uma NF-e autorizada (permitido ate 24h apos a emissao). A justificativa e obrigatoria e deve ter no minimo 15 caracteres.
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": {
"ref": "<ref>",
"justificativa": "<justificativa>"
},
"name": "cancelar_nfe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | A ref da nota a cancelar. | |
| justificativa | Yes | Motivo do cancelamento (minimo 15 caracteres). |