@kreiseck/kasseneck-api 1.17.1 → 1.18.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 (199) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cjs/client/list-receipts.d.ts +3 -0
  3. package/dist/cjs/client/list-receipts.js +6 -0
  4. package/dist/cjs/client/receipts.d.ts +6 -0
  5. package/dist/cjs/client/receipts.js +6 -0
  6. package/dist/cjs/models/index.d.ts +1 -0
  7. package/dist/cjs/models/index.js +6 -1
  8. package/dist/cjs/models/manual-receipt.d.ts +45 -0
  9. package/dist/cjs/models/manual-receipt.js +58 -0
  10. package/dist/cjs/models/receipt-summary.d.ts +4 -0
  11. package/dist/cjs/models/receipt-summary.js +6 -0
  12. package/dist/cjs/models/receipt.d.ts +4 -0
  13. package/dist/cjs/models/receipt.js +6 -0
  14. package/dist/cjs/receipt/layout.js +57 -0
  15. package/dist/cjs/stored/vokabular.d.ts +1 -1
  16. package/dist/cjs/stored/vokabular.js +23 -2
  17. package/dist/cjs/version.d.ts +1 -1
  18. package/dist/cjs/version.js +1 -1
  19. package/dist/esm/client/list-receipts.d.ts +3 -0
  20. package/dist/esm/client/list-receipts.js +6 -0
  21. package/dist/esm/client/receipts.d.ts +6 -0
  22. package/dist/esm/client/receipts.js +6 -0
  23. package/dist/esm/models/index.d.ts +1 -0
  24. package/dist/esm/models/index.js +1 -0
  25. package/dist/esm/models/manual-receipt.d.ts +45 -0
  26. package/dist/esm/models/manual-receipt.js +53 -0
  27. package/dist/esm/models/receipt-summary.d.ts +4 -0
  28. package/dist/esm/models/receipt-summary.js +6 -0
  29. package/dist/esm/models/receipt.d.ts +4 -0
  30. package/dist/esm/models/receipt.js +6 -0
  31. package/dist/esm/receipt/layout.js +57 -0
  32. package/dist/esm/stored/vokabular.d.ts +1 -1
  33. package/dist/esm/stored/vokabular.js +23 -2
  34. package/dist/esm/version.d.ts +1 -1
  35. package/dist/esm/version.js +1 -1
  36. package/fixtures/expected/manual-receipt-range-device-failure-count.grid32.txt +36 -0
  37. package/fixtures/expected/manual-receipt-range-device-failure-count.grid48.txt +36 -0
  38. package/fixtures/expected/manual-receipt-range-device-failure-count.lines.json +299 -0
  39. package/fixtures/expected/manual-receipt-range-device-failure-count.sheet32.json +242 -0
  40. package/fixtures/expected/manual-receipt-range-device-failure-count.sheet48.json +242 -0
  41. package/fixtures/expected/manual-receipt-range-device-failure-no-count.grid32.txt +36 -0
  42. package/fixtures/expected/manual-receipt-range-device-failure-no-count.grid48.txt +36 -0
  43. package/fixtures/expected/manual-receipt-range-device-failure-no-count.lines.json +299 -0
  44. package/fixtures/expected/manual-receipt-range-device-failure-no-count.sheet32.json +242 -0
  45. package/fixtures/expected/manual-receipt-range-device-failure-no-count.sheet48.json +242 -0
  46. package/fixtures/expected/manual-receipt-range-network-outage-count.grid32.txt +33 -0
  47. package/fixtures/expected/manual-receipt-range-network-outage-count.grid48.txt +33 -0
  48. package/fixtures/expected/manual-receipt-range-network-outage-count.lines.json +259 -0
  49. package/fixtures/expected/manual-receipt-range-network-outage-count.sheet32.json +224 -0
  50. package/fixtures/expected/manual-receipt-range-network-outage-count.sheet48.json +224 -0
  51. package/fixtures/expected/manual-receipt-range-network-outage-no-count.grid32.txt +33 -0
  52. package/fixtures/expected/manual-receipt-range-network-outage-no-count.grid48.txt +33 -0
  53. package/fixtures/expected/manual-receipt-range-network-outage-no-count.lines.json +259 -0
  54. package/fixtures/expected/manual-receipt-range-network-outage-no-count.sheet32.json +224 -0
  55. package/fixtures/expected/manual-receipt-range-network-outage-no-count.sheet48.json +224 -0
  56. package/fixtures/expected/manual-receipt-range-other-count.grid32.txt +36 -0
  57. package/fixtures/expected/manual-receipt-range-other-count.grid48.txt +36 -0
  58. package/fixtures/expected/manual-receipt-range-other-count.lines.json +299 -0
  59. package/fixtures/expected/manual-receipt-range-other-count.sheet32.json +242 -0
  60. package/fixtures/expected/manual-receipt-range-other-count.sheet48.json +242 -0
  61. package/fixtures/expected/manual-receipt-range-other-no-count.grid32.txt +36 -0
  62. package/fixtures/expected/manual-receipt-range-other-no-count.grid48.txt +36 -0
  63. package/fixtures/expected/manual-receipt-range-other-no-count.lines.json +299 -0
  64. package/fixtures/expected/manual-receipt-range-other-no-count.sheet32.json +242 -0
  65. package/fixtures/expected/manual-receipt-range-other-no-count.sheet48.json +242 -0
  66. package/fixtures/expected/manual-receipt-range-power-outage-count.grid32.txt +37 -0
  67. package/fixtures/expected/manual-receipt-range-power-outage-count.grid48.txt +37 -0
  68. package/fixtures/expected/manual-receipt-range-power-outage-count.lines.json +305 -0
  69. package/fixtures/expected/manual-receipt-range-power-outage-count.sheet32.json +248 -0
  70. package/fixtures/expected/manual-receipt-range-power-outage-count.sheet48.json +248 -0
  71. package/fixtures/expected/manual-receipt-range-power-outage-no-count.grid32.txt +37 -0
  72. package/fixtures/expected/manual-receipt-range-power-outage-no-count.grid48.txt +37 -0
  73. package/fixtures/expected/manual-receipt-range-power-outage-no-count.lines.json +305 -0
  74. package/fixtures/expected/manual-receipt-range-power-outage-no-count.sheet32.json +248 -0
  75. package/fixtures/expected/manual-receipt-range-power-outage-no-count.sheet48.json +248 -0
  76. package/fixtures/expected/manual-receipt-range-system-outage-count.grid32.txt +33 -0
  77. package/fixtures/expected/manual-receipt-range-system-outage-count.grid48.txt +33 -0
  78. package/fixtures/expected/manual-receipt-range-system-outage-count.lines.json +259 -0
  79. package/fixtures/expected/manual-receipt-range-system-outage-count.sheet32.json +224 -0
  80. package/fixtures/expected/manual-receipt-range-system-outage-count.sheet48.json +224 -0
  81. package/fixtures/expected/manual-receipt-range-system-outage-no-count.grid32.txt +33 -0
  82. package/fixtures/expected/manual-receipt-range-system-outage-no-count.grid48.txt +33 -0
  83. package/fixtures/expected/manual-receipt-range-system-outage-no-count.lines.json +259 -0
  84. package/fixtures/expected/manual-receipt-range-system-outage-no-count.sheet32.json +224 -0
  85. package/fixtures/expected/manual-receipt-range-system-outage-no-count.sheet48.json +224 -0
  86. package/fixtures/expected/manual-receipt-single-device-failure-no-time.grid32.txt +31 -0
  87. package/fixtures/expected/manual-receipt-single-device-failure-no-time.grid48.txt +31 -0
  88. package/fixtures/expected/manual-receipt-single-device-failure-no-time.lines.json +253 -0
  89. package/fixtures/expected/manual-receipt-single-device-failure-no-time.sheet32.json +212 -0
  90. package/fixtures/expected/manual-receipt-single-device-failure-no-time.sheet48.json +212 -0
  91. package/fixtures/expected/manual-receipt-single-device-failure-time.grid32.txt +31 -0
  92. package/fixtures/expected/manual-receipt-single-device-failure-time.grid48.txt +31 -0
  93. package/fixtures/expected/manual-receipt-single-device-failure-time.lines.json +253 -0
  94. package/fixtures/expected/manual-receipt-single-device-failure-time.sheet32.json +212 -0
  95. package/fixtures/expected/manual-receipt-single-device-failure-time.sheet48.json +212 -0
  96. package/fixtures/expected/manual-receipt-single-network-outage-no-time.grid32.txt +32 -0
  97. package/fixtures/expected/manual-receipt-single-network-outage-no-time.grid48.txt +31 -0
  98. package/fixtures/expected/manual-receipt-single-network-outage-no-time.lines.json +253 -0
  99. package/fixtures/expected/manual-receipt-single-network-outage-no-time.sheet32.json +218 -0
  100. package/fixtures/expected/manual-receipt-single-network-outage-no-time.sheet48.json +212 -0
  101. package/fixtures/expected/manual-receipt-single-network-outage-time.grid32.txt +32 -0
  102. package/fixtures/expected/manual-receipt-single-network-outage-time.grid48.txt +31 -0
  103. package/fixtures/expected/manual-receipt-single-network-outage-time.lines.json +253 -0
  104. package/fixtures/expected/manual-receipt-single-network-outage-time.sheet32.json +218 -0
  105. package/fixtures/expected/manual-receipt-single-network-outage-time.sheet48.json +212 -0
  106. package/fixtures/expected/manual-receipt-single-other-no-time.grid32.txt +35 -0
  107. package/fixtures/expected/manual-receipt-single-other-no-time.grid48.txt +34 -0
  108. package/fixtures/expected/manual-receipt-single-other-no-time.lines.json +299 -0
  109. package/fixtures/expected/manual-receipt-single-other-no-time.sheet32.json +236 -0
  110. package/fixtures/expected/manual-receipt-single-other-no-time.sheet48.json +230 -0
  111. package/fixtures/expected/manual-receipt-single-other-time.grid32.txt +35 -0
  112. package/fixtures/expected/manual-receipt-single-other-time.grid48.txt +34 -0
  113. package/fixtures/expected/manual-receipt-single-other-time.lines.json +299 -0
  114. package/fixtures/expected/manual-receipt-single-other-time.sheet32.json +236 -0
  115. package/fixtures/expected/manual-receipt-single-other-time.sheet48.json +230 -0
  116. package/fixtures/expected/manual-receipt-single-outside-premises-no-time.grid32.txt +31 -0
  117. package/fixtures/expected/manual-receipt-single-outside-premises-no-time.grid48.txt +31 -0
  118. package/fixtures/expected/manual-receipt-single-outside-premises-no-time.lines.json +247 -0
  119. package/fixtures/expected/manual-receipt-single-outside-premises-no-time.sheet32.json +212 -0
  120. package/fixtures/expected/manual-receipt-single-outside-premises-no-time.sheet48.json +212 -0
  121. package/fixtures/expected/manual-receipt-single-outside-premises-time.grid32.txt +31 -0
  122. package/fixtures/expected/manual-receipt-single-outside-premises-time.grid48.txt +31 -0
  123. package/fixtures/expected/manual-receipt-single-outside-premises-time.lines.json +247 -0
  124. package/fixtures/expected/manual-receipt-single-outside-premises-time.sheet32.json +212 -0
  125. package/fixtures/expected/manual-receipt-single-outside-premises-time.sheet48.json +212 -0
  126. package/fixtures/expected/manual-receipt-single-power-outage-no-time.grid32.txt +35 -0
  127. package/fixtures/expected/manual-receipt-single-power-outage-no-time.grid48.txt +34 -0
  128. package/fixtures/expected/manual-receipt-single-power-outage-no-time.lines.json +299 -0
  129. package/fixtures/expected/manual-receipt-single-power-outage-no-time.sheet32.json +236 -0
  130. package/fixtures/expected/manual-receipt-single-power-outage-no-time.sheet48.json +230 -0
  131. package/fixtures/expected/manual-receipt-single-power-outage-time.grid32.txt +35 -0
  132. package/fixtures/expected/manual-receipt-single-power-outage-time.grid48.txt +34 -0
  133. package/fixtures/expected/manual-receipt-single-power-outage-time.lines.json +299 -0
  134. package/fixtures/expected/manual-receipt-single-power-outage-time.sheet32.json +236 -0
  135. package/fixtures/expected/manual-receipt-single-power-outage-time.sheet48.json +230 -0
  136. package/fixtures/expected/manual-receipt-single-small-business.grid32.txt +34 -0
  137. package/fixtures/expected/manual-receipt-single-small-business.grid48.txt +33 -0
  138. package/fixtures/expected/manual-receipt-single-small-business.lines.json +257 -0
  139. package/fixtures/expected/manual-receipt-single-small-business.sheet32.json +230 -0
  140. package/fixtures/expected/manual-receipt-single-small-business.sheet48.json +224 -0
  141. package/fixtures/expected/manual-receipt-single-system-outage-no-time.grid32.txt +32 -0
  142. package/fixtures/expected/manual-receipt-single-system-outage-no-time.grid48.txt +31 -0
  143. package/fixtures/expected/manual-receipt-single-system-outage-no-time.lines.json +253 -0
  144. package/fixtures/expected/manual-receipt-single-system-outage-no-time.sheet32.json +218 -0
  145. package/fixtures/expected/manual-receipt-single-system-outage-no-time.sheet48.json +212 -0
  146. package/fixtures/expected/manual-receipt-single-system-outage-time.grid32.txt +32 -0
  147. package/fixtures/expected/manual-receipt-single-system-outage-time.grid48.txt +31 -0
  148. package/fixtures/expected/manual-receipt-single-system-outage-time.lines.json +253 -0
  149. package/fixtures/expected/manual-receipt-single-system-outage-time.sheet32.json +218 -0
  150. package/fixtures/expected/manual-receipt-single-system-outage-time.sheet48.json +212 -0
  151. package/fixtures/expected/zero-outage-end-period.grid32.txt +35 -0
  152. package/fixtures/expected/zero-outage-end-period.grid48.txt +31 -0
  153. package/fixtures/expected/zero-outage-end-period.lines.json +230 -0
  154. package/fixtures/expected/zero-outage-end-period.sheet32.json +236 -0
  155. package/fixtures/expected/zero-outage-end-period.sheet48.json +212 -0
  156. package/fixtures/hobex-hps-codes.json +1 -1
  157. package/fixtures/invoice-api.schema.json +1 -1
  158. package/fixtures/invoice-texts.json +1 -1
  159. package/fixtures/manifest.json +192 -0
  160. package/fixtures/pos-texts.json +1 -1
  161. package/fixtures/receipts/manual-receipt-range-device-failure-count.json +56 -0
  162. package/fixtures/receipts/manual-receipt-range-device-failure-no-count.json +55 -0
  163. package/fixtures/receipts/manual-receipt-range-network-outage-count.json +50 -0
  164. package/fixtures/receipts/manual-receipt-range-network-outage-no-count.json +49 -0
  165. package/fixtures/receipts/manual-receipt-range-other-count.json +57 -0
  166. package/fixtures/receipts/manual-receipt-range-other-no-count.json +56 -0
  167. package/fixtures/receipts/manual-receipt-range-power-outage-count.json +56 -0
  168. package/fixtures/receipts/manual-receipt-range-power-outage-no-count.json +55 -0
  169. package/fixtures/receipts/manual-receipt-range-system-outage-count.json +50 -0
  170. package/fixtures/receipts/manual-receipt-range-system-outage-no-count.json +49 -0
  171. package/fixtures/receipts/manual-receipt-single-device-failure-no-time.json +48 -0
  172. package/fixtures/receipts/manual-receipt-single-device-failure-time.json +49 -0
  173. package/fixtures/receipts/manual-receipt-single-network-outage-no-time.json +49 -0
  174. package/fixtures/receipts/manual-receipt-single-network-outage-time.json +50 -0
  175. package/fixtures/receipts/manual-receipt-single-other-no-time.json +55 -0
  176. package/fixtures/receipts/manual-receipt-single-other-time.json +56 -0
  177. package/fixtures/receipts/manual-receipt-single-outside-premises-no-time.json +48 -0
  178. package/fixtures/receipts/manual-receipt-single-outside-premises-time.json +49 -0
  179. package/fixtures/receipts/manual-receipt-single-power-outage-no-time.json +54 -0
  180. package/fixtures/receipts/manual-receipt-single-power-outage-time.json +55 -0
  181. package/fixtures/receipts/manual-receipt-single-small-business.json +48 -0
  182. package/fixtures/receipts/manual-receipt-single-system-outage-no-time.json +49 -0
  183. package/fixtures/receipts/manual-receipt-single-system-outage-time.json +50 -0
  184. package/fixtures/receipts/zero-outage-end-period.json +43 -0
  185. package/fixtures/surface.json +1 -1
  186. package/fixtures/v3/antworten/belege.json +481 -3
  187. package/fixtures/v3/antworten/belegmail.json +2 -2
  188. package/fixtures/v3/antworten/berichte.json +2 -2
  189. package/fixtures/v3/antworten/kasse-belege.json +433 -3
  190. package/fixtures/v3/antworten/kasse.json +3 -3
  191. package/fixtures/v3/antworten/lager.json +1 -1
  192. package/fixtures/v3/antworten/rechnungen.json +2 -2
  193. package/fixtures/v3/antworten/storno.json +2 -2
  194. package/fixtures/v3/stored/belege.json +57 -3
  195. package/fixtures/v3/stored/kasse.json +3 -3
  196. package/fixtures/v3/stored/rechnungen.json +2 -2
  197. package/fixtures/v3/v3-vokabular.json +175 -9
  198. package/fixtures/v3/zahlbetrag-faelle.json +2 -2
  199. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "_hinweis": "Vertrags-Export /v3, erzeugt aus den echten Handlern (npm run vertrag:v3 in functions/ und functions-kasse/). Nicht von Hand pflegen.",
