Ticket Model States
Understanding the Various Phases of Tickets
A ticket, depending on its state, represents either a customer order or a printed receipt. The ticket has two defined states:
Opened: Represents a customer order that has not been paid yet.
Closed: Once the ticket is printed on the receipt printer (or sent as e-mail receipt), it is marked as closed and becomes uneditable.
You can determine whether a ticket is closed by checking the value of the closeInfo
and closeDate
properties. If the value both properties is null
, the ticket is open and can be edited. If the values are not null
, the ticket is closed, and the closeInfo
value contains information about the closing procedure. This information includes details such as the fiscal printer name, receipt sequence number and the unique receipt identifier provided by the tax authority (FinanΔnΓ‘ sprΓ‘va in Slovakia).
Last updated