@kreiseck/kasseneck-api 1.37.0 → 1.38.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 (149) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +16 -0
  3. package/dist/cjs/index.d.ts +1 -1
  4. package/dist/cjs/index.js +6 -5
  5. package/dist/cjs/invoice/texte.d.ts +18 -1
  6. package/dist/cjs/invoice/texte.js +43 -2
  7. package/dist/cjs/invoice/vertrag.d.ts +1 -1
  8. package/dist/cjs/invoice/vertrag.js +1 -0
  9. package/dist/cjs/models/cancellation.d.ts +1 -1
  10. package/dist/cjs/models/cancellation.js +2 -0
  11. package/dist/cjs/models/index.d.ts +2 -1
  12. package/dist/cjs/models/index.js +6 -3
  13. package/dist/cjs/models/invoice-payment-ref.d.ts +42 -0
  14. package/dist/cjs/models/invoice-payment-ref.js +38 -0
  15. package/dist/cjs/models/receipt-item.d.ts +10 -2
  16. package/dist/cjs/models/receipt-item.js +14 -1
  17. package/dist/cjs/models/receipt.d.ts +7 -0
  18. package/dist/cjs/models/receipt.js +6 -0
  19. package/dist/cjs/pos/schicht-lesen.js +5 -0
  20. package/dist/cjs/pos/schicht-typen.d.ts +11 -0
  21. package/dist/cjs/pos/texte.d.ts +13 -2
  22. package/dist/cjs/pos/texte.js +18 -3
  23. package/dist/cjs/receipt/index.d.ts +1 -0
  24. package/dist/cjs/receipt/index.js +4 -2
  25. package/dist/cjs/receipt/layout.d.ts +2 -2
  26. package/dist/cjs/receipt/layout.js +106 -117
  27. package/dist/cjs/receipt/shift-sheet.js +6 -1
  28. package/dist/cjs/receipt/vermerke.d.ts +80 -0
  29. package/dist/cjs/receipt/vermerke.js +167 -0
  30. package/dist/cjs/stored/draht.js +25 -1
  31. package/dist/cjs/stored/vokabular.d.ts +1 -1
  32. package/dist/cjs/stored/vokabular.js +21 -2
  33. package/dist/cjs/version.d.ts +1 -1
  34. package/dist/cjs/version.js +1 -1
  35. package/dist/esm/index.d.ts +1 -1
  36. package/dist/esm/index.js +1 -1
  37. package/dist/esm/invoice/texte.d.ts +18 -1
  38. package/dist/esm/invoice/texte.js +43 -2
  39. package/dist/esm/invoice/vertrag.d.ts +1 -1
  40. package/dist/esm/invoice/vertrag.js +1 -0
  41. package/dist/esm/models/cancellation.d.ts +1 -1
  42. package/dist/esm/models/cancellation.js +2 -0
  43. package/dist/esm/models/index.d.ts +2 -1
  44. package/dist/esm/models/index.js +2 -1
  45. package/dist/esm/models/invoice-payment-ref.d.ts +42 -0
  46. package/dist/esm/models/invoice-payment-ref.js +35 -0
  47. package/dist/esm/models/receipt-item.d.ts +10 -2
  48. package/dist/esm/models/receipt-item.js +13 -1
  49. package/dist/esm/models/receipt.d.ts +7 -0
  50. package/dist/esm/models/receipt.js +6 -0
  51. package/dist/esm/pos/schicht-lesen.js +5 -0
  52. package/dist/esm/pos/schicht-typen.d.ts +11 -0
  53. package/dist/esm/pos/texte.d.ts +13 -2
  54. package/dist/esm/pos/texte.js +18 -3
  55. package/dist/esm/receipt/index.d.ts +1 -0
  56. package/dist/esm/receipt/index.js +1 -0
  57. package/dist/esm/receipt/layout.d.ts +2 -2
  58. package/dist/esm/receipt/layout.js +103 -113
  59. package/dist/esm/receipt/shift-sheet.js +6 -1
  60. package/dist/esm/receipt/vermerke.d.ts +80 -0
  61. package/dist/esm/receipt/vermerke.js +155 -0
  62. package/dist/esm/stored/draht.js +25 -1
  63. package/dist/esm/stored/vokabular.d.ts +1 -1
  64. package/dist/esm/stored/vokabular.js +21 -2
  65. package/dist/esm/version.d.ts +1 -1
  66. package/dist/esm/version.js +1 -1
  67. package/fixtures/expected/invoice-payment-cancellation.grid32.txt +28 -0
  68. package/fixtures/expected/invoice-payment-cancellation.grid48.txt +26 -0
  69. package/fixtures/expected/invoice-payment-cancellation.lines.json +189 -0
  70. package/fixtures/expected/invoice-payment-cancellation.sheet32.json +194 -0
  71. package/fixtures/expected/invoice-payment-cancellation.sheet48.json +182 -0
  72. package/fixtures/expected/invoice-payment-manual-receipt.grid32.txt +30 -0
  73. package/fixtures/expected/invoice-payment-manual-receipt.grid48.txt +29 -0
  74. package/fixtures/expected/invoice-payment-manual-receipt.lines.json +199 -0
  75. package/fixtures/expected/invoice-payment-manual-receipt.sheet32.json +206 -0
  76. package/fixtures/expected/invoice-payment-manual-receipt.sheet48.json +200 -0
  77. package/fixtures/expected/invoice-payment-normal.grid32.txt +22 -0
  78. package/fixtures/expected/invoice-payment-normal.grid48.txt +21 -0
  79. package/fixtures/expected/invoice-payment-normal.lines.json +192 -0
  80. package/fixtures/expected/invoice-payment-normal.sheet32.json +158 -0
  81. package/fixtures/expected/invoice-payment-normal.sheet48.json +152 -0
  82. package/fixtures/expected/invoice-payment-outage.grid32.txt +23 -0
  83. package/fixtures/expected/invoice-payment-outage.grid48.txt +21 -0
  84. package/fixtures/expected/invoice-payment-outage.lines.json +172 -0
  85. package/fixtures/expected/invoice-payment-outage.sheet32.json +164 -0
  86. package/fixtures/expected/invoice-payment-outage.sheet48.json +152 -0
  87. package/fixtures/expected/invoice-payment-partial.grid32.txt +20 -0
  88. package/fixtures/expected/invoice-payment-partial.grid48.txt +20 -0
  89. package/fixtures/expected/invoice-payment-partial.lines.json +162 -0
  90. package/fixtures/expected/invoice-payment-partial.sheet32.json +146 -0
  91. package/fixtures/expected/invoice-payment-partial.sheet48.json +146 -0
  92. package/fixtures/expected/invoice-payment-refund.grid32.txt +20 -0
  93. package/fixtures/expected/invoice-payment-refund.grid48.txt +20 -0
  94. package/fixtures/expected/invoice-payment-refund.lines.json +162 -0
  95. package/fixtures/expected/invoice-payment-refund.sheet32.json +146 -0
  96. package/fixtures/expected/invoice-payment-refund.sheet48.json +146 -0
  97. package/fixtures/expected/invoice-payment-see-invoice.grid32.txt +22 -0
  98. package/fixtures/expected/invoice-payment-see-invoice.grid48.txt +21 -0
  99. package/fixtures/expected/invoice-payment-see-invoice.lines.json +192 -0
  100. package/fixtures/expected/invoice-payment-see-invoice.sheet32.json +158 -0
  101. package/fixtures/expected/invoice-payment-see-invoice.sheet48.json +152 -0
  102. package/fixtures/expected/invoice-payment-training.grid32.txt +30 -0
  103. package/fixtures/expected/invoice-payment-training.grid48.txt +27 -0
  104. package/fixtures/expected/invoice-payment-training.lines.json +183 -0
  105. package/fixtures/expected/invoice-payment-training.sheet32.json +206 -0
  106. package/fixtures/expected/invoice-payment-training.sheet48.json +188 -0
  107. package/fixtures/expected/invoice-payment-without-vat.grid32.txt +20 -0
  108. package/fixtures/expected/invoice-payment-without-vat.grid48.txt +19 -0
  109. package/fixtures/expected/invoice-payment-without-vat.lines.json +162 -0
  110. package/fixtures/expected/invoice-payment-without-vat.sheet32.json +146 -0
  111. package/fixtures/expected/invoice-payment-without-vat.sheet48.json +140 -0
  112. package/fixtures/expected/invoice-payment-zero-percent.grid32.txt +22 -0
  113. package/fixtures/expected/invoice-payment-zero-percent.grid48.txt +21 -0
  114. package/fixtures/expected/invoice-payment-zero-percent.lines.json +192 -0
  115. package/fixtures/expected/invoice-payment-zero-percent.sheet32.json +158 -0
  116. package/fixtures/expected/invoice-payment-zero-percent.sheet48.json +152 -0
  117. package/fixtures/hobex-hps-codes.json +1 -1
  118. package/fixtures/invoice-api.schema.json +3 -2
  119. package/fixtures/invoice-texts.json +37 -3
  120. package/fixtures/manifest.json +80 -0
  121. package/fixtures/pos-message-cases.json +3 -0
  122. package/fixtures/pos-texts.json +14 -1
  123. package/fixtures/receipt-due-generated.json +3 -3
  124. package/fixtures/receipt-due-voucher-generated.json +5 -5
  125. package/fixtures/receipts/invoice-payment-cancellation.json +70 -0
  126. package/fixtures/receipts/invoice-payment-manual-receipt.json +69 -0
  127. package/fixtures/receipts/invoice-payment-normal.json +65 -0
  128. package/fixtures/receipts/invoice-payment-outage.json +63 -0
  129. package/fixtures/receipts/invoice-payment-partial.json +63 -0
  130. package/fixtures/receipts/invoice-payment-refund.json +63 -0
  131. package/fixtures/receipts/invoice-payment-see-invoice.json +65 -0
  132. package/fixtures/receipts/invoice-payment-training.json +63 -0
  133. package/fixtures/receipts/invoice-payment-without-vat.json +63 -0
  134. package/fixtures/receipts/invoice-payment-zero-percent.json +65 -0
  135. package/fixtures/surface.json +3 -2
  136. package/fixtures/v3/antworten/belege.json +2 -2
  137. package/fixtures/v3/antworten/belegmail.json +2 -2
  138. package/fixtures/v3/antworten/berichte.json +2 -2
  139. package/fixtures/v3/antworten/kasse-belege.json +2 -2
  140. package/fixtures/v3/antworten/kasse.json +10 -127
  141. package/fixtures/v3/antworten/lager.json +1 -1
  142. package/fixtures/v3/antworten/rechnungen.json +2 -2
  143. package/fixtures/v3/antworten/storno.json +2 -2
  144. package/fixtures/v3/stored/belege.json +2 -2
  145. package/fixtures/v3/stored/kasse.json +3 -3
  146. package/fixtures/v3/stored/rechnungen.json +2 -2
  147. package/fixtures/v3/v3-vokabular.json +172 -18
  148. package/fixtures/v3/zahlbetrag-faelle.json +2 -2
  149. 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": "78eb90dbffbd44f2b16d78963d35c6e977245f5f53bb171a19b73b15d5cb0a3c",