3
3
  "_quelle": {
4
- "sha256": "3088cb472f3fef3ed4ff969bf0d37d051363714096616a9263270c58266bde14",
5
- "inputsSha256": "931df962ad989229c326fa42dbfda9a5535c23bdd9a52425f19d53dfaa2d6abc",
6
- "backendPackage": "@kreiseck/kasseneck-api@0.35.0",
4
+ "sha256": "c14617ec83a2eac2bdffc6794cc2c7f72ae04504259a55313f01fe83747fa565",
5
+ "inputsSha256": "f7f7091faee9c671b006237afa8c7dbba340d0120105259fce69ddad3bf10d93",
6
+ "backendPackage": "@kreiseck/kasseneck-api@0.36.0",
7
7
  "inputs": [
8
8
  "docs/api/fehlercodes.json",
9
9
  "functions-kasse/test/unit/fixtures/kassen-codes-v3.js",
@@ -842,6 +842,14 @@
842
842
  "GUTSCHEIN_VORSCHLAG_HINWEIS": {
843
843
  "kleinunternehmer": "small_business"
844
844
  },
845
+ "HANDBELEG_GRUND": {
846
+ "internet": "network_outage",
847
+ "strom": "power_outage",
848
+ "geraet": "device_failure",
849
+ "stoerung": "system_outage",
850
+ "sonstiges": "other",
851
+ "ausser_haus": "outside_premises"
852
+ },
845
853
  "INVENTUR_AKTEUR": {
846
854
  "inhaber": "owner",
847
855
  "admin": "admin",
@@ -1285,6 +1293,7 @@
1285
1293
  "invalid_line",
1286
1294
  "invalid_location",
1287
1295
  "invalid_locations",
1296
+ "invalid_manual_receipt",
1288
1297
  "invalid_method",
1289
1298
  "invalid_minimum",
1290
1299
  "invalid_movement_type",
@@ -1338,6 +1347,10 @@
1338
1347
  "logo_too_large",
1339
1348
  "lot_not_found",
1340
1349
  "low_value_limit_exceeded",
1350
+ "manual_receipt_date_in_future",
1351
+ "manual_receipt_duplicate",
1352
+ "manual_receipt_not_allowed",
1353
+ "manual_receipt_range_not_allowed",
1341
1354
  "memory_entry_not_found",
1342
1355
  "method_not_allowed",
1343
1356
  "mfa_required",
@@ -1577,6 +1590,11 @@
1577
1590
  "PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
1578
1591
  "PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
1579
1592
  "PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
1593
+ "handbeleg_ungueltig": "invalid_manual_receipt",
1594
+ "handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
1595
+ "handbeleg_datum_zukunft": "manual_receipt_date_in_future",
1596
+ "handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
1597
+ "handbeleg_doppelt": "manual_receipt_duplicate",
1580
1598
  "PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
1581
1599
  "PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
1582
1600
  "PAYMENTS_CONFLICT": "payments_conflict",
@@ -1736,6 +1754,7 @@
1736
1754
  "invalid_denominations",
1737
1755
  "invalid_items",
1738
1756
  "invalid_line",
1757
+ "invalid_manual_receipt",
1739
1758
  "invalid_movement_type",
1740
1759
  "invalid_output_kind",
1741
1760
  "invalid_quantity",
@@ -1752,6 +1771,10 @@
1752
1771
  "logo_invalid",
1753
1772
  "logo_invalid_type",
1754
1773
  "logo_too_large",
1774
+ "manual_receipt_date_in_future",
1775
+ "manual_receipt_duplicate",
1776
+ "manual_receipt_not_allowed",
1777
+ "manual_receipt_range_not_allowed",
1755
1778
  "method_not_allowed",
1756
1779
  "module_inactive",
1757
1780
  "not_permitted",
@@ -1883,6 +1906,13 @@
1883
1906
  "payment_tip_invalid",
1884
1907
  "tip_conflict"
1885
1908
  ],
1909
+ "manualReceipt": [
1910
+ "invalid_manual_receipt",
1911
+ "manual_receipt_not_allowed",
1912
+ "manual_receipt_date_in_future",
1913
+ "manual_receipt_range_not_allowed",
1914
+ "manual_receipt_duplicate"
1915
+ ],
1886
1916
  "receiptEmail": [
1887
1917
  "invalid_address",
1888
1918
  "receipt_not_found",
@@ -2227,6 +2257,11 @@
2227
2257
  "payment_provider_invalid",
2228
2258
  "payment_provider_not_allowed",
2229
2259
  "payments_sum_mismatch",
2260
+ "invalid_manual_receipt",
2261
+ "manual_receipt_not_allowed",
2262
+ "manual_receipt_date_in_future",
2263
+ "manual_receipt_range_not_allowed",
2264
+ "manual_receipt_duplicate",
2230
2265
  "payments_due_negative",
2231
2266
  "payments_not_allowed",
2232
2267
  "payments_conflict",
@@ -2391,6 +2426,11 @@
2391
2426
  "getReceipt": [],
2392
2427
  "createReceipt": [
2393
2428
  "idempotency_conflict",
2429
+ "invalid_manual_receipt",
2430
+ "manual_receipt_date_in_future",
2431
+ "manual_receipt_duplicate",
2432
+ "manual_receipt_not_allowed",
2433
+ "manual_receipt_range_not_allowed",
2394
2434
  "not_permitted",
2395
2435
  "payment_amount_invalid",
2396
2436
  "payment_method_invalid",
@@ -2877,12 +2917,25 @@
2877
2917
  "receivedImmediately": "sofortErhalten",
2878
2918
  "keptByEmployee": "direkt"
2879
2919
  }
2880
- ]
2920
+ ],
2921
+ "manualReceipt": {
2922
+ "__": "handbeleg",
2923
+ "number": "nummer",
2924
+ "numberTo": "nummerBis",
2925
+ "count": "anzahl",
2926
+ "date": "datum",
2927
+ "time": "uhrzeit",
2928
+ "reason": "grund",
2929
+ "note": "grundText"
2930
+ }
2881
2931
  }
