Fehlercodes · ksef · Polen
KSeF Duplicate Invoice Rejection (HTTP 440)
So lautet die Ablehnung wörtlich: „[KSEF-440] The KSeF system rejected your invoice because it detected a duplicate submission. KSeF checks the combination of seller NIP, invoice number, and invoice date against all invoices submitted in the last 10 years. If a match is found, the API returns HTTP status 440 and the invoice is not accepted.“
KSeF performs duplicate detection by hashing three fields: the seller's NIP (Numer Identyfikacji Podatkowej), the invoice number (P_2), and the invoice issue date (P_1). This check uses a 10-year lookback window. The FA(3) schema enforces these as mandatory fields, so the duplicate check always runs. The error is returned as an HTTP 440 status code from the KSeF REST API v2.0 endpoint /online/Invoice/Send.
<Fa>\n <P_1>2026-03-25</P_1>\n <P_2>FV/2026/03/0041</P_2>\n</Fa>
<Fa>\n <P_1>2026-03-25</P_1>\n <P_2>FV/2026/03/0042</P_2>\n</Fa>