Refund (v1)
Refund item definition (e.g. deposit/bottle refund). Items may require one of these refund objects.
| # | Field | Type | Description |
|---|---|---|---|
| 0 | id | int | internal refund id |
| 1 | name | string | refund name (translatable) |
| 2 | ident | string | optional identifier (e.g. barcode) |
| 3 | val | double | refund value (for invoicing) |
| 4 | vat | double | VAT percentage |
| 5 | visible | int | 1 if visible to customer, 0 otherwise |
| 6 | sorting | int | sorting sequence if shown in lists |
| 7 | iid | int | reference to an item that requires this refund (0 if none) |
| 8 | weightgrams | int | weight of the deposit item itself (e.g. empty bottle/crate), in grams |