@kreiseck/kasseneck-api 1.35.1 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -10
- package/dist/cjs/client/api.d.ts +15 -1
- package/dist/cjs/client/api.js +4 -0
- package/dist/cjs/client/aufrufe.d.ts +3 -3
- package/dist/cjs/client/aufrufe.js +15 -0
- package/dist/cjs/client/auth.d.ts +9 -3
- package/dist/cjs/client/auth.js +5 -4
- package/dist/cjs/client/ewp.d.ts +125 -0
- package/dist/cjs/client/ewp.js +95 -0
- package/dist/cjs/client/index.d.ts +1 -0
- package/dist/cjs/client/index.js +4 -1
- package/dist/cjs/client/list-deposit-types.d.ts +3 -0
- package/dist/cjs/client/list-deposit-types.js +3 -0
- package/dist/cjs/client/receipts.d.ts +4 -4
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +4 -2
- package/dist/cjs/invoice/index.d.ts +2 -2
- package/dist/cjs/invoice/index.js +2 -1
- package/dist/cjs/invoice/texte.d.ts +5 -0
- package/dist/cjs/invoice/texte.js +10 -0
- package/dist/cjs/invoice/typen.d.ts +34 -1
- package/dist/cjs/invoice/vertrag.d.ts +13 -4
- package/dist/cjs/invoice/vertrag.js +29 -6
- package/dist/cjs/payments/hobex-hps/index.d.ts +2 -1
- package/dist/cjs/payments/hobex-hps/index.js +3 -1
- package/dist/cjs/payments/hobex-hps/outcome.d.ts +10 -0
- package/dist/cjs/payments/hobex-hps/payments.d.ts +54 -0
- package/dist/cjs/payments/hobex-hps/payments.js +157 -1
- package/dist/cjs/payments/hobex-hps/support.d.ts +19 -0
- package/dist/cjs/payments/hobex-hps/support.js +22 -0
- package/dist/cjs/payments/hobex-hps/transaction-response.js +1 -1
- package/dist/cjs/payments/index.d.ts +1 -1
- package/dist/cjs/payments/index.js +2 -1
- package/dist/cjs/pos/errors.d.ts +1 -1
- package/dist/cjs/pos/errors.js +1 -0
- package/dist/cjs/pos/index.d.ts +4 -4
- package/dist/cjs/pos/index.js +13 -5
- package/dist/cjs/pos/schicht-lesen.d.ts +3 -1
- package/dist/cjs/pos/schicht-lesen.js +23 -1
- package/dist/cjs/pos/schicht-typen.d.ts +39 -4
- package/dist/cjs/pos/schicht-typen.js +7 -2
- package/dist/cjs/pos/schicht.d.ts +6 -4
- package/dist/cjs/pos/schicht.js +6 -3
- package/dist/cjs/pos/settings.d.ts +37 -8
- package/dist/cjs/pos/settings.js +34 -10
- package/dist/cjs/pos/texte.d.ts +249 -2
- package/dist/cjs/pos/texte.js +139 -4
- package/dist/cjs/pos/trinkgeld.d.ts +30 -0
- package/dist/cjs/pos/trinkgeld.js +30 -0
- package/dist/cjs/receipt/shift-sheet.js +6 -1
- package/dist/cjs/register/pairing.d.ts +4 -0
- package/dist/cjs/register/pairing.js +2 -0
- package/dist/cjs/stored/vokabular.d.ts +1 -1
- package/dist/cjs/stored/vokabular.js +12 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/client/api.d.ts +15 -1
- package/dist/esm/client/api.js +4 -0
- package/dist/esm/client/aufrufe.d.ts +3 -3
- package/dist/esm/client/aufrufe.js +15 -0
- package/dist/esm/client/auth.d.ts +9 -3
- package/dist/esm/client/auth.js +5 -4
- package/dist/esm/client/ewp.d.ts +125 -0
- package/dist/esm/client/ewp.js +89 -0
- package/dist/esm/client/index.d.ts +1 -0
- package/dist/esm/client/index.js +1 -0
- package/dist/esm/client/list-deposit-types.d.ts +3 -0
- package/dist/esm/client/list-deposit-types.js +3 -0
- package/dist/esm/client/receipts.d.ts +4 -4
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/invoice/index.d.ts +2 -2
- package/dist/esm/invoice/index.js +1 -1
- package/dist/esm/invoice/texte.d.ts +5 -0
- package/dist/esm/invoice/texte.js +10 -0
- package/dist/esm/invoice/typen.d.ts +34 -1
- package/dist/esm/invoice/vertrag.d.ts +13 -4
- package/dist/esm/invoice/vertrag.js +28 -5
- package/dist/esm/payments/hobex-hps/index.d.ts +2 -1
- package/dist/esm/payments/hobex-hps/index.js +1 -0
- package/dist/esm/payments/hobex-hps/outcome.d.ts +10 -0
- package/dist/esm/payments/hobex-hps/payments.d.ts +54 -0
- package/dist/esm/payments/hobex-hps/payments.js +158 -2
- package/dist/esm/payments/hobex-hps/support.d.ts +19 -0
- package/dist/esm/payments/hobex-hps/support.js +19 -0
- package/dist/esm/payments/hobex-hps/transaction-response.js +1 -1
- package/dist/esm/payments/index.d.ts +1 -1
- package/dist/esm/payments/index.js +1 -1
- package/dist/esm/pos/errors.d.ts +1 -1
- package/dist/esm/pos/errors.js +1 -0
- package/dist/esm/pos/index.d.ts +4 -4
- package/dist/esm/pos/index.js +5 -5
- package/dist/esm/pos/schicht-lesen.d.ts +3 -1
- package/dist/esm/pos/schicht-lesen.js +22 -1
- package/dist/esm/pos/schicht-typen.d.ts +39 -4
- package/dist/esm/pos/schicht-typen.js +6 -1
- package/dist/esm/pos/schicht.d.ts +6 -4
- package/dist/esm/pos/schicht.js +6 -3
- package/dist/esm/pos/settings.d.ts +37 -8
- package/dist/esm/pos/settings.js +30 -9
- package/dist/esm/pos/texte.d.ts +249 -2
- package/dist/esm/pos/texte.js +138 -3
- package/dist/esm/pos/trinkgeld.d.ts +30 -0
- package/dist/esm/pos/trinkgeld.js +28 -0
- package/dist/esm/receipt/shift-sheet.js +6 -1
- package/dist/esm/register/pairing.d.ts +4 -0
- package/dist/esm/register/pairing.js +2 -0
- package/dist/esm/stored/vokabular.d.ts +1 -1
- package/dist/esm/stored/vokabular.js +12 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/fixtures/duplicate-cases.json +1 -1
- package/fixtures/expected/duplicate.shift-close.hex +1 -1
- package/fixtures/expected/shift-close-card-tips.grid32.txt +44 -0
- package/fixtures/expected/shift-close-card-tips.grid48.txt +40 -0
- package/fixtures/expected/shift-close-card-tips.lines.json +479 -0
- package/fixtures/expected/shift-close-put-in.grid32.txt +1 -1
- package/fixtures/expected/shift-close-put-in.grid48.txt +1 -1
- package/fixtures/expected/shift-close-put-in.lines.json +1 -1
- package/fixtures/expected/shift-close-take-out.grid32.txt +1 -1
- package/fixtures/expected/shift-close-take-out.grid48.txt +1 -1
- package/fixtures/expected/shift-close-take-out.lines.json +1 -1
- package/fixtures/expected/shift-close.grid32.txt +1 -1
- package/fixtures/expected/shift-close.grid48.txt +1 -1
- package/fixtures/expected/shift-close.lines.json +1 -1
- package/fixtures/expected/shift-interim-card-tips.grid32.txt +34 -0
- package/fixtures/expected/shift-interim-card-tips.grid48.txt +31 -0
- package/fixtures/expected/shift-interim-card-tips.lines.json +344 -0
- package/fixtures/hobex-hps-codes.json +2 -2
- package/fixtures/invoice-api-examples/issue-error-deposit.json +39 -0
- package/fixtures/invoice-api-examples/issue-invoice-deposit.json +55 -0
- package/fixtures/invoice-api.schema.json +65 -2
- package/fixtures/invoice-texts.json +11 -1
- package/fixtures/pos-texts.json +300 -3
- package/fixtures/renames-1.0.json +10 -0
- package/fixtures/shift-ablauf-cases.json +4 -4
- package/fixtures/shift-cases.json +4 -2
- package/fixtures/shift-receipts-card-tips.json +73 -0
- package/fixtures/shift-receipts.json +9 -9
- package/fixtures/stored/card-tip-cases.json +132 -0
- package/fixtures/surface.json +33 -8
- package/fixtures/v3/antworten/belege.json +1 -1
- package/fixtures/v3/antworten/belegmail.json +1 -1
- package/fixtures/v3/antworten/berichte.json +1 -1
- package/fixtures/v3/antworten/kasse-belege.json +1 -1
- package/fixtures/v3/antworten/kasse.json +240 -3
- package/fixtures/v3/antworten/lager.json +1 -1
- package/fixtures/v3/antworten/rechnungen.json +1 -1
- package/fixtures/v3/antworten/storno.json +1 -1
- package/fixtures/v3/stored/belege.json +1 -1
- package/fixtures/v3/stored/kasse.json +2 -2
- package/fixtures/v3/stored/rechnungen.json +1 -1
- package/fixtures/v3/v3-vokabular.json +459 -17
- package/fixtures/v3/zahlbetrag-faelle.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lines": [
|
|
3
|
+
{
|
|
4
|
+
"kind": "banner",
|
|
5
|
+
"text": "Zwischenbericht",
|
|
6
|
+
"tone": "receipt_type"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"kind": "text",
|
|
10
|
+
"text": "Café Welt",
|
|
11
|
+
"align": "center",
|
|
12
|
+
"bold": true
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"kind": "columns",
|
|
16
|
+
"columns": [
|
|
17
|
+
{
|
|
18
|
+
"text": "Kasse",
|
|
19
|
+
"width": 5,
|
|
20
|
+
"align": "left"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"text": "Theke 1",
|
|
24
|
+
"width": 7,
|
|
25
|
+
"align": "right"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"kind": "columns",
|
|
31
|
+
"columns": [
|
|
32
|
+
{
|
|
33
|
+
"text": "Lade",
|
|
34
|
+
"width": 5,
|
|
35
|
+
"align": "left"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"text": "Hauptlade",
|
|
39
|
+
"width": 7,
|
|
40
|
+
"align": "right"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"kind": "columns",
|
|
46
|
+
"columns": [
|
|
47
|
+
{
|
|
48
|
+
"text": "Schicht",
|
|
49
|
+
"width": 5,
|
|
50
|
+
"align": "left"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"text": "Nr. 2",
|
|
54
|
+
"width": 7,
|
|
55
|
+
"align": "right"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "columns",
|
|
61
|
+
"columns": [
|
|
62
|
+
{
|
|
63
|
+
"text": "Geöffnet",
|
|
64
|
+
"width": 5,
|
|
65
|
+
"align": "left"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"text": "25.09.2026 17:00",
|
|
69
|
+
"width": 7,
|
|
70
|
+
"align": "right"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"kind": "columns",
|
|
76
|
+
"columns": [
|
|
77
|
+
{
|
|
78
|
+
"text": "von",
|
|
79
|
+
"width": 5,
|
|
80
|
+
"align": "left"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"text": "Anna Chef",
|
|
84
|
+
"width": 7,
|
|
85
|
+
"align": "right"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"kind": "rule",
|
|
91
|
+
"char": "-"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"kind": "columns",
|
|
95
|
+
"columns": [
|
|
96
|
+
{
|
|
97
|
+
"text": "Startgeld übernommen",
|
|
98
|
+
"width": 8,
|
|
99
|
+
"align": "left"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"text": "150,00",
|
|
103
|
+
"width": 4,
|
|
104
|
+
"align": "right"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"kind": "text",
|
|
110
|
+
"text": "Anfang übernommen, nicht gezählt",
|
|
111
|
+
"align": "left",
|
|
112
|
+
"bold": false
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"kind": "columns",
|
|
116
|
+
"columns": [
|
|
117
|
+
{
|
|
118
|
+
"text": "Bar aus Verkäufen",
|
|
119
|
+
"width": 8,
|
|
120
|
+
"align": "left"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"text": "94,00",
|
|
124
|
+
"width": 4,
|
|
125
|
+
"align": "right"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"kind": "columns",
|
|
131
|
+
"columns": [
|
|
132
|
+
{
|
|
133
|
+
"text": "Kartentrinkgeld bar genommen",
|
|
134
|
+
"width": 8,
|
|
135
|
+
"align": "left"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"text": "-5,00",
|
|
139
|
+
"width": 4,
|
|
140
|
+
"align": "right"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"kind": "columns",
|
|
146
|
+
"columns": [
|
|
147
|
+
{
|
|
148
|
+
"text": "Bar aus Storno",
|
|
149
|
+
"width": 8,
|
|
150
|
+
"align": "left"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"text": "0,00",
|
|
154
|
+
"width": 4,
|
|
155
|
+
"align": "right"
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"kind": "text",
|
|
161
|
+
"text": "Bewegungen",
|
|
162
|
+
"align": "left",
|
|
163
|
+
"bold": true
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"kind": "columns",
|
|
167
|
+
"columns": [
|
|
168
|
+
{
|
|
169
|
+
"text": "Nr. 3 Wechselgeld",
|
|
170
|
+
"width": 8,
|
|
171
|
+
"align": "left"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"text": "50,00",
|
|
175
|
+
"width": 4,
|
|
176
|
+
"align": "right"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"kind": "columns",
|
|
182
|
+
"columns": [
|
|
183
|
+
{
|
|
184
|
+
"text": "Soll",
|
|
185
|
+
"width": 8,
|
|
186
|
+
"align": "left"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"text": "289,00",
|
|
190
|
+
"width": 4,
|
|
191
|
+
"align": "right"
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"kind": "rule",
|
|
197
|
+
"char": "-"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"kind": "text",
|
|
201
|
+
"text": "Unbar (nur Information)",
|
|
202
|
+
"align": "left",
|
|
203
|
+
"bold": true
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"kind": "columns",
|
|
207
|
+
"columns": [
|
|
208
|
+
{
|
|
209
|
+
"text": "Kartenzahlung",
|
|
210
|
+
"width": 8,
|
|
211
|
+
"align": "left"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"text": "37,00",
|
|
215
|
+
"width": 4,
|
|
216
|
+
"align": "right"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"kind": "columns",
|
|
222
|
+
"columns": [
|
|
223
|
+
{
|
|
224
|
+
"text": "Belege",
|
|
225
|
+
"width": 8,
|
|
226
|
+
"align": "left"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"text": "4",
|
|
230
|
+
"width": 4,
|
|
231
|
+
"align": "right"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"kind": "columns",
|
|
237
|
+
"columns": [
|
|
238
|
+
{
|
|
239
|
+
"text": "Stornos",
|
|
240
|
+
"width": 8,
|
|
241
|
+
"align": "left"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"text": "0",
|
|
245
|
+
"width": 4,
|
|
246
|
+
"align": "right"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"kind": "columns",
|
|
252
|
+
"columns": [
|
|
253
|
+
{
|
|
254
|
+
"text": "Öffnungen ohne Verkauf",
|
|
255
|
+
"width": 8,
|
|
256
|
+
"align": "left"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"text": "1",
|
|
260
|
+
"width": 4,
|
|
261
|
+
"align": "right"
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "rule",
|
|
267
|
+
"char": "-"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"kind": "text",
|
|
271
|
+
"text": "Trinkgeld",
|
|
272
|
+
"align": "left",
|
|
273
|
+
"bold": true
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"kind": "text",
|
|
277
|
+
"text": "Ben Kellner",
|
|
278
|
+
"align": "left",
|
|
279
|
+
"bold": false
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"kind": "columns",
|
|
283
|
+
"columns": [
|
|
284
|
+
{
|
|
285
|
+
"text": " verdient",
|
|
286
|
+
"width": 8,
|
|
287
|
+
"align": "left"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"text": "9,00",
|
|
291
|
+
"width": 4,
|
|
292
|
+
"align": "right"
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"kind": "columns",
|
|
298
|
+
"columns": [
|
|
299
|
+
{
|
|
300
|
+
"text": " genommen",
|
|
301
|
+
"width": 8,
|
|
302
|
+
"align": "left"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"text": "5,00",
|
|
306
|
+
"width": 4,
|
|
307
|
+
"align": "right"
|
|
308
|
+
}
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "columns",
|
|
313
|
+
"columns": [
|
|
314
|
+
{
|
|
315
|
+
"text": " davon Kartentrinkgeld",
|
|
316
|
+
"width": 8,
|
|
317
|
+
"align": "left"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"text": "5,00",
|
|
321
|
+
"width": 4,
|
|
322
|
+
"align": "right"
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"kind": "columns",
|
|
328
|
+
"columns": [
|
|
329
|
+
{
|
|
330
|
+
"text": " offen",
|
|
331
|
+
"width": 8,
|
|
332
|
+
"align": "left"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"text": "4,00",
|
|
336
|
+
"width": 4,
|
|
337
|
+
"align": "right"
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"paperSize": "mm58",
|
|
343
|
+
"ruleset": 2
|
|
344
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.37.0",
|
|
3
3
|
"measuredOn": {
|
|
4
4
|
"tid": "3600335",
|
|
5
5
|
"hpsVersion": "1.10.0",
|
|
@@ -4412,7 +4412,7 @@
|
|
|
4412
4412
|
],
|
|
4413
4413
|
"reasons": {
|
|
4414
4414
|
"approved": "Vom Terminal genehmigt.",
|
|
4415
|
-
"approvedWithCondition": "Das Terminal meldet eine Genehmigung mit Vorbehalt (etwa nur über einen Teilbetrag). Ob und in welcher Höhe belastet wurde,
|
|
4415
|
+
"approvedWithCondition": "Das Terminal meldet eine Genehmigung mit Vorbehalt (etwa nur über einen Teilbetrag). Ob und in welcher Höhe belastet wurde, weiß hobex – nicht erneut kassieren, bevor es geklärt ist.",
|
|
4416
4416
|
"aborted": "Der Vorgang wurde abgebrochen. Es wurde kein Geld bewegt.",
|
|
4417
4417
|
"noCard": "Es wurde keine Karte vorgehalten. Es wurde kein Geld bewegt – bitte erneut versuchen.",
|
|
4418
4418
|
"cardReadFailed": "Die Karte konnte nicht gelesen werden. Es wurde kein Geld bewegt – bitte erneut versuchen, notfalls die Karte stecken statt auflegen.",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"endpoint": "issueInvoice",
|
|
3
|
+
"description": "Pfandangabe: leere Pfandart, Bezug auf eine Position ueber 499, GTIN mit Buchstaben",
|
|
4
|
+
"request": {
|
|
5
|
+
"idempotencyKey": "ex-31",
|
|
6
|
+
"customerId": "customer_example",
|
|
7
|
+
"taxScheme": "normal",
|
|
8
|
+
"priceMode": "gross",
|
|
9
|
+
"serviceStart": "2026-11-10",
|
|
10
|
+
"items": [
|
|
11
|
+
{
|
|
12
|
+
"description": "Mineralwasser Dose 0,5 l",
|
|
13
|
+
"quantity": 24,
|
|
14
|
+
"unitPriceCents": 120,
|
|
15
|
+
"vatRate": 20
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"description": "Pfand Einweg Dose",
|
|
19
|
+
"quantity": 24,
|
|
20
|
+
"unitPriceCents": 25,
|
|
21
|
+
"vatRate": 0,
|
|
22
|
+
"deposit": {
|
|
23
|
+
"depositTypeId": "",
|
|
24
|
+
"depositFor": 500,
|
|
25
|
+
"gtin": "12ab"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"expected": {
|
|
31
|
+
"ok": false,
|
|
32
|
+
"code": "validation",
|
|
33
|
+
"fields": [
|
|
34
|
+
"items[1].deposit.depositTypeId",
|
|
35
|
+
"items[1].deposit.depositFor",
|
|
36
|
+
"items[1].deposit.gtin"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"endpoint": "issueInvoice",
|
|
3
|
+
"description": "Einweg- und Mehrweg-Pfand als eigene Positionen, je mit deposit zur Ware",
|
|
4
|
+
"request": {
|
|
5
|
+
"idempotencyKey": "ex-30",
|
|
6
|
+
"customerId": "customer_example",
|
|
7
|
+
"taxScheme": "normal",
|
|
8
|
+
"priceMode": "gross",
|
|
9
|
+
"serviceStart": "2026-11-10",
|
|
10
|
+
"items": [
|
|
11
|
+
{
|
|
12
|
+
"description": "Mineralwasser Dose 0,5 l",
|
|
13
|
+
"quantity": 24,
|
|
14
|
+
"unitPriceCents": 120,
|
|
15
|
+
"vatRate": 20
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"description": "Pfand Einweg Dose",
|
|
19
|
+
"quantity": 24,
|
|
20
|
+
"unitPriceCents": 25,
|
|
21
|
+
"vatRate": 0,
|
|
22
|
+
"deposit": {
|
|
23
|
+
"depositTypeId": "pf_einweg_dose",
|
|
24
|
+
"depositFor": 0,
|
|
25
|
+
"gtin": "9012345000011"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"description": "Bier Kiste",
|
|
30
|
+
"quantity": 2,
|
|
31
|
+
"unitPriceCents": 1500,
|
|
32
|
+
"vatRate": 20
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"description": "Pfand Mehrweg Kiste",
|
|
36
|
+
"quantity": 2,
|
|
37
|
+
"unitPriceCents": 300,
|
|
38
|
+
"vatRate": 20,
|
|
39
|
+
"deposit": {
|
|
40
|
+
"depositTypeId": "pf_mehrweg_kiste",
|
|
41
|
+
"depositFor": 2,
|
|
42
|
+
"ownFilling": true
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"expected": {
|
|
48
|
+
"ok": true,
|
|
49
|
+
"totals": {
|
|
50
|
+
"netCents": 6000,
|
|
51
|
+
"vatCents": 1080,
|
|
52
|
+
"grossCents": 7080
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "Kasseneck Rechnungs-API",
|
|
4
4
|
"version": 2,
|
|
5
|
-
"package": "1.
|
|
5
|
+
"package": "1.37.0",
|
|
6
6
|
"endpoints": {
|
|
7
7
|
"createCustomer": {
|
|
8
8
|
"request": {
|
|
@@ -471,6 +471,35 @@
|
|
|
471
471
|
"type": "string",
|
|
472
472
|
"minLength": 1,
|
|
473
473
|
"maxLength": 128
|
|
474
|
+
},
|
|
475
|
+
"deposit": {
|
|
476
|
+
"type": "object",
|
|
477
|
+
"properties": {
|
|
478
|
+
"depositTypeId": {
|
|
479
|
+
"type": "string",
|
|
480
|
+
"minLength": 1,
|
|
481
|
+
"maxLength": 128
|
|
482
|
+
},
|
|
483
|
+
"depositFor": {
|
|
484
|
+
"type": "integer",
|
|
485
|
+
"minimum": 0,
|
|
486
|
+
"maximum": 499
|
|
487
|
+
},
|
|
488
|
+
"gtin": {
|
|
489
|
+
"type": "string",
|
|
490
|
+
"minLength": 8,
|
|
491
|
+
"maxLength": 14,
|
|
492
|
+
"pattern": "^[0-9]{8,14}$"
|
|
493
|
+
},
|
|
494
|
+
"ownFilling": {
|
|
495
|
+
"type": "boolean"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"required": [
|
|
499
|
+
"depositTypeId",
|
|
500
|
+
"depositFor"
|
|
501
|
+
],
|
|
502
|
+
"additionalProperties": false
|
|
474
503
|
}
|
|
475
504
|
},
|
|
476
505
|
"required": [
|
|
@@ -757,6 +786,35 @@
|
|
|
757
786
|
"defective",
|
|
758
787
|
"disposed"
|
|
759
788
|
]
|
|
789
|
+
},
|
|
790
|
+
"deposit": {
|
|
791
|
+
"type": "object",
|
|
792
|
+
"properties": {
|
|
793
|
+
"depositTypeId": {
|
|
794
|
+
"type": "string",
|
|
795
|
+
"minLength": 1,
|
|
796
|
+
"maxLength": 128
|
|
797
|
+
},
|
|
798
|
+
"depositFor": {
|
|
799
|
+
"type": "integer",
|
|
800
|
+
"minimum": 0,
|
|
801
|
+
"maximum": 499
|
|
802
|
+
},
|
|
803
|
+
"gtin": {
|
|
804
|
+
"type": "string",
|
|
805
|
+
"minLength": 8,
|
|
806
|
+
"maxLength": 14,
|
|
807
|
+
"pattern": "^[0-9]{8,14}$"
|
|
808
|
+
},
|
|
809
|
+
"ownFilling": {
|
|
810
|
+
"type": "boolean"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"required": [
|
|
814
|
+
"depositTypeId",
|
|
815
|
+
"depositFor"
|
|
816
|
+
],
|
|
817
|
+
"additionalProperties": false
|
|
760
818
|
}
|
|
761
819
|
},
|
|
762
820
|
"required": [
|
|
@@ -1013,7 +1071,12 @@
|
|
|
1013
1071
|
"reservation_not_found",
|
|
1014
1072
|
"reservation_mismatch",
|
|
1015
1073
|
"reservation_not_active",
|
|
1016
|
-
"invoice_number_taken"
|
|
1074
|
+
"invoice_number_taken",
|
|
1075
|
+
"deposit_not_enabled",
|
|
1076
|
+
"deposit_type_not_found",
|
|
1077
|
+
"deposit_set_by_server",
|
|
1078
|
+
"invalid_deposit_quantity",
|
|
1079
|
+
"invalid_deposit"
|
|
1017
1080
|
],
|
|
1018
1081
|
"creditNoteReasons": [
|
|
1019
1082
|
"cancellation",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.37.0",
|
|
3
3
|
"languages": [
|
|
4
4
|
"de",
|
|
5
5
|
"en"
|
|
@@ -35,6 +35,10 @@
|
|
|
35
35
|
"pdf.totals.included_vat": "darin {rate}% USt von {net} netto",
|
|
36
36
|
"pdf.totals.grand_total.invoice": "Gesamtbetrag",
|
|
37
37
|
"pdf.totals.grand_total.credit_note": "Gutschriftsbetrag",
|
|
38
|
+
"pdf.totals.single_use_deposit": "0 % Einwegpfand, nicht steuerbar",
|
|
39
|
+
"pdf.totals.head_rate": "Satz",
|
|
40
|
+
"pdf.totals.head_net": "Netto",
|
|
41
|
+
"pdf.totals.head_vat": "USt",
|
|
38
42
|
"tax.small_business": "Gemäß § 6 Abs. 1 Z 27 UStG wird keine Umsatzsteuer verrechnet (Kleinunternehmer).",
|
|
39
43
|
"tax.intra_community_supply.title": "Steuerfreie innergemeinschaftliche Lieferung. ",
|
|
40
44
|
"tax.intra_community_supply.text": "Gemäß Art. 6 Abs. 1 UStG (Art. 138 MwSt-RL 2006/112/EG). Die Erwerbsbesteuerung erfolgt durch den Abnehmer im Bestimmungsland.",
|
|
@@ -107,6 +111,7 @@
|
|
|
107
111
|
"einvoice.exemption.intra_community_supply": "Steuerfreie innergemeinschaftliche Lieferung gemäß Art. 6 Abs. 1 UStG",
|
|
108
112
|
"einvoice.exemption.outside_scope": "Nicht steuerbarer Umsatz – Leistungsort im Ausland (§ 3a Abs. 6 UStG)",
|
|
109
113
|
"einvoice.exemption.export_third_country": "Steuerfreie Ausfuhrlieferung gemäß §6 Abs. 1 Z 1 UStG",
|
|
114
|
+
"einvoice.exemption.single_use_deposit": "Pfand Einweg, nicht steuerbar (UStR Rz 8)",
|
|
110
115
|
"einvoice.payable_until": "Zahlbar bis {date}",
|
|
111
116
|
"unit_symbol.piece": "Stk",
|
|
112
117
|
"unit_symbol.pair": "Paar",
|
|
@@ -237,6 +242,10 @@
|
|
|
237
242
|
"pdf.totals.included_vat": "incl. {rate}% VAT on {net} net",
|
|
238
243
|
"pdf.totals.grand_total.invoice": "Total",
|
|
239
244
|
"pdf.totals.grand_total.credit_note": "Credit total",
|
|
245
|
+
"pdf.totals.single_use_deposit": "0 % single-use deposit, not subject to VAT",
|
|
246
|
+
"pdf.totals.head_rate": "Rate",
|
|
247
|
+
"pdf.totals.head_net": "Net",
|
|
248
|
+
"pdf.totals.head_vat": "VAT",
|
|
240
249
|
"tax.small_business": "No VAT charged pursuant to § 6 (1) no. 27 UStG (small business exemption).",
|
|
241
250
|
"tax.intra_community_supply.title": "VAT-exempt intra-Community supply. ",
|
|
242
251
|
"tax.intra_community_supply.text": "Pursuant to Art. 6 (1) UStG (Art. 138 of VAT Directive 2006/112/EC). The acquisition is taxed by the customer in the country of destination.",
|
|
@@ -309,6 +318,7 @@
|
|
|
309
318
|
"einvoice.exemption.intra_community_supply": "VAT-exempt intra-Community supply pursuant to Art. 6 (1) UStG",
|
|
310
319
|
"einvoice.exemption.outside_scope": "Outside the scope of VAT – place of supply abroad (§ 3a (6) UStG)",
|
|
311
320
|
"einvoice.exemption.export_third_country": "VAT-exempt export delivery pursuant to § 6 (1) no. 1 UStG",
|
|
321
|
+
"einvoice.exemption.single_use_deposit": "Single-use deposit, not subject to VAT (UStR para. 8)",
|
|
312
322
|
"einvoice.payable_until": "Payable by {date}",
|
|
313
323
|
"unit_symbol.piece": "pcs",
|
|
314
324
|
"unit_symbol.pair": "pair",
|