2882
2932
  },
2883
2933
  "werte": {
2884
2934
  "receipt.cancellationReason": {
2885
2935
  "$catalog": "STORNO_GRUND"
2936
+ },
2937
+ "receipt.manualReceipt.reason": {
2938
+ "$catalog": "HANDBELEG_GRUND"
2886
2939
  }
2887
2940
  },
2888
2941
  "ergaenze": {
@@ -3208,6 +3261,11 @@
3208
3261
  "PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
3209
3262
  "PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
3210
3263
  "PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
3264
+ "handbeleg_ungueltig": "invalid_manual_receipt",
3265
+ "handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
3266
+ "handbeleg_datum_zukunft": "manual_receipt_date_in_future",
3267
+ "handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
3268
+ "handbeleg_doppelt": "manual_receipt_duplicate",
3211
3269
  "PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
3212
3270
  "PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
3213
3271
  "PAYMENTS_CONFLICT": "payments_conflict",
@@ -3428,7 +3486,17 @@
3428
3486
  "reason": "grund",
3429
3487
  "typeId": "sorteId"
3430
3488
  }
3431
- ]
3489
+ ],
3490
+ "manualReceipt": {
3491
+ "__": "handbeleg",
3492
+ "number": "nummer",
3493
+ "numberTo": "nummerBis",
3494
+ "count": "anzahl",
3495
+ "date": "datum",
3496
+ "time": "uhrzeit",
3497
+ "reason": "grund",
3498
+ "note": "grundText"
3499
+ }
3432
3500
  },