5
- "inputsSha256": "d736f3d749e4a91d825a72c07541a0cf6cb2de8e056b7805fb3a1bb06f3546ad",
6
- "backendPackage": "@kreiseck/kasseneck-api@0.39.0",
4
+ "sha256": "7e41f406752cf109d3809bd187db0dfccceafbc3c9d88305edf32c98d57bced3",
5
+ "inputsSha256": "3871d026aba2c14a25c3561c8d33ab4991636f3755131b23a360d4577a0caa1d",
6
+ "backendPackage": "@kreiseck/kasseneck-api@0.40.0",
7
7
  "inputs": [
8
8
  "docs/api/fehlercodes.json",
9
9
  "functions-kasse/test/unit/fixtures/kassen-codes-v3.js",
@@ -1249,6 +1249,11 @@
1249
1249
  "admin_papier": "admin_paper",
1250
1250
  "papier_upload": "paper_upload"
1251
1251
  },
1252
+ "RECHNUNGSZAHLUNG_STEUERHINWEIS": {
1253
+ "inkl_ust": "incl_vat",
1254
+ "null_prozent": "zero_percent",
1255
+ "siehe_rechnung": "see_invoice"
1256
+ },
1252
1257
  "RECHTSFORM": {
1253
1258
  "einzel": "sole_proprietor",
1254
1259
  "eu": "eu",
@@ -1402,6 +1407,7 @@
1402
1407
  "card_pool_unavailable",
1403
1408
  "card_tips_require_shift_mode",
1404
1409
  "cash_movement_exceeds_balance",
1410
+ "cash_receipt_pending",
1405
1411
  "cashregister_closed",
1406
1412
  "cashregister_decommissioned",
1407
1413
  "cashregister_in_use",
@@ -1493,6 +1499,7 @@
1493
1499
  "invalid_document",
1494
1500
  "invalid_e1a_group",
1495
1501
  "invalid_file",
1502
+ "invalid_invoice_payment",
1496
1503
  "invalid_item_kind",
1497
1504
  "invalid_items",
1498
1505
  "invalid_landed_cost",
@@ -1535,6 +1542,9 @@
1535
1542
  "invoice_api_not_enabled",
1536
1543
  "invoice_not_found",
1537
1544
  "invoice_number_taken",
1545
+ "invoice_payment_mixed",
1546
+ "invoice_payment_not_cancellable",
1547
+ "invoice_payment_server_only",
1538
1548
  "invoice_requirements_missing",
1539
1549
  "invoice_setup_incomplete",
1540
1550
  "kind_not_allowed",
@@ -1906,7 +1916,11 @@
1906
1916
  "zu_viele_pfandarten": "too_many_deposit_types",
1907
1917
  "ewp_nicht_abfueller": "filler_role_required",
1908
1918
  "kind_ungueltig": "invalid_item_kind",
1909
- "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode"
1919
+ "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode",
1920
+ "rechnungszahlung_nur_server": "invoice_payment_server_only",
1921
+ "rechnungszahlung_gemischt": "invoice_payment_mixed",
1922
+ "rechnungszahlung_ungueltig": "invalid_invoice_payment",
1923
+ "rechnungszahlung_nicht_stornierbar": "invoice_payment_not_cancellable"
1910
1924
  },
