KSeF

KSeF statuses 430, 435 and 450: verification errors

Official meaning of KSeF invoice statuses 430, 435 and 450 (file verification, file decryption, document semantics) and how Notaly reports them.

Published 2 min readBy Tomek

Overview

KSeF statuses 430, 435 and 450 are invoice processing statuses that end with the invoice not being accepted. In English their official descriptions read: invoice file verification error (430), file decryption error (435) and invoice document semantics verification error (450). The verbatim Polish text from the specification is below.

430  Błąd weryfikacji pliku faktury
435  Błąd odszyfrowania pliku
450  Błąd weryfikacji semantyki dokumentu faktury

What each description refers to

The three descriptions name three different objects. 430 names the invoice file, 435 names the decryption of the file, and 450 names the semantics of the invoice document. In an online session the invoice is not sent in plain text: it is encrypted with AES-256, and the symmetric key is wrapped with the Ministry of Finance public key. The 435 description refers to decrypting that file. The specification table gives no further explanation for any of the three codes, so we do not add one.

Details from KSeF

Next to the code and description, the status can carry a details list with KSeF's own text for that invoice. When it is present, it is the authoritative explanation for your document. In Notaly the public error field contains only the stable code, for example ksef_rejected:450, never the raw KSeF text. If you need the details for a specific rejected invoice, open a ticket with the Support button.

Do not confuse them with 21401

21401 is an exception returned only by the /v2/auth/xades-signature endpoint; its official description says that the document does not conform to the schema (xsd). It concerns the XAdES document used for certificate-based authentication, not the FA(3) invoice, and it is not an invoice status.

21401  Dokument nie jest zgodny ze schemą (xsd)

Do not confuse them with 422

A 422 from Notaly is not a KSeF code. It means the payload failed Notaly's own checks, such as the NIP checksum or the date format, before anything was sent to KSeF.

Disclaimer

Notaly is not a tax, accounting or legal advisor. This article is general information, not tax advice, and may be outdated. You are responsible for your own VAT compliance; confirm with a qualified accountant where required.

Sources

Source: api-test.ksef.mf.gov.pl

Frequently asked questions

Is 450 the same as 21401?

No. 450 is an invoice processing status. 21401 is an exception on the XAdES authentication endpoint and concerns the XAdES authentication document, not the FA(3) invoice.

Where do I see these codes in Notaly?

In the error field of the rejected invoice, as ksef_rejected:430, ksef_rejected:435 or ksef_rejected:450.

Issue your first KSeF test invoice today

Create a sandbox account: API key in seconds, 3 free test invoices on KSeF TEST, no credit card.