Registrar evento (bpeRecepcaoEvento)
bpe_registrar_eventoRegisters BP-e cancellation, non-boarding, or seat-change events by building the event ID, signing event data, and submitting signed XML to SEFAZ.
Instructions
Registra Cancelamento (110111), Não Embarque (110115) ou Alteração de Poltrona (110116). Monta Id = ID+tpEvento+chBPe+nSeqEvento, assina infEvento e envia XML puro.
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": {
"tpEvento": "<tpEvento>",
"chBPe": "<chBPe>",
"nProt": "<nProt>"
},
"name": "bpe_registrar_evento"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnpj | No | CNPJ do autor (padrão: BPE_CNPJ_EMITENTE ou CNPJ da chave) | |
| chBPe | Yes | ||
| nProt | Yes | Protocolo de autorização do BP-e | |
| xJust | No | Obrigatório para 110111 e 110115 | |
| dhEvento | No | ||
| poltrona | No | Obrigatório para 110116 | |
| tpEvento | Yes | ||
| nSeqEvento | No |