1911
1925
  "edge": [
1912
1926
  "validation",
@@ -2026,6 +2040,7 @@
2026
2040
  "invalid_deposit_quantity",
2027
2041
  "invalid_discount_preset",
2028
2042
  "invalid_file",
2043
+ "invalid_invoice_payment",
2029
2044
  "invalid_item_kind",
2030
2045
  "invalid_items",
2031
2046
  "invalid_line",
@@ -2037,6 +2052,9 @@
2037
2052
  "invalid_return_disposition",
2038
2053
  "invalid_serial",
2039
2054
  "invalid_tip_refund_source",
2055
+ "invoice_payment_mixed",
2056
+ "invoice_payment_not_cancellable",
2057
+ "invoice_payment_server_only",
2040
2058
  "licenses_exhausted",
2041
2059
  "link_not_found",
2042
2060
  "location_inactive",
@@ -2182,7 +2200,8 @@
2182
2200
  "refund_as_voucher_with_voucher",
2183
2201
  "refund_as_voucher_no_type",
2184
2202
  "refund_as_voucher_amount",
2185
- "idempotency_key_required"
2203
+ "idempotency_key_required",
2204
+ "invoice_payment_not_cancellable"
2186
2205
  ],
2187
2206
  "payments": [
2188
2207
  "payments_invalid",
@@ -2257,7 +2276,8 @@
2257
2276
  "deposit_type_not_found",
2258
2277
  "deposit_set_by_server",
2259
2278
  "invalid_deposit_quantity",
2260
- "invalid_deposit"
2279
+ "invalid_deposit",
2280
+ "cash_receipt_pending"
2261
2281
  ],
