Cash
Cash in or out data
Properties
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
internalDocumentId |
integer (int32) | Internal id generated by PPEKK | 10 |
|
sequenceId |
integer (int32) | Former sequence id of Document. Kept for compatibility with previous API. Right now is always equal to -1. |
-1 |
|
merchant |
Merchant | |||
cashRegisterCode |
string | Cash register code | "88812345678900001" |
|
amount |
number | ✓ | Amount of cash withdraw or deposit. If the value is positive, it is deposit, if negative, it is withdrawal. Zero is not allowed. |
100 |
issueDate |
string (date-time) | Date of issuing receipt. This is NOT equal with createDate only for paragon document | ||
createDate |
string (date-time) | Date of creation in ekasa | ||
processDate |
string (date-time) | Former process datetime of receipt on eKasa. Kept for compatibility with previous API. Since the Cash documents are not being sent anywhere, it is always null. |
||
uuid |
string | Receipt UUID generated by eKasa. Not present if offline receipt | "-DEPRECATED" |
|
pkp |
string | Pkp printed on receipt | "-DEPRECATED" |
|
okp |
string | OKP printed on receipt. Not used anymore. Kept for compatibility with previous API. | "-DEPRECATED" |
|
exception |
boolean | If this document has exception to send offline receipts later. Not used anymore. Kept for compatibility with previous API. | ||
electronic |
boolean | Kept for compatibility with previous API. Not used. | ||
documentNumber |
string | Formatted cash document number | ||
qrCode |
string | Former QR code printed on receipt. Not used anymore. Kept for compatibility with previous API. | ||
status |
EkasaStatus | |||
documentType |
string (PD | UF | ND | VY | VK) |
Document type enumeration: - PD: Standard (pokladnicny doklad)- UF: Invoice (uhrada faktury)- ND: Invalid document used for testing purposes (neplatny dokument)- VY: Cash withdrawal (vyber)- VK: Cash deposit (vklad) |