DocumentItem
List of receipt items
Properties
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
id |
string (uuid) | |||
documentId |
string (uuid) | |||
externalId |
string | |||
referenceDocumentId |
string | |||
type |
string (SALE | PACKING_REFUND | REFUND | UPDATE | DISCOUNT | DEPOSIT | VOUCHER | PACKING) |
Document item type definition: - SALE: An item with a non-negative value recorded on the document (kladná položka)- PACKING_REFUND: item with a negative value for purchased backed-up packaging. Item with this type must have zero vat rate. (Vrátené obaly)- REFUND: Item with a negative value - cancellation of the previously registered item (Vrátená položka)- UPDATE: Adjustment item with the previous document reference. Its value is equal to the item in the referenced document, but with the opposite sign (Opravná položka)- DISCOUNT: Item with a negative value when providing a discount on the document (Zľava) - DEPOSIT: Negative item equal to the amount received in the advance (Odpočítaná záloha)- VOUCHER: Voucher application. The same voucher number must have exactly one sale item.- PACKING: Returnable packaging. Item with this type must have zero vat rate. (Vratné obaly) |
||
price |
number | |||
quantity |
number | |||
name |
string | |||
totalPrice |
number | |||
vatRate |
string (23% | 20% | 19% | 10% | 5% | 0% | Suma) |
Vat rate definition: - VAT_20: Basic vat rate (up to 2024)- VAT_10: Reduced vat rate (up to 2024)- VAT_0: Zero or no vat rate (eg. for packing refunds)- VAT_23: Basic vat rate (from 2025 onwards)- VAT_19: Reduced vat rate (from 2025 onwards)- VAT_5: Second reduced vat rate (from 2025 onwards)- TOTAL: VAT totals (only internal usage) |
||
seller |
Seller | |||
specialRegulation |
string (PDP | OOD | CK | PT | UD | ZPS) |
Special regulation reason: - PDP: Transfer of tax liability (prenesenie daňovej povinnosti)- OOD: Item exempt from tax (oslobodené od dane)- CK: Travel agency item (úprava zdaňovania prirážky - cestovné kancelárie)- PT: Used item (úprava zdaňovania prirážky - použitý tovar)- UD: Artwork (úprava zdaňovania prirážky - umelecké diela)- ZPS: Collectibles and antiques (úprava zdaňovania prirážky - zberateľské predmety a starožitnosti) |
||
voucherNumber |
string | |||
voucherRef |
string |