2262
2282
  "partner": [
2263
2283
  "validation",
@@ -2680,7 +2700,11 @@
2680
2700
  "too_many_deposit_types",
2681
2701
  "filler_role_required",
2682
2702
  "invalid_item_kind",
2683
- "card_tips_require_shift_mode"
2703
+ "card_tips_require_shift_mode",
2704
+ "invoice_payment_server_only",
2705
+ "invoice_payment_mixed",
2706
+ "invalid_invoice_payment",
2707
+ "invoice_payment_not_cancellable"
2684
2708
  ],
2685
2709
  "receiptMessagesByEndpoint": {
2686
2710
  "createReceipt": [
@@ -2796,8 +2820,11 @@
2796
2820
  "idempotency_conflict",
2797
2821
  "invalid_deposit",
2798
2822
  "invalid_deposit_quantity",
2823
+ "invalid_invoice_payment",
2799
2824
  "invalid_item_kind",
2800
2825
  "invalid_manual_receipt",
2826
+ "invoice_payment_mixed",
2827
+ "invoice_payment_server_only",
2801
2828
  "manual_receipt_date_in_future",
2802
2829
  "manual_receipt_duplicate",
2803
2830
  "manual_receipt_not_allowed",
@@ -2859,6 +2886,7 @@
2859
2886
  "invalid_line",
2860
2887
  "invalid_return_disposition",
2861
2888
  "invalid_tip_refund_source",
2889
+ "invoice_payment_not_cancellable",
2862
2890
  "manual_receipt_not_allowed",
2863
2891
  "not_permitted",
2864
2892
  "note_too_long",
@@ -3457,7 +3485,18 @@
3457
3485
  "sharedReturnPoint": {
3458
3486
  "__": "pfandStelle",
3459
3487
  "address": "adresse"
3460
- }
3488
+ },
3489
+ "invoicePayments": [
3490
+ {
3491
+ "__": "rechnungszahlung",
3492
+ "invoiceNumber": "nummer",
3493
+ "customerId": "kundeId",
3494
+ "amountCents": "betragCents",
3495
+ "partial": "teil",
3496
+ "paidOn": "zahlungVom",
3497
+ "taxNote": "steuerhinweis"
3498
+ }
3499
+ ]
3461
3500
  },
