Error codes · KSeF 2.0 · Poland

KSEF-21178Partly

KSeF UPO (Urzędowe Poświadczenie Odbioru) not found

This is the rejection, word for word: „[KSEF-21178] You requested the UPO (Urzędowe Poświadczenie Odbioru — the official acceptance confirmation) for a KSeF invoice, but the system could not find a UPO matching the provided criteria. Either the invoice has not yet been assigned a UPO, or the search parameters (referenceNumber, KSeF number, sessionReferenceNumber) do not identify a valid invoice.“

The 21178 code surfaces on GET /invoices/{ksefNumber}/upo and related UPO retrieval endpoints. Common root causes: the invoice is still in processing state (UPO not yet generated), the KSeF number in the request path is malformed, or the requesting entity does not have permission to see the UPO for that invoice. The response payload uses HTTP 404 with body code 21178.

What to have readyThe correct figures from your bookkeeping; we show you which field is affected.
What we doVerify the invoice reached terminal status before requesting UPO. Check the KSeF number format and the requesting user permissions.
What the finding looks likeExample
FindingNeeds your check · KSEF-21178
From youThe correct figures
ThenChecked again
ProofSHA-256 and /verify link after the check