StoreDocumentRequest
Properties
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
type |
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) |
|
externalId |
string | Id of this document in external software. Used for search purposes. | "03/02" |
|
invoiceId |
string | Invoice number. Required when the document type is UF. |
"FA00001" |
|
amount |
number | ✓ | Amount of receipt. This is checked against the sum of all items | |
paragonDate |
string (date-time) | Issue date of a paragon. Used for paragon registration only. | ||
paragonNumber |
integer (int32) | Paragon number. Must be filled along with paragonDate. | ||
documentEntries |
array[DocumentReceiptItem] | Items sold on receipt. | ||
payments |
object | Payment types and sums used for receipt payment. This parameter sum is NOT checked against receipt sum. | ||
header |
string | Custom header to print at the top of the receipt | ||
footer |
string | Custom footer to print at the bottom of the receipt | ||
printer |
Printer | Printer on which the document should be printed. Set null or empty for default printer. |
||
electronicReceipt |
boolean | If the client wants an electronic receipt, set this value to true. Receipt will not be printed only if is online. Offline receipts will always be printed. |
||
openDrawer |
boolean | If set to true, a cash drawer will be opened while printing. |
||
exception |
boolean | If set to true, the merchant has granted an exception from sending data from ORP to eKasa system. |