3433
3501
  "paramWerte": {
3434
3502
  "vouchers[].type": {
@@ -3436,6 +3504,9 @@
3436
3504
  },
3437
3505
  "vouchers[].action": {
3438
3506
  "$catalog": "GUTSCHEIN_AKTION"
3507
+ },
3508
+ "manualReceipt.reason": {
3509
+ "$catalog": "HANDBELEG_GRUND"
3439
3510
  }
3440
3511
  },
3441
3512
  "data": {
@@ -3454,7 +3525,17 @@
3454
3525
  "receivedImmediately": "sofortErhalten",
3455
3526
  "keptByEmployee": "direkt"
3456
3527
  }
3457
- ]
3528
+ ],
3529
+ "manualReceipt": {
3530
+ "__": "handbeleg",
3531
+ "number": "nummer",
3532
+ "numberTo": "nummerBis",
3533
+ "count": "anzahl",
3534
+ "date": "datum",
3535
+ "time": "uhrzeit",
3536
+ "reason": "grund",
3537
+ "note": "grundText"
3538
+ }
3458
3539
  },
3459
3540
  "taxNumber": "taxnr",
3460
3541
  "vatId": "uid",
@@ -3501,6 +3582,9 @@
3501
3582
  "receipt.cancellationReason": {
3502
3583
  "$catalog": "STORNO_GRUND"
3503
3584
  },