3462
3501
  "issuedVouchers": [
3463
3502
  {
@@ -3499,6 +3538,9 @@
3499
3538
  },
3500
3539
  "receipt.items[].depositKind": {
3501
3540
  "$catalog": "PFAND_ART"
3541
+ },
3542
+ "receipt.invoicePayments[].taxNote": {
3543
+ "$catalog": "RECHNUNGSZAHLUNG_STEUERHINWEIS"
3502
3544
  }
3503
3545
  },
3504
3546
  "ergaenze": {
@@ -3910,7 +3952,11 @@
3910
3952
  "zu_viele_pfandarten": "too_many_deposit_types",
3911
3953
  "ewp_nicht_abfueller": "filler_role_required",
3912
3954
  "kind_ungueltig": "invalid_item_kind",
3913
- "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode"
3955
+ "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode",
3956
+ "rechnungszahlung_nur_server": "invoice_payment_server_only",
3957
+ "rechnungszahlung_gemischt": "invoice_payment_mixed",
3958
+ "rechnungszahlung_ungueltig": "invalid_invoice_payment",
3959
+ "rechnungszahlung_nicht_stornierbar": "invoice_payment_not_cancellable"
3914
3960
  }
3915
3961
  }
3916
3962
  }
@@ -4152,7 +4198,18 @@
4152
4198
  "sharedReturnPoint": {
4153
4199
  "__": "pfandStelle",
4154
4200
  "address": "adresse"
4155
- }
4201
+ },
4202
+ "invoicePayments": [
4203
+ {
4204
+ "__": "rechnungszahlung",
4205
+ "invoiceNumber": "nummer",
4206
+ "customerId": "kundeId",
4207
+ "amountCents": "betragCents",
4208
+ "partial": "teil",
4209
+ "paidOn": "zahlungVom",
4210
+ "taxNote": "steuerhinweis"
4211
+ }
4212
+ ]
4156
4213
  },
