Br Cancel Nfse
br__cancel_nfseCancel an NFS-e electronically in the ADN system. Use this action to request irreversible cancellation, with two-step confirmation required for processing.
Instructions
Solicitar cancelamento de uma NFS-e no ADN.
Cancelamento é uma operação irreversível e exige confirmação em duas
etapas (ConfirmationGate). Defina BR_READ_ONLY=1 para desabilitar.
[Unverified — endpoint e formato de requisição são inferidos.]
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": {
"ch_nfse": "<ch_nfse>",
"motivo": "<motivo>",
"client_id": "<client_id>",
"client_secret": "<client_secret>"
},
"name": "br__cancel_nfse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | OAuth2 scope override | |
| motivo | Yes | Motivo do cancelamento (texto livre) | |
| tp_amb | No | Identificação do Ambiente (tpAmb): '1' = produção, '2' = homologação | 2 |
| ch_nfse | Yes | Chave de acesso da NFS-e a cancelar (53 caracteres) | |
| client_id | Yes | Client ID OAuth2 gov.br | |
| client_secret | Yes | Client Secret OAuth2 gov.br | |
| endpoint_override | No | URL base do ADN override | |
| confirmation_token | No | Token de confirmação obtido de uma chamada anterior pendente. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||