3585
+ "receipt.manualReceipt.reason": {
3586
+ "$catalog": "HANDBELEG_GRUND"
3587
+ },
3504
3588
  "layout.lines[].tone": {
3505
3589
  "$catalog": "LAYOUT_TON"
3506
3590
  },
@@ -3873,6 +3957,11 @@
3873
3957
  "PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
3874
3958
  "PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
3875
3959
  "PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
3960
+ "handbeleg_ungueltig": "invalid_manual_receipt",
3961
+ "handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
3962
+ "handbeleg_datum_zukunft": "manual_receipt_date_in_future",
3963
+ "handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
3964
+ "handbeleg_doppelt": "manual_receipt_duplicate",
3876
3965
  "PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
3877
3966
  "PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
3878
3967
  "PAYMENTS_CONFLICT": "payments_conflict",
@@ -3983,6 +4072,11 @@
3983
4072
  "PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
3984
4073
  "PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
3985
4074
  "PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
4075
+ "handbeleg_ungueltig": "invalid_manual_receipt",
4076
+ "handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
4077
+ "handbeleg_datum_zukunft": "manual_receipt_date_in_future",
4078
+ "handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
4079
+ "handbeleg_doppelt": "manual_receipt_duplicate",
3986
4080
  "PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
3987
4081
  "PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