4157
4214
  "taxNumber": "taxnr",
4158
4215
  "vatId": "uid",
@@ -4213,6 +4270,9 @@
4213
4270
  "receipt.items[].depositKind": {
4214
4271
  "$catalog": "PFAND_ART"
4215
4272
  },
4273
+ "receipt.invoicePayments[].taxNote": {
4274
+ "$catalog": "RECHNUNGSZAHLUNG_STEUERHINWEIS"
4275
+ },
4216
4276
  "issuedVouchers[].type": {
4217
4277
  "$catalog": "GUTSCHEIN_ART"
4218
4278
  },
@@ -4672,7 +4732,11 @@
4672
4732
  "zu_viele_pfandarten": "too_many_deposit_types",
4673
4733
  "ewp_nicht_abfueller": "filler_role_required",
4674
4734
  "kind_ungueltig": "invalid_item_kind",
4675
- "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode"
4735
+ "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode",
4736
+ "rechnungszahlung_nur_server": "invoice_payment_server_only",
4737
+ "rechnungszahlung_gemischt": "invoice_payment_mixed",
4738
+ "rechnungszahlung_ungueltig": "invalid_invoice_payment",
4739
+ "rechnungszahlung_nicht_stornierbar": "invoice_payment_not_cancellable"
4676
4740
  },
4677
4741
  "signatures[].error.code": {
4678
4742
  "zeitraum_offen": "period_not_closed",
@@ -4803,7 +4867,11 @@
4803
4867
  "zu_viele_pfandarten": "too_many_deposit_types",
4804
4868
  "ewp_nicht_abfueller": "filler_role_required",
4805
4869
  "kind_ungueltig": "invalid_item_kind",
4806
- "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode"
4870
+ "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode",
4871
+ "rechnungszahlung_nur_server": "invoice_payment_server_only",
4872
+ "rechnungszahlung_gemischt": "invoice_payment_mixed",
4873
+ "rechnungszahlung_ungueltig": "invalid_invoice_payment",
4874
+ "rechnungszahlung_nicht_stornierbar": "invoice_payment_not_cancellable"
4807
4875
  }
4808
4876
  }
4809
4877
  },
@@ -5844,7 +5912,18 @@
5844
5912
  "sharedReturnPoint": {
5845
5913
  "__": "pfandStelle",
5846
5914
  "address": "adresse"
5847
- }
5915
+ },
5916
+ "invoicePayments": [
5917
+ {
5918
+ "__": "rechnungszahlung",
5919
+ "invoiceNumber": "nummer",
5920
+ "customerId": "kundeId",
5921
+ "amountCents": "betragCents",
5922
+ "partial": "teil",
5923
+ "paidOn": "zahlungVom",
5924
+ "taxNote": "steuerhinweis"
5925
+ }
5926
+ ]
5848
5927
  },
5849
5928
  "taxNumber": "taxnr",
5850
5929
  "vatId": "uid",
@@ -5914,6 +5993,9 @@
5914
5993
  "receipt.items[].depositKind": {
5915
5994
  "$catalog": "PFAND_ART"
5916
5995
  },
5996
+ "receipt.invoicePayments[].taxNote": {
5997
+ "$catalog": "RECHNUNGSZAHLUNG_STEUERHINWEIS"
5998
+ },
5917
5999
  "issuedVouchers[].type": {
5918
6000
  "$catalog": "GUTSCHEIN_ART"
5919
6001
  },
