@kreiseck/kasseneck-api 1.23.0 → 1.25.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.
Files changed (79) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/client/aufrufe.d.ts +3 -3
  3. package/dist/cjs/client/aufrufe.js +5 -0
  4. package/dist/cjs/client/receipts.d.ts +19 -0
  5. package/dist/cjs/client/receipts.js +28 -0
  6. package/dist/cjs/index.d.ts +1 -1
  7. package/dist/cjs/models/cancellation.d.ts +1 -1
  8. package/dist/cjs/models/cancellation.js +9 -0
  9. package/dist/cjs/models/index.d.ts +1 -1
  10. package/dist/cjs/models/voucher.d.ts +19 -1
  11. package/dist/cjs/models/voucher.js +2 -2
  12. package/dist/cjs/pos/connect-bestand.d.ts +27 -0
  13. package/dist/cjs/pos/connect-bestand.js +40 -0
  14. package/dist/cjs/pos/gutschein.d.ts +10 -0
  15. package/dist/cjs/pos/gutschein.js +7 -0
  16. package/dist/cjs/pos/index.d.ts +3 -2
  17. package/dist/cjs/pos/index.js +7 -2
  18. package/dist/cjs/pos/texte.d.ts +48 -0
  19. package/dist/cjs/pos/texte.js +39 -1
  20. package/dist/cjs/receipt/layout.js +29 -3
  21. package/dist/cjs/stored/vokabular.d.ts +1 -1
  22. package/dist/cjs/stored/vokabular.js +14 -3
  23. package/dist/cjs/version.d.ts +1 -1
  24. package/dist/cjs/version.js +1 -1
  25. package/dist/esm/client/aufrufe.d.ts +3 -3
  26. package/dist/esm/client/aufrufe.js +5 -0
  27. package/dist/esm/client/receipts.d.ts +19 -0
  28. package/dist/esm/client/receipts.js +28 -0
  29. package/dist/esm/index.d.ts +1 -1
  30. package/dist/esm/models/cancellation.d.ts +1 -1
  31. package/dist/esm/models/cancellation.js +9 -0
  32. package/dist/esm/models/index.d.ts +1 -1
  33. package/dist/esm/models/voucher.d.ts +19 -1
  34. package/dist/esm/models/voucher.js +2 -2
  35. package/dist/esm/pos/connect-bestand.d.ts +27 -0
  36. package/dist/esm/pos/connect-bestand.js +37 -0
  37. package/dist/esm/pos/gutschein.d.ts +10 -0
  38. package/dist/esm/pos/gutschein.js +7 -0
  39. package/dist/esm/pos/index.d.ts +3 -2
  40. package/dist/esm/pos/index.js +3 -1
  41. package/dist/esm/pos/texte.d.ts +48 -0
  42. package/dist/esm/pos/texte.js +37 -0
  43. package/dist/esm/receipt/layout.js +29 -3
  44. package/dist/esm/stored/vokabular.d.ts +1 -1
  45. package/dist/esm/stored/vokabular.js +14 -3
  46. package/dist/esm/version.d.ts +1 -1
  47. package/dist/esm/version.js +1 -1
  48. package/fixtures/expected/voucher-return-tip.grid32.txt +32 -0
  49. package/fixtures/expected/voucher-return-tip.grid48.txt +31 -0
  50. package/fixtures/expected/voucher-return-tip.lines.json +292 -0
  51. package/fixtures/expected/voucher-return-tip.sheet32.json +218 -0
  52. package/fixtures/expected/voucher-return-tip.sheet48.json +212 -0
  53. package/fixtures/expected/voucher-return.grid32.txt +29 -0
  54. package/fixtures/expected/voucher-return.grid48.txt +28 -0
  55. package/fixtures/expected/voucher-return.lines.json +237 -0
  56. package/fixtures/expected/voucher-return.sheet32.json +200 -0
  57. package/fixtures/expected/voucher-return.sheet48.json +194 -0
  58. package/fixtures/hobex-hps-codes.json +1 -1
  59. package/fixtures/invoice-api.schema.json +1 -1
  60. package/fixtures/invoice-texts.json +1 -1
  61. package/fixtures/manifest.json +16 -0
  62. package/fixtures/pos-texts.json +41 -1
  63. package/fixtures/receipts/voucher-return-tip.json +83 -0
  64. package/fixtures/receipts/voucher-return.json +65 -0
  65. package/fixtures/surface.json +6 -3
  66. package/fixtures/v3/antworten/belege.json +1 -1
  67. package/fixtures/v3/antworten/belegmail.json +1 -1
  68. package/fixtures/v3/antworten/berichte.json +1 -1
  69. package/fixtures/v3/antworten/kasse-belege.json +1 -1
  70. package/fixtures/v3/antworten/kasse.json +315 -51
  71. package/fixtures/v3/antworten/lager.json +1 -1
  72. package/fixtures/v3/antworten/rechnungen.json +1 -1
  73. package/fixtures/v3/antworten/storno.json +1 -1
  74. package/fixtures/v3/stored/belege.json +1 -1
  75. package/fixtures/v3/stored/kasse.json +59 -18
  76. package/fixtures/v3/stored/rechnungen.json +1 -1
  77. package/fixtures/v3/v3-vokabular.json +143 -24
  78. package/fixtures/v3/zahlbetrag-faelle.json +1 -1
  79. package/package.json +1 -1