3988
4082
  "PAYMENTS_CONFLICT": "payments_conflict",
@@ -4683,7 +4777,17 @@
4683
4777
  "receivedImmediately": "sofortErhalten",
4684
4778
  "keptByEmployee": "direkt"
4685
4779
  }
4686
- ]
4780
+ ],
4781
+ "manualReceipt": {
4782
+ "__": "handbeleg",
4783
+ "number": "nummer",
4784
+ "numberTo": "nummerBis",
4785
+ "count": "anzahl",
4786
+ "date": "datum",
4787
+ "time": "uhrzeit",
4788
+ "reason": "grund",
4789
+ "note": "grundText"
4790
+ }
4687
4791
  },
4688
4792
  "taxNumber": "taxnr",
4689
4793
  "vatId": "uid",
@@ -4739,6 +4843,9 @@
4739
4843
  "receipt.cancellationReason": {
4740
4844
  "$catalog": "STORNO_GRUND"
4741
4845
  },
4846
+ "receipt.manualReceipt.reason": {
4847
+ "$catalog": "HANDBELEG_GRUND"
4848
+ },
4742
4849
  "layout.lines[].tone": {
4743
4850
  "$catalog": "LAYOUT_TON"
4744
4851
  },
@@ -4785,7 +4892,17 @@
4785
4892
  "receivedImmediately": "sofortErhalten",
