{
  "id": "evt_01HY3GH4J6KLMNPQRSTUVWXYZ1",
  "type": "document.failed",
  "livemode": true,
  "createdAt": "2026-04-25T10:05:03.108Z",
  "apiVersion": "2026-04-01",
  "data": {
    "documentId": "doc_01HY7GH4J6KLMNPQRSTUVWXYZ1",
    "failedAt": "2026-04-25T10:05:02.901Z",
    "errorCode": "AP_REJECTED",
    "errorMessage": "Recipient access point rejected the payload (BR-CO-15: invoice total mismatch).",
    "recipientAccessPoint": "ap.example-ap.eu",
    "attempt": 3,
    "willRetry": false,
    "diagnostics": {
      "rule": "BR-CO-15",
      "reportedBy": "recipient-ap"
    }
  }
}
