# VeriFactu registration status changed API Reference

Delivered whenever the VeriFactu registration status of an invoice changes, starting
with `PENDING` when the record is submitted.

**Trigger:** the record is submitted (`PENDING`, with no `previous_status`), and then the
AEAT answers it (usually within seconds to minutes).
Sent only when the public status changes (`new_status` differs from `previous_status`):
a temporary AEAT server error keeps the record `PENDING` while BeeL. retries it, and
sends no webhook.

**Recommended actions on `ACCEPTED`:**
- Store `invoice_hash` and `qr_url` for audit trail.
- Embed the QR code (`qr_base64`) in the customer's PDF if needed.

**Recommended actions on `REJECTED`:**
- Alert the user — they need to correct and resubmit the invoice.
- Log `error_code` and `error_message` for debugging.

**Always verify `BeeL-Signature` before processing.**


> Not rendered here (no operation matched this page) — see the full OpenAPI spec at https://docs.beel.es/api/openapi


---

Full OpenAPI spec: https://docs.beel.es/api/openapi