4786
4893
  "keptByEmployee": "direkt"
4787
4894
  }
4788
- ]
4895
+ ],
4896
+ "manualReceipt": {
4897
+ "__": "handbeleg",
4898
+ "number": "nummer",
4899
+ "numberTo": "nummerBis",
4900
+ "count": "anzahl",
4901
+ "date": "datum",
4902
+ "time": "uhrzeit",
4903
+ "reason": "grund",
4904
+ "note": "grundText"
4905
+ }
4789
4906
  }
4790
4907
  ],
4791
4908
  "metadata": {
@@ -4797,6 +4914,9 @@
4797
4914
  "werte": {
4798
4915
  "receipts[].cancellationReason": {
4799
4916
  "$catalog": "STORNO_GRUND"
4917
+ },
4918
+ "receipts[].manualReceipt.reason": {
4919
+ "$catalog": "HANDBELEG_GRUND"
4800
4920
  }
4801
4921
  },
4802
4922
  "ergaenze": {
@@ -5011,6 +5131,11 @@
5011
5131
  "PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
5012
5132
  "PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
5013
5133
  "PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
5134
+ "handbeleg_ungueltig": "invalid_manual_receipt",
5135
+ "handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
5136
+ "handbeleg_datum_zukunft": "manual_receipt_date_in_future",
5137
+ "handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
5138
+ "handbeleg_doppelt": "manual_receipt_duplicate",
5014
5139
  "PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
5015
5140
  "PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
5016
5141
  "PAYMENTS_CONFLICT": "payments_conflict",
@@ -5228,7 +5353,17 @@
5228
5353
  "receipts": [
5229
5354
  {
5230
5355
  "__": "receipts",
5231
- "cancellationStatus": "stornoStand"
5356
+ "cancellationStatus": "stornoStand",
5357
+ "manualReceipt": {
5358
+ "__": "handbeleg",
5359
+ "number": "nummer",
5360
+ "numberTo": "nummerBis",
5361
+ "count": "anzahl",
5362
+ "date": "datum",
5363
+ "time": "uhrzeit",
5364
+ "reason": "grund",
5365
+ "note": "grundText"
5366
+ }
5232
5367
  }
5233
5368
  ],
5234
5369
  "stats": {
@@ -5251,6 +5386,9 @@
5251
5386
  },
5252
5387
  "receipts[].cancellationReason": {
5253
5388
  "$catalog": "STORNO_GRUND"
5389
+ },
5390
+ "receipts[].manualReceipt.reason": {
5391
+ "$catalog": "HANDBELEG_GRUND"
5254
5392
  }
5255
5393
  },
5256
5394
  "ergaenze": {
@@ -5548,6 +5686,16 @@
5548
5686
  "keptByEmployee": "direkt"
5549
5687
  }
5550
5688
  ],
