@kreiseck/kasseneck-api 1.17.1 → 1.19.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 +32 -0
- package/README.md +20 -8
- package/dist/cjs/client/index.d.ts +1 -1
- package/dist/cjs/client/index.js +3 -2
- package/dist/cjs/client/list-receipts.d.ts +48 -5
- package/dist/cjs/client/list-receipts.js +68 -3
- package/dist/cjs/client/receipts.d.ts +6 -0
- package/dist/cjs/client/receipts.js +8 -2
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +3 -2
- package/dist/cjs/models/index.d.ts +1 -0
- package/dist/cjs/models/index.js +6 -1
- package/dist/cjs/models/manual-receipt.d.ts +45 -0
- package/dist/cjs/models/manual-receipt.js +58 -0
- package/dist/cjs/models/receipt-summary.d.ts +4 -0
- package/dist/cjs/models/receipt-summary.js +6 -0
- package/dist/cjs/models/receipt.d.ts +9 -3
- package/dist/cjs/models/receipt.js +6 -0
- package/dist/cjs/receipt/layout.js +57 -0
- package/dist/cjs/stored/vokabular.d.ts +1 -1
- package/dist/cjs/stored/vokabular.js +23 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/client/index.d.ts +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/client/list-receipts.d.ts +48 -5
- package/dist/esm/client/list-receipts.js +67 -3
- package/dist/esm/client/receipts.d.ts +6 -0
- package/dist/esm/client/receipts.js +8 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/manual-receipt.d.ts +45 -0
- package/dist/esm/models/manual-receipt.js +53 -0
- package/dist/esm/models/receipt-summary.d.ts +4 -0
- package/dist/esm/models/receipt-summary.js +6 -0
- package/dist/esm/models/receipt.d.ts +9 -3
- package/dist/esm/models/receipt.js +6 -0
- package/dist/esm/receipt/layout.js +57 -0
- package/dist/esm/stored/vokabular.d.ts +1 -1
- package/dist/esm/stored/vokabular.js +23 -2
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/fixtures/expected/manual-receipt-range-device-failure-count.grid32.txt +36 -0
- package/fixtures/expected/manual-receipt-range-device-failure-count.grid48.txt +36 -0
- package/fixtures/expected/manual-receipt-range-device-failure-count.lines.json +299 -0
- package/fixtures/expected/manual-receipt-range-device-failure-count.sheet32.json +242 -0
- package/fixtures/expected/manual-receipt-range-device-failure-count.sheet48.json +242 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.grid32.txt +36 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.grid48.txt +36 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.lines.json +299 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.sheet32.json +242 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.sheet48.json +242 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.grid32.txt +33 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.lines.json +259 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.sheet32.json +224 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.grid32.txt +33 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.lines.json +259 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.sheet32.json +224 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-range-other-count.grid32.txt +36 -0
- package/fixtures/expected/manual-receipt-range-other-count.grid48.txt +36 -0
- package/fixtures/expected/manual-receipt-range-other-count.lines.json +299 -0
- package/fixtures/expected/manual-receipt-range-other-count.sheet32.json +242 -0
- package/fixtures/expected/manual-receipt-range-other-count.sheet48.json +242 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.grid32.txt +36 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.grid48.txt +36 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.lines.json +299 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.sheet32.json +242 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.sheet48.json +242 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.grid32.txt +37 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.grid48.txt +37 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.lines.json +305 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.sheet32.json +248 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.sheet48.json +248 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.grid32.txt +37 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.grid48.txt +37 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.lines.json +305 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.sheet32.json +248 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.sheet48.json +248 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.grid32.txt +33 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.lines.json +259 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.sheet32.json +224 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.grid32.txt +33 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.lines.json +259 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.sheet32.json +224 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.grid32.txt +31 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.sheet32.json +212 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.grid32.txt +31 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.sheet32.json +212 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.grid32.txt +32 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.sheet32.json +218 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.grid32.txt +32 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.sheet32.json +218 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.grid32.txt +35 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.grid48.txt +34 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.lines.json +299 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.sheet32.json +236 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.sheet48.json +230 -0
- package/fixtures/expected/manual-receipt-single-other-time.grid32.txt +35 -0
- package/fixtures/expected/manual-receipt-single-other-time.grid48.txt +34 -0
- package/fixtures/expected/manual-receipt-single-other-time.lines.json +299 -0
- package/fixtures/expected/manual-receipt-single-other-time.sheet32.json +236 -0
- package/fixtures/expected/manual-receipt-single-other-time.sheet48.json +230 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.grid32.txt +31 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.lines.json +247 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.sheet32.json +212 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.grid32.txt +31 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.lines.json +247 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.sheet32.json +212 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.grid32.txt +35 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.grid48.txt +34 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.lines.json +299 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.sheet32.json +236 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.sheet48.json +230 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.grid32.txt +35 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.grid48.txt +34 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.lines.json +299 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.sheet32.json +236 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.sheet48.json +230 -0
- package/fixtures/expected/manual-receipt-single-small-business.grid32.txt +34 -0
- package/fixtures/expected/manual-receipt-single-small-business.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-single-small-business.lines.json +257 -0
- package/fixtures/expected/manual-receipt-single-small-business.sheet32.json +230 -0
- package/fixtures/expected/manual-receipt-single-small-business.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.grid32.txt +32 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.sheet32.json +218 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.grid32.txt +32 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.sheet32.json +218 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.sheet48.json +212 -0
- package/fixtures/expected/zero-outage-end-period.grid32.txt +35 -0
- package/fixtures/expected/zero-outage-end-period.grid48.txt +31 -0
- package/fixtures/expected/zero-outage-end-period.lines.json +230 -0
- package/fixtures/expected/zero-outage-end-period.sheet32.json +236 -0
- package/fixtures/expected/zero-outage-end-period.sheet48.json +212 -0
- package/fixtures/hobex-hps-codes.json +1 -1
- package/fixtures/invoice-api.schema.json +1 -1
- package/fixtures/invoice-texts.json +1 -1
- package/fixtures/manifest.json +192 -0
- package/fixtures/pos-texts.json +1 -1
- package/fixtures/receipts/manual-receipt-range-device-failure-count.json +56 -0
- package/fixtures/receipts/manual-receipt-range-device-failure-no-count.json +55 -0
- package/fixtures/receipts/manual-receipt-range-network-outage-count.json +50 -0
- package/fixtures/receipts/manual-receipt-range-network-outage-no-count.json +49 -0
- package/fixtures/receipts/manual-receipt-range-other-count.json +57 -0
- package/fixtures/receipts/manual-receipt-range-other-no-count.json +56 -0
- package/fixtures/receipts/manual-receipt-range-power-outage-count.json +56 -0
- package/fixtures/receipts/manual-receipt-range-power-outage-no-count.json +55 -0
- package/fixtures/receipts/manual-receipt-range-system-outage-count.json +50 -0
- package/fixtures/receipts/manual-receipt-range-system-outage-no-count.json +49 -0
- package/fixtures/receipts/manual-receipt-single-device-failure-no-time.json +48 -0
- package/fixtures/receipts/manual-receipt-single-device-failure-time.json +49 -0
- package/fixtures/receipts/manual-receipt-single-network-outage-no-time.json +49 -0
- package/fixtures/receipts/manual-receipt-single-network-outage-time.json +50 -0
- package/fixtures/receipts/manual-receipt-single-other-no-time.json +55 -0
- package/fixtures/receipts/manual-receipt-single-other-time.json +56 -0
- package/fixtures/receipts/manual-receipt-single-outside-premises-no-time.json +48 -0
- package/fixtures/receipts/manual-receipt-single-outside-premises-time.json +49 -0
- package/fixtures/receipts/manual-receipt-single-power-outage-no-time.json +54 -0
- package/fixtures/receipts/manual-receipt-single-power-outage-time.json +55 -0
- package/fixtures/receipts/manual-receipt-single-small-business.json +48 -0
- package/fixtures/receipts/manual-receipt-single-system-outage-no-time.json +49 -0
- package/fixtures/receipts/manual-receipt-single-system-outage-time.json +50 -0
- package/fixtures/receipts/zero-outage-end-period.json +43 -0
- package/fixtures/surface.json +1 -1
- package/fixtures/v3/antworten/belege.json +585 -9
- package/fixtures/v3/antworten/belegmail.json +2 -2
- package/fixtures/v3/antworten/berichte.json +2 -2
- package/fixtures/v3/antworten/kasse-belege.json +433 -3
- package/fixtures/v3/antworten/kasse.json +3 -3
- package/fixtures/v3/antworten/lager.json +1 -1
- package/fixtures/v3/antworten/rechnungen.json +2 -2
- package/fixtures/v3/antworten/storno.json +15 -3
- package/fixtures/v3/stored/belege.json +57 -3
- package/fixtures/v3/stored/kasse.json +3 -3
- package/fixtures/v3/stored/rechnungen.json +2 -2
- package/fixtures/v3/v3-vokabular.json +188 -11
- package/fixtures/v3/zahlbetrag-faelle.json +2 -2
- package/package.json +1 -1
|
@@ -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": "8ab1b71c62ba07684e9ef254a7434be434247afdb1ac9947e083b4b0af5f3c04",
|
|
5
|
-
"inputsSha256": "
|
|
6
|
-
"backendPackage": "@kreiseck/kasseneck-api@0.
|
|
5
|
+
"inputsSha256": "df1229235f9e3230ca2d6b32ad65c0dfb5ca5a476551e92d1bc92bb2fd5d11bf",
|
|
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",
|
|
@@ -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": "
|
|
5
|
-
"inputsSha256": "
|
|
6
|
-
"backendPackage": "@kreiseck/kasseneck-api@0.
|
|
4
|
+
"sha256": "f9d375a30bfb51addc8405dd6f5c24928ebc628166ae5ebf2b0c43d9f19701dd",
|
|
5
|
+
"inputsSha256": "df1229235f9e3230ca2d6b32ad65c0dfb5ca5a476551e92d1bc92bb2fd5d11bf",
|
|
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,14 +5686,35 @@
|
|
|
5548
5686
|
"keptByEmployee": "direkt"
|
|
5549
5687
|
}
|
|
5550
5688
|
],
|
|
5551
|
-
"
|
|
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
|
+
},
|
|
5699
|
+
"cancellationStatus": "stornoStand",
|
|
5700
|
+
"testSignature": "testSignatur"
|
|
5552
5701
|
}
|
|
5553
5702
|
],
|
|
5554
5703
|
"metadata": {
|
|
5555
5704
|
"__": "metadata",
|
|
5556
5705
|
"taxNumber": "taxnr",
|
|
5557
5706
|
"vatId": "uid"
|
|
5558
|
-
}
|
|
5707
|
+
},
|
|
5708
|
+
"headers": [
|
|
5709
|
+
{
|
|
5710
|
+
"__": "kopfVersionen",
|
|
5711
|
+
"headerVersionId": "kopfId",
|
|
5712
|
+
"taxNumber": "taxnr",
|
|
5713
|
+
"vatId": "uid"
|
|
5714
|
+
}
|
|
5715
|
+
],
|
|
5716
|
+
"testCashregister": "testKasse",
|
|
5717
|
+
"logo_scale": "logo_skala"
|
|
5559
5718
|
},
|
|
5560
5719
|
"werte": {
|
|
5561
5720
|
"receipts[].cancellationStatus": {
|
|
@@ -5563,6 +5722,9 @@
|
|
|
5563
5722
|
},
|
|
5564
5723
|
"receipts[].cancellationReason": {
|
|
5565
5724
|
"$catalog": "STORNO_GRUND"
|
|
5725
|
+
},
|
|
5726
|
+
"receipts[].manualReceipt.reason": {
|
|
5727
|
+
"$catalog": "HANDBELEG_GRUND"
|
|
5566
5728
|
}
|
|
5567
5729
|
},
|
|
5568
5730
|
"ergaenze": {
|
|
@@ -6703,6 +6865,11 @@
|
|
|
6703
6865
|
"PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
|
|
6704
6866
|
"PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
|
|
6705
6867
|
"PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
|
|
6868
|
+
"handbeleg_ungueltig": "invalid_manual_receipt",
|
|
6869
|
+
"handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
|
|
6870
|
+
"handbeleg_datum_zukunft": "manual_receipt_date_in_future",
|
|
6871
|
+
"handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
|
|
6872
|
+
"handbeleg_doppelt": "manual_receipt_duplicate",
|
|
6706
6873
|
"PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
|
|
6707
6874
|
"PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
|
|
6708
6875
|
"PAYMENTS_CONFLICT": "payments_conflict",
|
|
@@ -7635,6 +7802,11 @@
|
|
|
7635
7802
|
"PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
|
|
7636
7803
|
"PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
|
|
7637
7804
|
"PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
|
|
7805
|
+
"handbeleg_ungueltig": "invalid_manual_receipt",
|
|
7806
|
+
"handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
|
|
7807
|
+
"handbeleg_datum_zukunft": "manual_receipt_date_in_future",
|
|
7808
|
+
"handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
|
|
7809
|
+
"handbeleg_doppelt": "manual_receipt_duplicate",
|
|
7638
7810
|
"PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
|
|
7639
7811
|
"PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
|
|
7640
7812
|
"PAYMENTS_CONFLICT": "payments_conflict",
|
|
@@ -7832,6 +8004,11 @@
|
|
|
7832
8004
|
"PAYMENT_PROVIDER_INVALID": "payment_provider_invalid",
|
|
7833
8005
|
"PAYMENT_PROVIDER_NOT_ALLOWED": "payment_provider_not_allowed",
|
|
7834
8006
|
"PAYMENTS_SUM_MISMATCH": "payments_sum_mismatch",
|
|
8007
|
+
"handbeleg_ungueltig": "invalid_manual_receipt",
|
|
8008
|
+
"handbeleg_nicht_erlaubt": "manual_receipt_not_allowed",
|
|
8009
|
+
"handbeleg_datum_zukunft": "manual_receipt_date_in_future",
|
|
8010
|
+
"handbeleg_bereich_nicht_erlaubt": "manual_receipt_range_not_allowed",
|
|
8011
|
+
"handbeleg_doppelt": "manual_receipt_duplicate",
|
|
7835
8012
|
"PAYMENTS_DUE_NEGATIVE": "payments_due_negative",
|
|
7836
8013
|
"PAYMENTS_NOT_ALLOWED": "payments_not_allowed",
|
|
7837
8014
|
"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": "
|
|
6
|
-
"backendPackage": "@kreiseck/kasseneck-api@0.
|
|
5
|
+
"inputsSha256": "df1229235f9e3230ca2d6b32ad65c0dfb5ca5a476551e92d1bc92bb2fd5d11bf",
|
|
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.
|
|
3
|
+
"version": "1.19.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",
|