@@ -0,0 +1,218 @@
1
+ {
2
+ "charsPerLine": 32,
3
+ "blocks": [
4
+ {
5
+ "kind": "logo",
6
+ "widthFraction": 0.62,
7
+ "heightLines": 3.968
8
+ },
9
+ {
10
+ "kind": "line",
11
+ "text": " ",
12
+ "bold": false,
13
+ "blank": true
14
+ },
15
+ {
16
+ "kind": "line",
17
+ "text": " Melisse Nails e.U. ",
18
+ "bold": true,
19
+ "blank": false
20
+ },
21
+ {
22
+ "kind": "line",
23
+ "text": " Melissenweg 7 ",
24
+ "bold": false,
25
+ "blank": false
26
+ },
27
+ {
28
+ "kind": "line",
29
+ "text": " 1070 Wien ",
30
+ "bold": false,
31
+ "blank": false
32
+ },
33
+ {
34
+ "kind": "line",
35
+ "text": " ATU12345675 ",
36
+ "bold": false,
37
+ "blank": false
38
+ },
39
+ {
40
+ "kind": "line",
41
+ "text": " +43 1 2345678 ",
42
+ "bold": false,
43
+ "blank": false
44
+ },
45
+ {
46
+ "kind": "line",
47
+ "text": " ",
48
+ "bold": false,
49
+ "blank": true
50
+ },
51
+ {
52
+ "kind": "line",
53
+ "text": "================================",
54
+ "bold": true,
55
+ "blank": false
56
+ },
57
+ {
58
+ "kind": "line",
59
+ "text": " STORNOBELEG ",
60
+ "bold": true,
61
+ "blank": false
62
+ },
63
+ {
64
+ "kind": "line",
65
+ "text": "================================",
66
+ "bold": true,
67
+ "blank": false
68
+ },
69
+ {
70
+ "kind": "line",
71
+ "text": " Stornobuchung zu Beleg ",
72
+ "bold": false,
73
+ "blank": false
74
+ },
75
+ {
76
+ "kind": "line",
77
+ "text": " AT0-KASSE1-70 ",
78
+ "bold": false,
79
+ "blank": false
80
+ },
81
+ {
82
+ "kind": "line",
83
+ "text": " vom 19.10.2026, 10:15 Uhr ",
84
+ "bold": false,
85
+ "blank": false
86
+ },
87
+ {
88
+ "kind": "line",
89
+ "text": " Grund: Kunde hat storniert ",
90
+ "bold": false,
91
+ "blank": false
92
+ },
93
+ {
94
+ "kind": "line",
95
+ "text": " ",
96
+ "bold": false,
97
+ "blank": true
98
+ },
99
+ {
100
+ "kind": "line",
101
+ "text": "Datum: 19.10.2026 10:15:30",
102
+ "bold": false,
103
+ "blank": false
104
+ },
105
+ {
106
+ "kind": "line",
107
+ "text": "Kassen-ID: KASSE1",
108
+ "bold": false,
109
+ "blank": false
110
+ },
111
+ {
112
+ "kind": "line",
113
+ "text": "Beleg-ID: AT0-KASSE1-79",
114
+ "bold": false,
115
+ "blank": false
116
+ },
117
+ {
118
+ "kind": "line",
119
+ "text": " ",
120
+ "bold": false,
121
+ "blank": true
122
+ },
123
+ {
124
+ "kind": "line",
125
+ "text": "1 x Haarschnitt -20,00 A",
126
+ "bold": false,
127
+ "blank": false
128
+ },
129
+ {
130
+ "kind": "line",
131
+ "text": "Trinkgeld Personal -2,00 D",
132
+ "bold": false,
133
+ "blank": false
134
+ },
135
+ {
136
+ "kind": "line",
137
+ "text": " ",
138
+ "bold": false,
139
+ "blank": true
140
+ },
141
+ {
142
+ "kind": "line",
143
+ "text": "MwSt% MwSt Netto Brutto",
144
+ "bold": false,
145
+ "blank": false
146
+ },
147
+ {
148
+ "kind": "line",
149
+ "text": "A 20% -3,33 -16,67 -20,00",
150
+ "bold": false,
151
+ "blank": false
152
+ },
153
+ {
154
+ "kind": "line",
155
+ "text": "D 0% 0,00 -2,00 -2,00",
156
+ "bold": false,
157
+ "blank": false
158
+ },
159
+ {
160
+ "kind": "line",
161
+ "text": "--------------------------------",
162
+ "bold": false,
163
+ "blank": false
164
+ },
165
+ {
166
+ "kind": "line",
167
+ "text": "Gesamt: -22,00 €",
168
+ "bold": false,
169
+ "blank": false
170
+ },
171
+ {
172
+ "kind": "line",
173
+ "text": "Gutschein ····-2D9A -20,00 €",
174
+ "bold": false,
175
+ "blank": false
176
+ },
177
+ {
178
+ "kind": "line",
179
+ "text": "Barzahlung -2,00 €",
180
+ "bold": false,
181
+ "blank": false
182
+ },
183
+ {
184
+ "kind": "line",
185
+ "text": " ",
186
+ "bold": false,
187
+ "blank": true
188
+ },
189
+ {
190
+ "kind": "qr",
191
+ "payload": "_R1-AT1_KASSE1_AT0-KASSE1-79_2026-10-19T10:15:30_-20,00_0,00_0,00_-2,00_0,00_UMSATZ_VORGAENGER_5A1C3E07_SIGNATUR",
192
+ "widthFraction": 0.828125
193
+ },
194
+ {
195
+ "kind": "line",
196
+ "text": " ",
197
+ "bold": false,
198
+ "blank": true
199
+ },
200
+ {
201
+ "kind": "line",
202
+ "text": " Danke für Ihren Besuch ",
203
+ "bold": false,
204
+ "blank": false
205
+ },
206
+ {
207
+ "kind": "line",
208
+ "text": " ",
209
+ "bold": false,
210
+ "blank": true
211
+ },
212
+ {
213
+ "kind": "brandMark",
214
+ "width": 234,
215
+ "height": 34
216
+ }
217
+ ]
218
+ }
@@ -0,0 +1,212 @@
1
+ {
2
+ "charsPerLine": 48,
3
+ "blocks": [
4
+ {
5
+ "kind": "logo",
6
+ "widthFraction": 0.5208333333333334,
7
+ "heightLines": 5
8
+ },
9
+ {
10
+ "kind": "line",
11
+ "text": " ",
12
+ "bold": false,
13
+ "blank": true
14
+ },
15
+ {
16
+ "kind": "line",
17
+ "text": " Melisse Nails e.U. ",
18
+ "bold": true,
19
+ "blank": false
20
+ },
21
+ {
22
+ "kind": "line",
23
+ "text": " Melissenweg 7 ",
24
+ "bold": false,
25
+ "blank": false
26
+ },
27
+ {
28
+ "kind": "line",
29
+ "text": " 1070 Wien ",
30
+ "bold": false,
31
+ "blank": false
32
+ },
33
+ {
34
+ "kind": "line",
35
+ "text": " ATU12345675 ",
36
+ "bold": false,
37
+ "blank": false
38
+ },
39
+ {
40
+ "kind": "line",
41
+ "text": " +43 1 2345678 ",
42
+ "bold": false,
43
+ "blank": false
44
+ },
45
+ {
46
+ "kind": "line",
47
+ "text": " ",
48
+ "bold": false,
49
+ "blank": true
50
+ },
51
+ {
52
+ "kind": "line",
53
+ "text": "================================================",
54
+ "bold": true,
55
+ "blank": false
56
+ },
57
+ {
58
+ "kind": "line",
59
+ "text": " STORNOBELEG ",
60
+ "bold": true,
61
+ "blank": false
62
+ },
63
+ {
64
+ "kind": "line",
65
+ "text": "================================================",
66
+ "bold": true,
67
+ "blank": false
68
+ },
69
+ {
70
+ "kind": "line",
71
+ "text": " Stornobuchung zu Beleg AT0-KASSE1-70 ",
72
+ "bold": false,
73
+ "blank": false
74
+ },
75
+ {
76
+ "kind": "line",
77
+ "text": " vom 19.10.2026, 10:15 Uhr ",
78
+ "bold": false,
79
+ "blank": false
80
+ },
81
+ {
82
+ "kind": "line",
83
+ "text": " Grund: Kunde hat storniert ",
84
+ "bold": false,
85
+ "blank": false
86
+ },
87
+ {
88
+ "kind": "line",
89
+ "text": " ",
90
+ "bold": false,
91
+ "blank": true
92
+ },
93
+ {
94
+ "kind": "line",
95
+ "text": "Datum: 19.10.2026 10:15:30",
96
+ "bold": false,
97
+ "blank": false
98
+ },
99
+ {
100
+ "kind": "line",
101
+ "text": "Kassen-ID: KASSE1",
102
+ "bold": false,
103
+ "blank": false
104
+ },
105
+ {
106
+ "kind": "line",
107
+ "text": "Beleg-ID: AT0-KASSE1-79",
108
+ "bold": false,
109
+ "blank": false
110
+ },
111
+ {
112
+ "kind": "line",
113
+ "text": " ",
114
+ "bold": false,
115
+ "blank": true
116
+ },
117
+ {
118
+ "kind": "line",
119
+ "text": "1 x Haarschnitt -20,00 A",
120
+ "bold": false,
121
+ "blank": false
122
+ },
123
+ {
124
+ "kind": "line",
125
+ "text": "Trinkgeld Personal -2,00 D",
126
+ "bold": false,
127
+ "blank": false
128
+ },
129
+ {
130
+ "kind": "line",
131
+ "text": " ",
132
+ "bold": false,
133
+ "blank": true
134
+ },
135
+ {
136
+ "kind": "line",
137
+ "text": "MwSt% MwSt Netto Brutto",
138
+ "bold": false,
139
+ "blank": false
140
+ },
141
+ {
142
+ "kind": "line",
143
+ "text": "A 20% -3,33 -16,67 -20,00",
144
+ "bold": false,
145
+ "blank": false
146
+ },
147
+ {
148
+ "kind": "line",
149
+ "text": "D 0% 0,00 -2,00 -2,00",
150
+ "bold": false,
151
+ "blank": false
152
+ },
153
+ {
154
+ "kind": "line",
155
+ "text": "------------------------------------------------",
156
+ "bold": false,
157
+ "blank": false
158
+ },
159
+ {
160
+ "kind": "line",
161
+ "text": "Gesamt: -22,00 €",
162
+ "bold": false,
163
+ "blank": false
164
+ },
165
+ {
166
+ "kind": "line",
167
+ "text": "Gutschein ····-2D9A -20,00 €",
168
+ "bold": false,
169
+ "blank": false
170
+ },
171
+ {
172
+ "kind": "line",
173
+ "text": "Barzahlung -2,00 €",
174
+ "bold": false,
175
+ "blank": false
176
+ },
177
+ {
178
+ "kind": "line",
179
+ "text": " ",
180
+ "bold": false,
181
+ "blank": true
182
+ },
183
+ {
184
+ "kind": "qr",
185
+ "payload": "_R1-AT1_KASSE1_AT0-KASSE1-79_2026-10-19T10:15:30_-20,00_0,00_0,00_-2,00_0,00_UMSATZ_VORGAENGER_5A1C3E07_SIGNATUR",
186
+ "widthFraction": 0.5520833333333334
187
+ },
188
+ {
189
+ "kind": "line",
190
+ "text": " ",
191
+ "bold": false,
192
+ "blank": true
193
+ },
194
+ {
195
+ "kind": "line",
196
+ "text": " Danke für Ihren Besuch ",
197
+ "bold": false,
198
+ "blank": false
199
+ },
200
+ {
201
+ "kind": "line",
202
+ "text": " ",
203
+ "bold": false,
204
+ "blank": true
205
+ },
206
+ {
207
+ "kind": "brandMark",
208
+ "width": 352,
209
+ "height": 51
210
+ }
211
+ ]
212
+ }
@@ -0,0 +1,29 @@
1
+ Melisse Nails e.U.
2
+ Melissenweg 7
3
+ 1070 Wien
4
+ ATU12345675
5
+ +43 1 2345678
6
+
7
+ ================================
8
+ STORNOBELEG
9
+ ================================
10
+ Stornobuchung zu Beleg
11
+ AT0-KASSE1-70
12
+ vom 19.10.2026, 10:15 Uhr
13
+ Grund: Kunde hat storniert
14
+
15
+ Datum: 19.10.2026 10:15:30
16
+ Kassen-ID: KASSE1
17
+ Beleg-ID: AT0-KASSE1-78
18
+
19
+ 1 x Torte -24,90 B
20
+
21
+ MwSt% MwSt Netto Brutto
22
+ B 10% -2,26 -22,64 -24,90
23
+ --------------------------------
24
+ Gesamt: -24,90 €
25
+ Gutschein ····-2D9A -24,90 €
26
+
27
+ [QR-Code]
28
+
29
+ Danke für Ihren Besuch
@@ -0,0 +1,28 @@
1
+ Melisse Nails e.U.
2
+ Melissenweg 7
3
+ 1070 Wien
4
+ ATU12345675
5
+ +43 1 2345678
6
+
7
+ ================================================
8
+ STORNOBELEG
9
+ ================================================
10
+ Stornobuchung zu Beleg AT0-KASSE1-70
11
+ vom 19.10.2026, 10:15 Uhr
12
+ Grund: Kunde hat storniert
13
+
14
+ Datum: 19.10.2026 10:15:30
15
+ Kassen-ID: KASSE1
16
+ Beleg-ID: AT0-KASSE1-78
17
+
18
+ 1 x Torte -24,90 B
19
+
20
+ MwSt% MwSt Netto Brutto
21
+ B 10% -2,26 -22,64 -24,90
22
+ ------------------------------------------------
23
+ Gesamt: -24,90 €
24
+ Gutschein ····-2D9A -24,90 €
25
+
26
+ [QR-Code]
27
+
28
+ Danke für Ihren Besuch