Skip to main content

Receipt Case Definitions

This chapter expands on the definitions of Receipt Cases covered in Chapter "Receipt Case Definitions" of the General Part, with country-specific information applicable to the Polish market.

Processing overview

How the Middleware processes each receipt case category in Poland:

CategoryCasesPolish processing
Receipt0000, 0001, 0004Sent to the certified register through the SCU; the register assigns the fiscal document number and reports to the CRK. 0000 (unknown) is handled like a POS receipt (0001).
Receipt0002, 0003Recorded by the queue only (no register interaction). 0003 covers sales outside the fiscalization obligation.
Receipt00050007Rejected as not supported for the Polish market.
Invoice10001003Never sent to the register. Persisted by the queue and marked with the signature "Stored, not fiscalized" (0x504C_2000_0000_0106); fiscalization happens via KSeF once a KSeF SCU is configured.
DailyOperations2000Zero receipt — reads the register status through the SCU.
DailyOperations2011Daily closing — triggers the legally required daily (Z) report (raport dobowy) on the register.
DailyOperations2012, 2013Monthly/yearly closing — trigger the periodic report on the register.
DailyOperations2001, 2010Recorded by the queue only.
Log/Protocol3xxxRecorded by the queue; no register interaction.
Lifecycle4001Initial operation — registers the queue and verifies via the SCU that the connected register reports itself as fiscalized (fiscalizing the register itself is a certified-technician act).
Lifecycle4002Out of operation — deregisters the queue.
Lifecycle4011, 4012Acknowledged without register interaction.

Constraints enforced by the queue

  • Currency PLN on the receipt and on every charge/pay item (error code CurrencyMustMatchMarket).
  • No mixed sale and return positions in one document — returns are separate documents on the register side.
  • Paragon z NIP: the ReceiverIsBusiness flag requires the buyer's NIP as CustomerVATId in cbCustomer.
  • Register unreachable: fiscal cases fail with 0x504C_2001_EEEE_EEEE (Art. 111(3) — no working register, no sale).