@@ -5979,7 +6061,18 @@
5979
6061
  "sharedReturnPoint": {
5980
6062
  "__": "pfandStelle",
5981
6063
  "address": "adresse"
5982
- }
6064
+ },
6065
+ "invoicePayments": [
6066
+ {
6067
+ "__": "rechnungszahlung",
6068
+ "invoiceNumber": "nummer",
6069
+ "customerId": "kundeId",
6070
+ "amountCents": "betragCents",
6071
+ "partial": "teil",
6072
+ "paidOn": "zahlungVom",
6073
+ "taxNote": "steuerhinweis"
6074
+ }
6075
+ ]
5983
6076
  }
5984
6077
  ],
5985
6078
  "metadata": {
@@ -6000,6 +6093,9 @@
6000
6093
  },
6001
6094
  "receipts[].items[].depositKind": {
6002
6095
  "$catalog": "PFAND_ART"
6096
+ },
6097
+ "receipts[].invoicePayments[].taxNote": {
6098
+ "$catalog": "RECHNUNGSZAHLUNG_STEUERHINWEIS"
6003
6099
  }
6004
6100
  },
6005
6101
  "ergaenze": {
@@ -6311,7 +6407,11 @@
6311
6407
  "zu_viele_pfandarten": "too_many_deposit_types",
6312
6408
  "ewp_nicht_abfueller": "filler_role_required",
6313
6409
  "kind_ungueltig": "invalid_item_kind",
6314
- "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode"
6410
+ "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode",
6411
+ "rechnungszahlung_nur_server": "invoice_payment_server_only",
6412
+ "rechnungszahlung_gemischt": "invoice_payment_mixed",
6413
+ "rechnungszahlung_ungueltig": "invalid_invoice_payment",
6414
+ "rechnungszahlung_nicht_stornierbar": "invoice_payment_not_cancellable"
6315
6415
  }
6316
6416
  }
6317
6417
  },
@@ -6943,6 +7043,17 @@
6943
7043
  "__": "pfandStelle",
6944
7044
  "address": "adresse"
6945
7045
  },
7046
+ "invoicePayments": [
7047
+ {
7048
+ "__": "rechnungszahlung",
7049
+ "invoiceNumber": "nummer",
7050
+ "customerId": "kundeId",
7051
+ "amountCents": "betragCents",
7052
+ "partial": "teil",
7053
+ "paidOn": "zahlungVom",
7054
+ "taxNote": "steuerhinweis"
7055
+ }
7056
+ ],
6946
7057
  "cancellationStatus": "stornoStand",
6947
7058
  "testSignature": "testSignatur"
6948
7059
  }
@@ -6978,6 +7089,9 @@
6978
7089
  },
6979
7090
  "receipts[].items[].depositKind": {
6980
7091
  "$catalog": "PFAND_ART"
7092
+ },
7093
+ "receipts[].invoicePayments[].taxNote": {
7094
+ "$catalog": "RECHNUNGSZAHLUNG_STEUERHINWEIS"
6981
7095
  }
6982
7096
  },
6983
7097
  "ergaenze": {
@@ -8293,7 +8407,11 @@
8293
8407
  "zu_viele_pfandarten": "too_many_deposit_types",
8294
8408
  "ewp_nicht_abfueller": "filler_role_required",
8295
8409
  "kind_ungueltig": "invalid_item_kind",
8296
- "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode"
8410
+ "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode",
8411
+ "rechnungszahlung_nur_server": "invoice_payment_server_only",
8412
+ "rechnungszahlung_gemischt": "invoice_payment_mixed",
8413
+ "rechnungszahlung_ungueltig": "invalid_invoice_payment",
8414
+ "rechnungszahlung_nicht_stornierbar": "invoice_payment_not_cancellable"
8297
8415
  }
8298
8416
  },
8299
8417
  "fehler": {
@@ -9777,7 +9895,11 @@
9777
9895
  "zu_viele_pfandarten": "too_many_deposit_types",
9778
9896
  "ewp_nicht_abfueller": "filler_role_required",
9779
9897
  "kind_ungueltig": "invalid_item_kind",
9780
- "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode"
9898
+ "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode",
9899
+ "rechnungszahlung_nur_server": "invoice_payment_server_only",
9900
+ "rechnungszahlung_gemischt": "invoice_payment_mixed",
9901
+ "rechnungszahlung_ungueltig": "invalid_invoice_payment",
9902
+ "rechnungszahlung_nicht_stornierbar": "invoice_payment_not_cancellable"
9781
9903
  }