5689
+ "manualReceipt": {
5690
+ "__": "handbeleg",
5691
+ "number": "nummer",
5692
+ "numberTo": "nummerBis",
5693
+ "count": "anzahl",
5694
+ "date": "datum",
5695
+ "time": "uhrzeit",
5696
+ "reason": "grund",
5697
+ "note": "grundText"
5698
+ },
5551
5699
  "cancellationStatus": "stornoStand"
5552
5700
  }
5553
5701
  ],
@@ -5563,6 +5711,9 @@
5563
5711
  },
5564
5712
  "receipts[].cancellationReason": {
5565
5713
  "$catalog": "STORNO_GRUND"
5714
+ },
5715
+ "receipts[].manualReceipt.reason": {
5716
+ "$catalog": "HANDBELEG_GRUND"
5566
5717
  }
5567
5718
  },
5568
5719
  "ergaenze": {
@@ -6703,6 +6854,11 @@
6703
6854
  "PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
6704
6855
  "PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
6705
6856
  "PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
6857
+ "handbeleg_ungueltig": "invalid_manual_receipt",
6858
+ "handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
6859
+ "handbeleg_datum_zukunft": "manual_receipt_date_in_future",
6860
+ "handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
6861
+ "handbeleg_doppelt": "manual_receipt_duplicate",
6706
6862
  "PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
6707
6863
  "PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
6708
6864
  "PAYMENTS_CONFLICT": "payments_conflict",
@@ -7635,6 +7791,11 @@
7635
7791
  "PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
7636
7792
  "PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
7637
7793
  "PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
7794
+ "handbeleg_ungueltig": "invalid_manual_receipt",
7795
+ "handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
7796
+ "handbeleg_datum_zukunft": "manual_receipt_date_in_future",
7797
+ "handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
7798
+ "handbeleg_doppelt": "manual_receipt_duplicate",
7638
7799
  "PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
7639
7800
  "PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
7640
7801
  "PAYMENTS_CONFLICT": "payments_conflict",
@@ -7832,6 +7993,11 @@
7832
7993
  "PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
7833
7994
  "PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
7834
7995
  "PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
7996
+ "handbeleg_ungueltig": "invalid_manual_receipt",
7997
+ "handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
7998
+ "handbeleg_datum_zukunft": "manual_receipt_date_in_future",
7999
+ "handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
8000
+ "handbeleg_doppelt": "manual_receipt_duplicate",
7835
8001
  "PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
7836
8002
  "PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
7837
8003
  "PAYMENTS_CONFLICT": "payments_conflict",
@@ -2,8 +2,8 @@
2
2
  "_hinweis": "Vertrags-Export /v3, erzeugt aus den echten Handlern (npm run vertrag:v3 in functions/ und functions-kasse/). Nicht von Hand pflegen.",
3
3
  "_quelle": {
4
4
  "sha256": "c9779c167da78af095a7a45a25d7cd69a1c31041adb99347e14dd2f7779a621c",
5
- "inputsSha256": "931df962ad989229c326fa42dbfda9a5535c23bdd9a52425f19d53dfaa2d6abc",
6
- "backendPackage": "@kreiseck/kasseneck-api@0.35.0",
5
+ "inputsSha256": "f7f7091faee9c671b006237afa8c7dbba340d0120105259fce69ddad3bf10d93",
6
+ "backendPackage": "@kreiseck/kasseneck-api@0.36.0",
7
7
  "inputs": [
8
8
  "docs/api/fehlercodes.json",
9
9
  "functions-kasse/test/unit/fixtures/kassen-codes-v3.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kreiseck/kasseneck-api",
3
- "version": "1.17.1",
3
+ "version": "1.18.0",
4
4
  "description": "Austrian fiscal cash register (RKSV) client for JavaScript and TypeScript: signed receipts, cancellations, card payments, receipt printing (ESC/POS), invoices, inventory. RKSV-Registrierkasse für JavaScript und TypeScript.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Kreiseck",