Errors

When invoice has an status error or rejected this can be due to few reasons at KSeF.

Any processing message for the Invoice, A-Cube sent to the webhooks defined for:

  • legal-entity-invoice-sender
  • legal-entity-invoice-sync
  • legal-entity-invoice-upo

More about Webhook Types

Please notice that the webhook URL for these events can be the same. Format of information we send is the same.

Copy
Copied
{
  "legalEntityUuid": "8b8b8755-5850-4ead-9c68-8243f4ac2748",
  "invoiceUuid": "",
  "status": "error",
  "message": "Invoice not found for 20221010-EE-50240D9E96-CA3CF1D223-44.",
  "ksefReferenceNumber": "8431324763-20221010-6E6E9F-EEE4EE-7B",
  "acquisitionTimestamp": "2022-10-10 14:39:21"
}
Copy
Copied
{
  "legalEntityUuid": "8b8b8755-5850-4ead-9c68-8243f4ac2748",
  "invoiceUuid": "71d22ec9-c643-4eba-b9cb-886f516c4d51",
  "status": "rejected",
  "message": "verify invoice semantics failed",
  "ksefReferenceNumber": "",
  "acquisitionTimestamp": null
}

(The exact processing code of the error is stored in invoice record)

Internal Error Code Message Potential Reason
405 Sanity Check Failed
410 Authorize Failed
415 Security Failed
416 Security Second Failed
420 Decrypt Failed
425 Verify Invoice Semantics Failed
430 Verify Essentials Failed
435 Verify Accept Failed
440 Archive Data Failed
445 Finalize Failed