9782
9904
  }
9783
9905
  },
@@ -9840,6 +9962,17 @@
9840
9962
  "__": "pfandStelle",
9841
9963
  "address": "adresse"
9842
9964
  },
9965
+ "invoicePayments": [
9966
+ {
9967
+ "__": "rechnungszahlung",
9968
+ "invoiceNumber": "nummer",
9969
+ "customerId": "kundeId",
9970
+ "amountCents": "betragCents",
9971
+ "partial": "teil",
9972
+ "paidOn": "zahlungVom",
9973
+ "taxNote": "steuerhinweis"
9974
+ }
9975
+ ],
9843
9976
  "cancellationStatus": "stornoStand",
9844
9977
  "testSignature": "testSignatur"
9845
9978
  }
@@ -9859,6 +9992,9 @@
9859
9992
  },
9860
9993
  "receipt.items[].depositKind": {
9861
9994
  "$catalog": "PFAND_ART"
9995
+ },
9996
+ "receipt.invoicePayments[].taxNote": {
9997
+ "$catalog": "RECHNUNGSZAHLUNG_STEUERHINWEIS"
9862
9998
  }
9863
9999
  },
9864
10000
  "ergaenze": {
@@ -9904,6 +10040,17 @@
9904
10040
  "__": "pfandStelle",
9905
10041
  "address": "adresse"
9906
10042
  },
10043
+ "invoicePayments": [
10044
+ {
10045
+ "__": "rechnungszahlung",
10046
+ "invoiceNumber": "nummer",
10047
+ "customerId": "kundeId",
10048
+ "amountCents": "betragCents",
10049
+ "partial": "teil",
10050
+ "paidOn": "zahlungVom",
10051
+ "taxNote": "steuerhinweis"
10052
+ }
10053
+ ],
9907
10054
  "cancellationStatus": "stornoStand",
9908
10055
  "testSignature": "testSignatur"
9909
10056
  }
@@ -9923,6 +10070,9 @@
9923
10070
  },
9924
10071
  "receipt.items[].depositKind": {
9925
10072
  "$catalog": "PFAND_ART"
10073
+ },
10074
+ "receipt.invoicePayments[].taxNote": {
10075
+ "$catalog": "RECHNUNGSZAHLUNG_STEUERHINWEIS"
9926
10076
  }
9927
10077
  },
9928
10078
  "ergaenze": {
@@ -10123,7 +10273,11 @@
10123
10273
  "zu_viele_pfandarten": "too_many_deposit_types",
10124
10274
  "ewp_nicht_abfueller": "filler_role_required",
10125
10275
  "kind_ungueltig": "invalid_item_kind",
10126
- "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode"
10276
+ "kartentrinkgeld_schichtbetrieb_noetig": "card_tips_require_shift_mode",
10277
+ "rechnungszahlung_nur_server": "invoice_payment_server_only",
10278
+ "rechnungszahlung_gemischt": "invoice_payment_mixed",
10279
+ "rechnungszahlung_ungueltig": "invalid_invoice_payment",
10280
+ "rechnungszahlung_nicht_stornierbar": "invoice_payment_not_cancellable"
10127
10281
  }
10128
10282
  }
10129
10283
  },
@@ -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": "6b57e49fd9296cdbdd2fbe9fee95ad64b75967a7b4ccbdbfd825cf1ba0f23987",
5
- "inputsSha256": "d736f3d749e4a91d825a72c07541a0cf6cb2de8e056b7805fb3a1bb06f3546ad",
6
- "backendPackage": "@kreiseck/kasseneck-api@0.39.0",
5
+ "inputsSha256": "3871d026aba2c14a25c3561c8d33ab4991636f3755131b23a360d4577a0caa1d",
6
+ "backendPackage": "@kreiseck/kasseneck-api@0.40.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.37.0",
3
+ "version": "1.38.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",