UPO (KSeF receipt)
The official confirmation KSeF issues for received invoices, with the KSeF number and the date the invoice entered the system.
UPO (urzędowe poświadczenie odbioru) is the official confirmation KSeF issues for received invoices, with the KSeF number and the date the invoice entered the system. It is the proof that an invoice was delivered, and when.
In KSeF an invoice counts as issued on the day it is sent and as received on the day the system assigns its KSeF number; the UPO is the proof. Integrations download it after each sending session and store it next to the invoice, because it settles disputes about whether and when an invoice was delivered. A rejected invoice gets an error instead and has to be corrected and sent again.
Sending an invoice and collecting its UPO are separate steps, so an integration must track invoices still waiting for confirmation and retry the download without sending the invoice twice (idempotency). Invoices issued in an offline mode get their KSeF number and UPO only once they are sent to the system. The technical documentation is published on the official portal ksef.podatki.gov.pl.
Sources
- Ministerstwo Finansów: Krajowy System e-Faktur (KSeF) ksef.podatki.gov.pl
Related terms
- KSeF (Polish National e-Invoice System): Poland’s central system for structured e-invoices: invoices are sent as FA(3) XML and receive a KSeF number.
- KSeF offline modes: Ways to issue invoices when KSeF or your connection is down, then send them later, marked with QR codes.
- Webhook: An HTTP request one system sends to another when something happens, instead of the other system asking repeatedly.
- Idempotency (idempotency key): An operation is idempotent if doing it twice has the same effect as doing it once. Retries become safe.
- Runbook: A short document that tells someone else how to run a system: where it lives, how to deploy, how to recover.
