Webhooks de saída
Seu sistema recebe eventos quando a nota muda de status.
Eventos
invoice.authorized— emitidainvoice.rejected— erro permanente / recusainvoice.canceled— canceladainvoice.status_changed— espelho genérico
Headers
Content-Type: application/json
X-Platform-Event: invoice.authorized
X-Platform-Signature: {hmac_sha256_hex(secret, body)}
Body (exemplo)
{
"event": "invoice.authorized",
"original_event": "invoice.authorized",
"data": {
"order_id": "ord_…",
"invoice_id": "inv_…",
"external_ref": "pedido-123",
"invoice_model": "nfse",
"status": "emitida",
"chave": "",
"numero": "1"
},
"sent_at": "2026-01-01T12:00:00.000Z"
}
Cadastre a URL em Webhooks saída no app. Entregas ficam no log de deliveries.