@kreiseck/kasseneck-api 1.22.0 → 1.24.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 (66) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/client/aufrufe.d.ts +5 -5
  3. package/dist/cjs/client/aufrufe.js +12 -2
  4. package/dist/cjs/client/transport.d.ts +3 -3
  5. package/dist/cjs/client/transport.js +2 -2
  6. package/dist/cjs/pos/connect-bestand.d.ts +27 -0
  7. package/dist/cjs/pos/connect-bestand.js +40 -0
  8. package/dist/cjs/pos/errors.d.ts +2 -2
  9. package/dist/cjs/pos/errors.js +2 -2
  10. package/dist/cjs/pos/index.d.ts +2 -0
  11. package/dist/cjs/pos/index.js +10 -2
  12. package/dist/cjs/pos/kasseninfo.d.ts +110 -0
  13. package/dist/cjs/pos/kasseninfo.js +266 -0
  14. package/dist/cjs/pos/texte.d.ts +162 -2
  15. package/dist/cjs/pos/texte.js +67 -3
  16. package/dist/cjs/stored/vokabular.d.ts +1 -1
  17. package/dist/cjs/stored/vokabular.js +6 -1
  18. package/dist/cjs/version.d.ts +1 -1
  19. package/dist/cjs/version.js +1 -1
  20. package/dist/esm/client/aufrufe.d.ts +5 -5
  21. package/dist/esm/client/aufrufe.js +12 -2
  22. package/dist/esm/client/transport.d.ts +3 -3
  23. package/dist/esm/client/transport.js +2 -2
  24. package/dist/esm/pos/connect-bestand.d.ts +27 -0
  25. package/dist/esm/pos/connect-bestand.js +37 -0
  26. package/dist/esm/pos/errors.d.ts +2 -2
  27. package/dist/esm/pos/errors.js +2 -2
  28. package/dist/esm/pos/index.d.ts +2 -0
  29. package/dist/esm/pos/index.js +4 -0
  30. package/dist/esm/pos/kasseninfo.d.ts +110 -0
  31. package/dist/esm/pos/kasseninfo.js +261 -0
  32. package/dist/esm/pos/texte.d.ts +162 -2
  33. package/dist/esm/pos/texte.js +67 -3
  34. package/dist/esm/stored/vokabular.d.ts +1 -1
  35. package/dist/esm/stored/vokabular.js +6 -1
  36. package/dist/esm/version.d.ts +1 -1
  37. package/dist/esm/version.js +1 -1
  38. package/fixtures/expected/print-cut.sale-cash-default.hex +34 -0
  39. package/fixtures/expected/print-cut.sale-cash-full.hex +34 -0
  40. package/fixtures/expected/print-cut.sale-cash-mm58-none.hex +27 -0
  41. package/fixtures/expected/print-cut.sale-cash-mm58-partial.hex +27 -0
  42. package/fixtures/expected/print-cut.sale-cash-none.hex +33 -0
  43. package/fixtures/expected/print-cut.sale-cash-partial.hex +34 -0
  44. package/fixtures/expected/print-cut.sale-cash-true.hex +34 -0
  45. package/fixtures/expected/print-cut.zero-start-none.hex +38 -0
  46. package/fixtures/hobex-hps-codes.json +1 -1
  47. package/fixtures/inspection-info-cases.json +2348 -0
  48. package/fixtures/invoice-api.schema.json +1 -1
  49. package/fixtures/invoice-texts.json +1 -1
  50. package/fixtures/pos-texts.json +194 -3
  51. package/fixtures/print-cut-cases.json +47 -0
  52. package/fixtures/surface.json +8 -3
  53. package/fixtures/v3/antworten/belege.json +1 -1
  54. package/fixtures/v3/antworten/belegmail.json +1 -1
  55. package/fixtures/v3/antworten/berichte.json +1 -1
  56. package/fixtures/v3/antworten/kasse-belege.json +1 -1
  57. package/fixtures/v3/antworten/kasse.json +1814 -912
  58. package/fixtures/v3/antworten/lager.json +1 -1
  59. package/fixtures/v3/antworten/rechnungen.json +33 -33
  60. package/fixtures/v3/antworten/storno.json +1 -1
  61. package/fixtures/v3/stored/belege.json +1 -1
  62. package/fixtures/v3/stored/kasse.json +167 -4
  63. package/fixtures/v3/stored/rechnungen.json +253 -253
  64. package/fixtures/v3/v3-vokabular.json +37 -4
  65. package/fixtures/v3/zahlbetrag-faelle.json +1 -1
  66. package/package.json +3 -1
@@ -2,9 +2,9 @@
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
  "default": {
5
- "sha256": "aeb5b3adbbf7bc56d3353b43d024a3e80fdedbcffe974f4f4c2d821d8c30e222",
5
+ "sha256": "2c885b51d4a002f67121cffb4e1ab7db862139d13600b3286231d4da5bb4b8ba",
6
6
  "head": [],
7
- "inputsSha256": "2602e3996bd0e763674aa54fe05ee2dfbc09c3ff18fd161293bf12cf9e571a4b",
7
+ "inputsSha256": "3e1da5e0b24eca70a72c803305027e379add91fb3582bbf6074988d0b0bc474a",
8
8
  "backendPackage": "@kreiseck/kasseneck-api@0.36.0",
9
9
  "inputs": [
10
10
  "functions-kasse/test/unit/fixtures/kassen-welt.js",
@@ -19,12 +19,12 @@
19
19
  ]
20
20
  },
21
21
  "kasse": {
22
- "sha256": "0e0af617e711c9677d350bd049d4441d5973d1d0a2dbd6497024156d1ded1da6",
22
+ "sha256": "46922388c8be45743ca585c6fbf58629a87c791bc0b158f9efdf598f1ac1d9a0",
23
23
  "head": [
24
24
  "channel",
25
25
  "note"
26
26
  ],
27
- "inputsSha256": "ab248df756638c558f0bba786fc43aef1087b36c26329a06bcd57d155d3da72b",
27
+ "inputsSha256": "d725853a609d25158465e0ed07d5c600730d651b4fa41cd0cfb6d7aa9000f176",
28
28
  "backendPackage": "@kreiseck/kasseneck-api@0.14.0",
29
29
  "inputs": [
30
30
  "functions-kasse/gemeinsam/api-rand.js",
@@ -8447,6 +8447,319 @@
8447
8447
  }
8448
8448
  }
8449
8449
  },
8450
+ {
8451
+ "case": "zero_receipt_cashier",
8452
+ "method": "POST",
8453
+ "caller": "register_user_cashier",
8454
+ "params": {
8455
+ "receiptType": "zero",
8456
+ "cashregisterId": "KASSE1"
8457
+ },
8458
+ "httpStatus": 200,
8459
+ "headers": {
8460
+ "Kasseneck-Api-Version": "v3",
8461
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
8462
+ },
8463
+ "response": {
8464
+ "status": "success",
8465
+ "message": "",
8466
+ "data": {
8467
+ "is_small_business": false,
8468
+ "company": "Café Welt",
8469
+ "phone": "+43 1 234 56",
8470
+ "street": "Hauptplatz 1",
8471
+ "zip": "1010",
8472
+ "city": "Wien",
8473
+ "footer1": "Danke für Ihren Besuch",
8474
+ "footer2": null,
8475
+ "footer3": null,
8476
+ "footer4": null,
8477
+ "logo_url": null,
8478
+ "kreiseck_logo": false,
8479
+ "thanks_message": "Bis bald",
8480
+ "receipt": {
8481
+ "counter": 2,
8482
+ "receiptType": "zero",
8483
+ "zeroKind": "manual",
8484
+ "receiptId": "KASSE1-ID-2",
8485
+ "cashregisterId": "KASSE1",
8486
+ "timeStamp": "2026-09-26T10:00:00",
8487
+ "vouchers": [],
8488
+ "paymentMethod": "cash",
8489
+ "customerDetails": null,
8490
+ "legalMessage": null,
8491
+ "customProjectId": null,
8492
+ "creditCardProvider": null,
8493
+ "cardPaymentId": null,
8494
+ "cardPaymentData": null,
8495
+ "amountRateStandard": 0,
8496
+ "amountRateReduced1": 0,
8497
+ "amountRateReduced2": 0,
8498
+ "amountRateZero": 0,
8499
+ "amountRateSpecial": 0,
8500
+ "turnoverCounterAES256ICM": "XVyQJUu2DiM4NjAKsiguYw==",
8501
+ "signaturePreviousReceipt": "<signatur>",
8502
+ "certificateSerialNumber": "ABC123",
8503
+ "fullReceiptId": "00000000000000000000000000000000.0000000000000000000000000000000000000000000000000000000019d51dc2",
8504
+ "payments": [],
8505
+ "sig": "<signatur>",
8506
+ "signatureSuccess": true,
8507
+ "qr": "_R1-AT100_KASSE1_KASSE1-ID-2_2026-09-26T10:00:00_0,00_0,00_0,00_0,00_0,00_XVyQJUu2_ABC123_<verkettung>_<signatur>",
8508
+ "operator": {
8509
+ "uid": "ru_kellner",
8510
+ "name": "Ben Kellner"
8511
+ },
8512
+ "headerVersionId": "auto1",
8513
+ "layoutRuleset": 2,
8514
+ "registrationInfo": {
8515
+ "cardRegisteredAt": "2024-03-11T08:00:00.000Z",
8516
+ "cashregisterRegisteredAt": "2026-01-02T09:00:00.000Z"
8517
+ },
8518
+ "items": []
8519
+ },
8520
+ "taxNumber": "12-345/6789",
8521
+ "vatId": "ATU12345678",
8522
+ "headerVersionId": "auto1",
8523
+ "registrationInfo": {
8524
+ "cardRegisteredAt": "2024-03-11T08:00:00.000Z",
8525
+ "cashregisterRegisteredAt": "2026-01-02T09:00:00.000Z"
8526
+ },
8527
+ "testCashregister": false,
8528
+ "testSignature": true,
8529
+ "logo_scale": "M",
8530
+ "layout": {
8531
+ "paperSize": "mm80",
8532
+ "ruleset": 2,
8533
+ "lines": [
8534
+ {
8535
+ "kind": "banner",
8536
+ "text": "TESTSIGNATUR — kein gültiger Beleg",
8537
+ "tone": "warning"
8538
+ },
8539
+ {
8540
+ "kind": "text",
8541
+ "text": "Café Welt",
8542
+ "align": "center",
8543
+ "bold": true
8544
+ },
8545
+ {
8546
+ "kind": "text",
8547
+ "text": "Hauptplatz 1",
8548
+ "align": "center",
8549
+ "bold": false
8550
+ },
8551
+ {
8552
+ "kind": "text",
8553
+ "text": "1010 Wien",
8554
+ "align": "center",
8555
+ "bold": false
8556
+ },
8557
+ {
8558
+ "kind": "text",
8559
+ "text": "ATU12345678",
8560
+ "align": "center",
8561
+ "bold": false
8562
+ },
8563
+ {
8564
+ "kind": "text",
8565
+ "text": "+43 1 234 56",
8566
+ "align": "center",
8567
+ "bold": false
8568
+ },
8569
+ {
8570
+ "kind": "space",
8571
+ "lines": 1
8572
+ },
8573
+ {
8574
+ "kind": "banner",
8575
+ "text": "NULLBELEG",
8576
+ "tone": "receipt_type"
8577
+ },
8578
+ {
8579
+ "kind": "text",
8580
+ "text": "Prüfbeleg",
8581
+ "align": "center",
8582
+ "bold": false
8583
+ },
8584
+ {
8585
+ "kind": "space",
8586
+ "lines": 1
8587
+ },
8588
+ {
8589
+ "kind": "columns",
8590
+ "columns": [
8591
+ {
8592
+ "text": "Datum:",
8593
+ "width": 4,
8594
+ "align": "left"
8595
+ },
8596
+ {
8597
+ "text": "26.09.2026 10:00:00",
8598
+ "width": 8,
8599
+ "align": "right"
8600
+ }
8601
+ ]
8602
+ },
8603
+ {
8604
+ "kind": "columns",
8605
+ "columns": [
8606
+ {
8607
+ "text": "Kassen-ID:",
8608
+ "width": 6,
8609
+ "align": "left"
8610
+ },
8611
+ {
8612
+ "text": "KASSE1",
8613
+ "width": 6,
8614
+ "align": "right"
8615
+ }
8616
+ ]
8617
+ },
8618
+ {
8619
+ "kind": "columns",
8620
+ "columns": [
8621
+ {
8622
+ "text": "Beleg-ID:",
8623
+ "width": 6,
8624
+ "align": "left"
8625
+ },
8626
+ {
8627
+ "text": "KASSE1-ID-2",
8628
+ "width": 6,
8629
+ "align": "right"
8630
+ }
8631
+ ]
8632
+ },
8633
+ {
8634
+ "kind": "space",
8635
+ "lines": 1
8636
+ },
8637
+ {
8638
+ "kind": "rule",
8639
+ "char": "-"
8640
+ },
8641
+ {
8642
+ "kind": "text",
8643
+ "text": "Prüfangaben",
8644
+ "align": "center",
8645
+ "bold": true
8646
+ },
8647
+ {
8648
+ "kind": "columns",
8649
+ "columns": [
8650
+ {
8651
+ "text": "Barumsatz:",
8652
+ "width": 6,
8653
+ "align": "left"
8654
+ },
8655
+ {
8656
+ "text": "0,00 €",
8657
+ "width": 6,
8658
+ "align": "right"
8659
+ }
8660
+ ]
8661
+ },
8662
+ {
8663
+ "kind": "columns",
8664
+ "columns": [
8665
+ {
8666
+ "text": "Signatur:",
8667
+ "width": 6,
8668
+ "align": "left"
8669
+ },
8670
+ {
8671
+ "text": "signiert",
8672
+ "width": 6,
8673
+ "align": "right"
8674
+ }
8675
+ ]
8676
+ },
8677
+ {
8678
+ "kind": "columns",
8679
+ "columns": [
8680
+ {
8681
+ "text": "Signaturkarte:",
8682
+ "width": 6,
8683
+ "align": "left"
8684
+ },
8685
+ {
8686
+ "text": "0xABC123",
8687
+ "width": 6,
8688
+ "align": "right"
8689
+ }
8690
+ ]
8691
+ },
8692
+ {
8693
+ "kind": "columns",
8694
+ "columns": [
8695
+ {
8696
+ "text": "Zertifizierungsdienst:",
8697
+ "width": 7,
8698
+ "align": "left"
8699
+ },
8700
+ {
8701
+ "text": "Testsignatur (AT100)",
8702
+ "width": 5,
8703
+ "align": "right"
8704
+ }
8705
+ ]
8706
+ },
8707
+ {
8708
+ "kind": "columns",
8709
+ "columns": [
8710
+ {
8711
+ "text": "Karte registriert:",
8712
+ "width": 6,
8713
+ "align": "left"
8714
+ },
8715
+ {
8716
+ "text": "11.03.2024",
8717
+ "width": 6,
8718
+ "align": "right"
8719
+ }
8720
+ ]
8721
+ },
8722
+ {
8723
+ "kind": "columns",
8724
+ "columns": [
8725
+ {
8726
+ "text": "Kasse registriert:",
8727
+ "width": 6,
8728
+ "align": "left"
8729
+ },
8730
+ {
8731
+ "text": "02.01.2026",
8732
+ "width": 6,
8733
+ "align": "right"
8734
+ }
8735
+ ]
8736
+ },
8737
+ {
8738
+ "kind": "rule",
8739
+ "char": "-"
8740
+ },
8741
+ {
8742
+ "kind": "space",
8743
+ "lines": 1
8744
+ },
8745
+ {
8746
+ "kind": "qr",
8747
+ "data": "_R1-AT100_KASSE1_KASSE1-ID-2_2026-09-26T10:00:00_0,00_0,00_0,00_0,00_0,00_XVyQJUu2_ABC123_<verkettung>_<signatur>"
8748
+ },
8749
+ {
8750
+ "kind": "space",
8751
+ "lines": 1
8752
+ },
8753
+ {
8754
+ "kind": "banner",
8755
+ "text": "TESTSIGNATUR — kein gültiger Beleg",
8756
+ "tone": "warning"
8757
+ }
8758
+ ]
8759
+ }
8760
+ }
8761
+ }
8762
+ },
8450
8763
  {
8451
8764
  "case": "preflight_options",
8452
8765
  "method": "OPTIONS",
@@ -10579,6 +10892,10 @@
10579
10892
  },
10580
10893
  "types": [],
10581
10894
  "serviceArticles": false
10895
+ },
10896
+ "connect": {
10897
+ "minimumVersion": null,
10898
+ "deadline": null
10582
10899
  }
10583
10900
  }
10584
10901
  }
@@ -10780,6 +11097,10 @@
10780
11097
  },
10781
11098
  "types": [],
10782
11099
  "serviceArticles": false
11100
+ },
11101
+ "connect": {
11102
+ "minimumVersion": null,
11103
+ "deadline": null
10783
11104
  }
10784
11105
  }
10785
11106
  }
@@ -11019,6 +11340,10 @@
11019
11340
  },
11020
11341
  "types": [],
11021
11342
  "serviceArticles": false
11343
+ },
11344
+ "connect": {
11345
+ "minimumVersion": null,
11346
+ "deadline": null
11022
11347
  }
11023
11348
  }
11024
11349
  }
@@ -11220,6 +11545,10 @@
11220
11545
  },
11221
11546
  "types": [],
11222
11547
  "serviceArticles": false
11548
+ },
11549
+ "connect": {
11550
+ "minimumVersion": null,
11551
+ "deadline": null
11223
11552
  }
11224
11553
  }
11225
11554
  }
@@ -11421,6 +11750,10 @@
11421
11750
  },
11422
11751
  "types": [],
11423
11752
  "serviceArticles": false
11753
+ },
11754
+ "connect": {
11755
+ "minimumVersion": null,
11756
+ "deadline": null
11424
11757
  }
11425
11758
  }
11426
11759
  }
@@ -11720,6 +12053,10 @@
11720
12053
  }
11721
12054
  ],
11722
12055
  "serviceArticles": false
12056
+ },
12057
+ "connect": {
12058
+ "minimumVersion": null,
12059
+ "deadline": null
11723
12060
  }
11724
12061
  }
11725
12062
  }
@@ -22252,7 +22589,192 @@
22252
22589
  },
22253
22590
  "receipt": {
22254
22591
  "kind": "shift_close",
22255
- "blind": true,
22592
+ "blind": true,
22593
+ "business": {
22594
+ "name": "Café Welt"
22595
+ },
22596
+ "cashregister": {
22597
+ "id": "KASSE1",
22598
+ "name": "Theke 1"
22599
+ },
22600
+ "drawer": {
22601
+ "name": "Hauptlade"
22602
+ },
22603
+ "shift": {
22604
+ "number": 2,
22605
+ "openedAt": "2026-09-25T15:00:00.000Z",
22606
+ "closedAt": "2026-09-26T08:00:00.000Z",
22607
+ "openedByName": "Anna Chef",
22608
+ "closedByName": "Ben Kellner"
22609
+ },
22610
+ "openingFloatCents": null,
22611
+ "openingFloatTakenOver": true,
22612
+ "openingDenominations": null,
22613
+ "cashSalesCents": null,
22614
+ "cashCancellationsCents": null,
22615
+ "receiptCount": 3,
22616
+ "cancellationCount": 0,
22617
+ "nonCashByMethod": [
22618
+ {
22619
+ "method": "card",
22620
+ "cents": 3200
22621
+ }
22622
+ ],
22623
+ "movements": [
22624
+ {
22625
+ "number": 3,
22626
+ "type": "change_in",
22627
+ "amountCents": 5000,
22628
+ "note": null,
22629
+ "byName": "Anna Chef",
22630
+ "at": "2026-09-25T15:03:00.000Z"
22631
+ }
22632
+ ],
22633
+ "tips": [
22634
+ {
22635
+ "registerUserId": "ru_kellner",
22636
+ "name": "Ben Kellner",
22637
+ "receivedImmediatelyCents": 400,
22638
+ "retainedCents": 0,
22639
+ "paidOutCents": 0,
22640
+ "refundedByEmployeeCents": 0,
22641
+ "carriedOverCents": 0,
22642
+ "openCents": 400
22643
+ }
22644
+ ],
22645
+ "expectedCents": null,
22646
+ "countedCents": null,
22647
+ "countedDenominations": null,
22648
+ "differenceCents": null,
22649
+ "comment": "Kassensturz am Abend",
22650
+ "openingsWithoutSale": 1
22651
+ },
22652
+ "lastShiftOfRegister": true
22653
+ }
22654
+ }
22655
+ },
22656
+ {
22657
+ "case": "success_manager",
22658
+ "method": "POST",
22659
+ "caller": "register_user_manager",
22660
+ "params": {
22661
+ "shiftId": "haupt_KASSE1_s2",
22662
+ "countedCents": 29000,
22663
+ "tipPayouts": [
22664
+ {
22665
+ "registerUserId": "ru_kellner",
22666
+ "cents": 400
22667
+ }
22668
+ ],
22669
+ "idempotencyKey": "z-1",
22670
+ "denominations": {
22671
+ "2000": 2,
22672
+ "5000": 1,
22673
+ "20000": 1
22674
+ }
22675
+ },
22676
+ "httpStatus": 200,
22677
+ "headers": {
22678
+ "Kasseneck-Api-Version": "v3",
22679
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
22680
+ },
22681
+ "response": {
22682
+ "status": "success",
22683
+ "message": "",
22684
+ "data": {
22685
+ "status": "closed",
22686
+ "shift": {
22687
+ "id": "haupt_KASSE1_s2",
22688
+ "drawerId": "haupt_KASSE1",
22689
+ "cashregisterId": "KASSE1",
22690
+ "number": 2,
22691
+ "status": "closed",
22692
+ "openedAt": "2026-09-25T15:00:00.000Z",
22693
+ "openedBy": {
22694
+ "registerUserId": "ru_chef",
22695
+ "name": "Anna Chef",
22696
+ "role": "register_user"
22697
+ },
22698
+ "openedDeviceId": "dev_pin",
22699
+ "closedAt": "2026-09-26T08:00:00.000Z",
22700
+ "closedBy": {
22701
+ "registerUserId": "ru_chef",
22702
+ "name": "Anna Chef",
22703
+ "role": "register_user"
22704
+ },
22705
+ "closedDeviceId": "dev_pin",
22706
+ "openingFloatCents": 15000,
22707
+ "openingDenominations": null,
22708
+ "openingFloatTakenOver": true,
22709
+ "countedCents": 29000,
22710
+ "comment": null,
22711
+ "blind": false,
22712
+ "suggestedFloatCents": 15000,
22713
+ "runningTotals": {
22714
+ "cashSalesCents": 9400,
22715
+ "cashCancellationsCents": 0,
22716
+ "nonCashByMethod": [
22717
+ {
22718
+ "method": "card",
22719
+ "cents": 3200
22720
+ }
22721
+ ],
22722
+ "voucherRedeemedCents": 0,
22723
+ "receiptCount": 3,
22724
+ "cancellationCount": 0,
22725
+ "cashInCents": 5000,
22726
+ "cashOutCents": 400,
22727
+ "tips": [
22728
+ {
22729
+ "registerUserId": "ru_kellner",
22730
+ "name": "Ben Kellner",
22731
+ "receivedImmediatelyCents": 400,
22732
+ "retainedCents": 0,
22733
+ "paidOutCents": 400,
22734
+ "refundedByEmployeeCents": 0
22735
+ }
22736
+ ],
22737
+ "openingsWithoutSale": 1
22738
+ },
22739
+ "expectedCents": 29000,
22740
+ "differenceCents": 0,
22741
+ "reconciliation": {
22742
+ "matches": false,
22743
+ "deviations": {
22744
+ "cashSalesCents": {
22745
+ "stored": 9400,
22746
+ "recomputed": 0
22747
+ },
22748
+ "receiptCount": {
22749
+ "stored": 3,
22750
+ "recomputed": 0
22751
+ },
22752
+ "nonCashByMethod": {
22753
+ "stored": [
22754
+ {
22755
+ "method": "card",
22756
+ "cents": 3200
22757
+ }
22758
+ ],
22759
+ "recomputed": []
22760
+ },
22761
+ "tips": {
22762
+ "stored": [
22763
+ {
22764
+ "registerUserId": "ru_kellner",
22765
+ "name": "Ben Kellner",
22766
+ "receivedImmediatelyCents": 400,
22767
+ "retainedCents": 0
22768
+ }
22769
+ ],
22770
+ "recomputed": []
22771
+ }
22772
+ }
22773
+ }
22774
+ },
22775
+ "receipt": {
22776
+ "kind": "shift_close",
22777
+ "blind": false,
22256
22778
  "business": {
22257
22779
  "name": "Café Welt"
22258
22780
  },
@@ -22268,13 +22790,13 @@
22268
22790
  "openedAt": "2026-09-25T15:00:00.000Z",
22269
22791
  "closedAt": "2026-09-26T08:00:00.000Z",
22270
22792
  "openedByName": "Anna Chef",
22271
- "closedByName": "Ben Kellner"
22793
+ "closedByName": "Anna Chef"
22272
22794
  },
22273
- "openingFloatCents": null,
22795
+ "openingFloatCents": 15000,
22274
22796
  "openingFloatTakenOver": true,
22275
22797
  "openingDenominations": null,
22276
- "cashSalesCents": null,
22277
- "cashCancellationsCents": null,
22798
+ "cashSalesCents": 9400,
22799
+ "cashCancellationsCents": 0,
22278
22800
  "receiptCount": 3,
22279
22801
  "cancellationCount": 0,
22280
22802
  "nonCashByMethod": [
@@ -22291,6 +22813,14 @@
22291
22813
  "note": null,
22292
22814
  "byName": "Anna Chef",
22293
22815
  "at": "2026-09-25T15:03:00.000Z"
22816
+ },
22817
+ {
22818
+ "number": 4,
22819
+ "type": "tip_payout",
22820
+ "amountCents": -400,
22821
+ "note": null,
22822
+ "byName": "Anna Chef",
22823
+ "at": "2026-09-26T08:00:00.000Z"
22294
22824
  }
22295
22825
  ],
22296
22826
  "tips": [
@@ -22299,17 +22829,21 @@
22299
22829
  "name": "Ben Kellner",
22300
22830
  "receivedImmediatelyCents": 400,
22301
22831
  "retainedCents": 0,
22302
- "paidOutCents": 0,
22832
+ "paidOutCents": 400,
22303
22833
  "refundedByEmployeeCents": 0,
22304
22834
  "carriedOverCents": 0,
22305
- "openCents": 400
22835
+ "openCents": 0
22306
22836
  }
22307
22837
  ],
22308
- "expectedCents": null,
22309
- "countedCents": null,
22310
- "countedDenominations": null,
22311
- "differenceCents": null,
22312
- "comment": "Kassensturz am Abend",
22838
+ "expectedCents": 29000,
22839
+ "countedCents": 29000,
22840
+ "countedDenominations": {
22841
+ "2000": 2,
22842
+ "5000": 1,
22843
+ "20000": 1
22844
+ },
22845
+ "differenceCents": 0,
22846
+ "comment": null,
22313
22847
  "openingsWithoutSale": 1
22314
22848
  },
22315
22849
  "lastShiftOfRegister": true
@@ -22317,7 +22851,7 @@
22317
22851
  }
22318
22852
  },
22319
22853
  {
22320
- "case": "success_manager",
22854
+ "case": "success_manager_take_out",
22321
22855
  "method": "POST",
22322
22856
  "caller": "register_user_manager",
22323
22857
  "params": {
@@ -22329,11 +22863,10 @@
22329
22863
  "cents": 400
22330
22864
  }
22331
22865
  ],
22332
- "idempotencyKey": "z-1",
22333
- "denominations": {
22334
- "2000": 2,
22335
- "5000": 1,
22336
- "20000": 1
22866
+ "idempotencyKey": "z-3",
22867
+ "afterCount": {
22868
+ "type": "cash_drop",
22869
+ "amountCents": 14000
22337
22870
  }
22338
22871
  },
22339
22872
  "httpStatus": 200,
@@ -22433,7 +22966,12 @@
22433
22966
  "recomputed": []
22434
22967
  }
22435
22968
  }
22436
- }
22969
+ },
22970
+ "afterCount": {
22971
+ "type": "cash_drop",
22972
+ "amountCents": 14000
22973
+ },
22974
+ "leftInDrawerCents": 15000
22437
22975
  },
22438
22976
  "receipt": {
22439
22977
  "kind": "shift_close",
@@ -22500,21 +23038,50 @@
22500
23038
  ],
22501
23039
  "expectedCents": 29000,
22502
23040
  "countedCents": 29000,
22503
- "countedDenominations": {
22504
- "2000": 2,
22505
- "5000": 1,
22506
- "20000": 1
22507
- },
23041
+ "countedDenominations": null,
22508
23042
  "differenceCents": 0,
22509
23043
  "comment": null,
22510
- "openingsWithoutSale": 1
23044
+ "openingsWithoutSale": 1,
23045
+ "afterCount": {
23046
+ "type": "cash_drop",
23047
+ "amountCents": 14000
23048
+ },
23049
+ "leftInDrawerCents": 15000
23050
+ },
23051
+ "afterCountReceipt": {
23052
+ "kind": "cash_movement",
23053
+ "blind": false,
23054
+ "business": {
23055
+ "name": "Café Welt"
23056
+ },
23057
+ "cashregister": {
23058
+ "id": "KASSE1",
23059
+ "name": "Theke 1"
23060
+ },
23061
+ "drawer": {
23062
+ "name": "Hauptlade"
23063
+ },
23064
+ "shift": {
23065
+ "number": 2
23066
+ },
23067
+ "movement": {
23068
+ "number": 5,
23069
+ "type": "cash_drop",
23070
+ "amountCents": -14000,
23071
+ "note": null,
23072
+ "location": null,
23073
+ "recipientName": null,
23074
+ "targetDrawerName": null,
23075
+ "byName": "Anna Chef",
23076
+ "at": "2026-09-26T08:00:00.000Z"
23077
+ }
22511
23078
  },
22512
23079
  "lastShiftOfRegister": true
22513
23080
  }
22514
23081
  }
22515
23082
  },
22516
23083
  {
22517
- "case": "success_manager_take_out",
23084
+ "case": "success_manager_put_in",
22518
23085
  "method": "POST",
22519
23086
  "caller": "register_user_manager",
22520
23087
  "params": {
@@ -22526,10 +23093,10 @@
22526
23093
  "cents": 400
22527
23094
  }
22528
23095
  ],
22529
- "idempotencyKey": "z-3",
23096
+ "idempotencyKey": "z-4",
22530
23097
  "afterCount": {
22531
- "type": "cash_drop",
22532
- "amountCents": 14000
23098
+ "type": "change_in",
23099
+ "amountCents": 1000
22533
23100
  }
22534
23101
  },
22535
23102
  "httpStatus": 200,
@@ -22631,10 +23198,10 @@
22631
23198
  }
22632
23199
  },
22633
23200
  "afterCount": {
22634
- "type": "cash_drop",
22635
- "amountCents": 14000
23201
+ "type": "change_in",
23202
+ "amountCents": 1000
22636
23203
  },
22637
- "leftInDrawerCents": 15000
23204
+ "leftInDrawerCents": 30000
22638
23205
  },
22639
23206
  "receipt": {
22640
23207
  "kind": "shift_close",
@@ -22706,10 +23273,10 @@
22706
23273
  "comment": null,
22707
23274
  "openingsWithoutSale": 1,
22708
23275
  "afterCount": {
22709
- "type": "cash_drop",
22710
- "amountCents": 14000
23276
+ "type": "change_in",
23277
+ "amountCents": 1000
22711
23278
  },
22712
- "leftInDrawerCents": 15000
23279
+ "leftInDrawerCents": 30000
22713
23280
  },
22714
23281
  "afterCountReceipt": {
22715
23282
  "kind": "cash_movement",
@@ -22729,8 +23296,8 @@
22729
23296
  },
22730
23297
  "movement": {
22731
23298
  "number": 5,
22732
- "type": "cash_drop",
22733
- "amountCents": -14000,
23299
+ "type": "change_in",
23300
+ "amountCents": 1000,
22734
23301
  "note": null,
22735
23302
  "location": null,
22736
23303
  "recipientName": null,
@@ -22744,7 +23311,160 @@
22744
23311
  }
22745
23312
  },
22746
23313
  {
22747
- "case": "success_manager_put_in",
23314
+ "case": "take_out_over_counted",
23315
+ "method": "POST",
23316
+ "caller": "register_user_manager",
23317
+ "params": {
23318
+ "shiftId": "haupt_KASSE1_s2",
23319
+ "countedCents": 29000,
23320
+ "tipPayouts": [
23321
+ {
23322
+ "registerUserId": "ru_kellner",
23323
+ "cents": 400
23324
+ }
23325
+ ],
23326
+ "idempotencyKey": "z-5",
23327
+ "afterCount": {
23328
+ "type": "cash_drop",
23329
+ "amountCents": 29001
23330
+ }
23331
+ },
23332
+ "httpStatus": 200,
23333
+ "headers": {
23334
+ "Kasseneck-Api-Version": "v3",
23335
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23336
+ },
23337
+ "response": {
23338
+ "status": "error",
23339
+ "message": "Die Auszahlung ist höher als der Kassenstand.",
23340
+ "data": {
23341
+ "code": "cash_movement_exceeds_balance"
23342
+ },
23343
+ "code": "cash_movement_exceeds_balance"
23344
+ }
23345
+ },
23346
+ {
23347
+ "case": "cashier_after_count_without_permission",
23348
+ "method": "POST",
23349
+ "caller": "register_user_cashier",
23350
+ "params": {
23351
+ "shiftId": "haupt_KASSE1_s2",
23352
+ "countedCents": 20000,
23353
+ "attempt": 1,
23354
+ "idempotencyKey": "z-2",
23355
+ "afterCount": {
23356
+ "type": "cash_drop",
23357
+ "amountCents": 5000
23358
+ }
23359
+ },
23360
+ "httpStatus": 200,
23361
+ "headers": {
23362
+ "Kasseneck-Api-Version": "v3",
23363
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23364
+ },
23365
+ "response": {
23366
+ "status": "error",
23367
+ "message": "Geld entnehmen oder einlegen ist ohne die Berechtigung für Kassenbewegungen nicht möglich.",
23368
+ "data": {
23369
+ "code": "after_count_not_permitted"
23370
+ },
23371
+ "code": "after_count_not_permitted"
23372
+ }
23373
+ },
23374
+ {
23375
+ "case": "after_count_kind_unknown",
23376
+ "method": "POST",
23377
+ "caller": "register_user_manager",
23378
+ "params": {
23379
+ "shiftId": "haupt_KASSE1_s2",
23380
+ "countedCents": 29000,
23381
+ "tipPayouts": [
23382
+ {
23383
+ "registerUserId": "ru_kellner",
23384
+ "cents": 400
23385
+ }
23386
+ ],
23387
+ "idempotencyKey": "z-6",
23388
+ "afterCount": {
23389
+ "type": "gibtsnicht",
23390
+ "amountCents": 100
23391
+ }
23392
+ },
23393
+ "httpStatus": 200,
23394
+ "headers": {
23395
+ "Kasseneck-Api-Version": "v3",
23396
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23397
+ },
23398
+ "response": {
23399
+ "status": "error",
23400
+ "message": "Bitte Eingaben prüfen.",
23401
+ "data": {
23402
+ "errors": [
23403
+ {
23404
+ "field": "afterCount.type",
23405
+ "message": "Unbekannte Art."
23406
+ }
23407
+ ],
23408
+ "code": "validation"
23409
+ },
23410
+ "code": "validation"
23411
+ }
23412
+ },
23413
+ {
23414
+ "case": "success_manager_check_ready",
23415
+ "method": "POST",
23416
+ "caller": "register_user_manager",
23417
+ "params": {
23418
+ "shiftId": "haupt_KASSE1_s2",
23419
+ "countedCents": 29000,
23420
+ "tipPayouts": [
23421
+ {
23422
+ "registerUserId": "ru_kellner",
23423
+ "cents": 400
23424
+ }
23425
+ ],
23426
+ "idempotencyKey": "z-7",
23427
+ "checkOnly": true
23428
+ },
23429
+ "httpStatus": 200,
23430
+ "headers": {
23431
+ "Kasseneck-Api-Version": "v3",
23432
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23433
+ },
23434
+ "response": {
23435
+ "status": "success",
23436
+ "message": "",
23437
+ "data": {
23438
+ "status": "ready"
23439
+ }
23440
+ }
23441
+ },
23442
+ {
23443
+ "case": "success_cashier_check_recount",
23444
+ "method": "POST",
23445
+ "caller": "register_user_cashier",
23446
+ "params": {
23447
+ "shiftId": "haupt_KASSE1_s2",
23448
+ "countedCents": 20000,
23449
+ "attempt": 1,
23450
+ "idempotencyKey": "z-8",
23451
+ "checkOnly": true
23452
+ },
23453
+ "httpStatus": 200,
23454
+ "headers": {
23455
+ "Kasseneck-Api-Version": "v3",
23456
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23457
+ },
23458
+ "response": {
23459
+ "status": "success",
23460
+ "message": "",
23461
+ "data": {
23462
+ "status": "recount"
23463
+ }
23464
+ }
23465
+ },
23466
+ {
23467
+ "case": "success_same_key",
22748
23468
  "method": "POST",
22749
23469
  "caller": "register_user_manager",
22750
23470
  "params": {
@@ -22756,11 +23476,7 @@
22756
23476
  "cents": 400
22757
23477
  }
22758
23478
  ],
22759
- "idempotencyKey": "z-4",
22760
- "afterCount": {
22761
- "type": "change_in",
22762
- "amountCents": 1000
22763
- }
23479
+ "idempotencyKey": "z-1"
22764
23480
  },
22765
23481
  "httpStatus": 200,
22766
23482
  "headers": {
@@ -22785,7 +23501,7 @@
22785
23501
  "role": "register_user"
22786
23502
  },
22787
23503
  "openedDeviceId": "dev_pin",
22788
- "closedAt": "2026-09-26T08:00:00.000Z",
23504
+ "closedAt": "2026-09-26T07:59:00.000Z",
22789
23505
  "closedBy": {
22790
23506
  "registerUserId": "ru_chef",
22791
23507
  "name": "Anna Chef",
@@ -22859,12 +23575,7 @@
22859
23575
  "recomputed": []
22860
23576
  }
22861
23577
  }
22862
- },
22863
- "afterCount": {
22864
- "type": "change_in",
22865
- "amountCents": 1000
22866
- },
22867
- "leftInDrawerCents": 30000
23578
+ }
22868
23579
  },
22869
23580
  "receipt": {
22870
23581
  "kind": "shift_close",
@@ -22882,7 +23593,7 @@
22882
23593
  "shift": {
22883
23594
  "number": 2,
22884
23595
  "openedAt": "2026-09-25T15:00:00.000Z",
22885
- "closedAt": "2026-09-26T08:00:00.000Z",
23596
+ "closedAt": "2026-09-26T07:59:00.000Z",
22886
23597
  "openedByName": "Anna Chef",
22887
23598
  "closedByName": "Anna Chef"
22888
23599
  },
@@ -22914,7 +23625,7 @@
22914
23625
  "amountCents": -400,
22915
23626
  "note": null,
22916
23627
  "byName": "Anna Chef",
22917
- "at": "2026-09-26T08:00:00.000Z"
23628
+ "at": "2026-09-26T07:59:00.000Z"
22918
23629
  }
22919
23630
  ],
22920
23631
  "tips": [
@@ -22934,63 +23645,236 @@
22934
23645
  "countedDenominations": null,
22935
23646
  "differenceCents": 0,
22936
23647
  "comment": null,
22937
- "openingsWithoutSale": 1,
22938
- "afterCount": {
22939
- "type": "change_in",
22940
- "amountCents": 1000
22941
- },
22942
- "leftInDrawerCents": 30000
23648
+ "openingsWithoutSale": 1
22943
23649
  },
22944
- "afterCountReceipt": {
22945
- "kind": "cash_movement",
22946
- "blind": false,
22947
- "business": {
22948
- "name": "Café Welt"
22949
- },
22950
- "cashregister": {
22951
- "id": "KASSE1",
22952
- "name": "Theke 1"
22953
- },
22954
- "drawer": {
22955
- "name": "Hauptlade"
22956
- },
22957
- "shift": {
22958
- "number": 2
22959
- },
22960
- "movement": {
22961
- "number": 5,
22962
- "type": "change_in",
22963
- "amountCents": 1000,
22964
- "note": null,
22965
- "location": null,
22966
- "recipientName": null,
22967
- "targetDrawerName": null,
22968
- "byName": "Anna Chef",
22969
- "at": "2026-09-26T08:00:00.000Z"
23650
+ "lastShiftOfRegister": true
23651
+ }
23652
+ }
23653
+ },
23654
+ {
23655
+ "case": "key_conflict",
23656
+ "method": "POST",
23657
+ "caller": "register_user_manager",
23658
+ "params": {
23659
+ "shiftId": "haupt_KASSE1_s2",
23660
+ "countedCents": 29100,
23661
+ "tipPayouts": [
23662
+ {
23663
+ "registerUserId": "ru_kellner",
23664
+ "cents": 400
23665
+ }
23666
+ ],
23667
+ "idempotencyKey": "z-1"
23668
+ },
23669
+ "httpStatus": 200,
23670
+ "headers": {
23671
+ "Kasseneck-Api-Version": "v3",
23672
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23673
+ },
23674
+ "response": {
23675
+ "status": "error",
23676
+ "message": "Derselbe idempotencyKey wurde mit anderem Inhalt verwendet.",
23677
+ "data": {
23678
+ "code": "idempotency_conflict"
23679
+ },
23680
+ "code": "idempotency_conflict"
23681
+ }
23682
+ },
23683
+ {
23684
+ "case": "preflight_options",
23685
+ "method": "OPTIONS",
23686
+ "caller": "other",
23687
+ "params": {
23688
+ "$body": {}
23689
+ },
23690
+ "httpStatus": 200,
23691
+ "headers": {
23692
+ "Kasseneck-Api-Version": "v3",
23693
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23694
+ },
23695
+ "response": {
23696
+ "status": "error",
23697
+ "message": "Bitte verwenden Sie eine POST-Anfrage",
23698
+ "data": {
23699
+ "code": "method_not_allowed"
23700
+ },
23701
+ "code": "method_not_allowed"
23702
+ }
23703
+ }
23704
+ ]
23705
+ },
23706
+ "logReceiptOutputs": {
23707
+ "codebase": "kasse",
23708
+ "cases": [
23709
+ {
23710
+ "case": "without_token",
23711
+ "method": "POST",
23712
+ "caller": "none",
23713
+ "params": {
23714
+ "cashregisterId": "KASSE1",
23715
+ "entries": [
23716
+ {
23717
+ "key": "druck-0001",
23718
+ "receiptId": "KASSE1-ID-7",
23719
+ "at": 1790409480000,
23720
+ "kind": "print",
23721
+ "result": "ok"
23722
+ },
23723
+ {
23724
+ "key": "druck-0002",
23725
+ "receiptId": "KASSE1-ID-7",
23726
+ "at": "2026-09-26T09:59:00+02:00",
23727
+ "kind": "reprint",
23728
+ "result": "unclear"
23729
+ },
23730
+ {
23731
+ "key": "teilen-0001",
23732
+ "receiptId": "KASSE1-ID-7",
23733
+ "at": 1790409570000,
23734
+ "kind": "link_shared"
23735
+ }
23736
+ ]
23737
+ },
23738
+ "httpStatus": 200,
23739
+ "headers": {
23740
+ "Kasseneck-Api-Version": "v3",
23741
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23742
+ },
23743
+ "response": {
23744
+ "status": "error",
23745
+ "message": "Ungültiger Request: Authorization key erwartet.",
23746
+ "data": {
23747
+ "code": "unauthorized"
23748
+ },
23749
+ "code": "unauthorized"
23750
+ }
23751
+ },
23752
+ {
23753
+ "case": "data_missing",
23754
+ "method": "POST",
23755
+ "caller": "register_user_cashier",
23756
+ "params": {
23757
+ "cashregisterId": "KASSE1"
23758
+ },
23759
+ "httpStatus": 200,
23760
+ "headers": {
23761
+ "Kasseneck-Api-Version": "v3",
23762
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23763
+ },
23764
+ "response": {
23765
+ "status": "error",
23766
+ "message": "Ungültige Daten: Nicht alle erforderlichen Parameter wurden übergeben oder Typen stimmen nicht überein: entries",
23767
+ "data": {
23768
+ "code": "validation",
23769
+ "errors": [
23770
+ {
23771
+ "field": "entries",
23772
+ "message": "Pflichtfeld fehlt."
23773
+ }
23774
+ ]
23775
+ },
23776
+ "code": "validation"
23777
+ }
23778
+ },
23779
+ {
23780
+ "case": "foreign_cashregister",
23781
+ "method": "POST",
23782
+ "caller": "register_user_other_cashregister",
23783
+ "params": {
23784
+ "cashregisterId": "KASSE1",
23785
+ "entries": [
23786
+ {
23787
+ "key": "druck-0001",
23788
+ "receiptId": "KASSE1-ID-7",
23789
+ "at": 1790409480000,
23790
+ "kind": "print",
23791
+ "result": "ok"
23792
+ },
23793
+ {
23794
+ "key": "druck-0002",
23795
+ "receiptId": "KASSE1-ID-7",
23796
+ "at": "2026-09-26T09:59:00+02:00",
23797
+ "kind": "reprint",
23798
+ "result": "unclear"
23799
+ },
23800
+ {
23801
+ "key": "teilen-0001",
23802
+ "receiptId": "KASSE1-ID-7",
23803
+ "at": 1790409570000,
23804
+ "kind": "link_shared"
23805
+ }
23806
+ ]
23807
+ },
23808
+ "httpStatus": 200,
23809
+ "headers": {
23810
+ "Kasseneck-Api-Version": "v3",
23811
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23812
+ },
23813
+ "response": {
23814
+ "status": "error",
23815
+ "message": "Diese Kasse ist dem Benutzer nicht zugewiesen.",
23816
+ "data": {
23817
+ "code": "cashregister_not_assigned"
23818
+ },
23819
+ "code": "cashregister_not_assigned"
23820
+ }
23821
+ },
23822
+ {
23823
+ "case": "entries_empty",
23824
+ "method": "POST",
23825
+ "caller": "register_user_cashier",
23826
+ "params": {
23827
+ "cashregisterId": "KASSE1",
23828
+ "entries": []
23829
+ },
23830
+ "httpStatus": 200,
23831
+ "headers": {
23832
+ "Kasseneck-Api-Version": "v3",
23833
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23834
+ },
23835
+ "response": {
23836
+ "status": "error",
23837
+ "message": "Bitte Eingaben prüfen.",
23838
+ "data": {
23839
+ "errors": [
23840
+ {
23841
+ "field": "entries",
23842
+ "message": "Ein bis 50 Einträge angeben."
22970
23843
  }
22971
- },
22972
- "lastShiftOfRegister": true
22973
- }
23844
+ ],
23845
+ "code": "validation"
23846
+ },
23847
+ "code": "validation"
22974
23848
  }
22975
23849
  },
22976
23850
  {
22977
- "case": "take_out_over_counted",
23851
+ "case": "success_cashier",
22978
23852
  "method": "POST",
22979
- "caller": "register_user_manager",
23853
+ "caller": "register_user_cashier",
22980
23854
  "params": {
22981
- "shiftId": "haupt_KASSE1_s2",
22982
- "countedCents": 29000,
22983
- "tipPayouts": [
23855
+ "cashregisterId": "KASSE1",
23856
+ "entries": [
22984
23857
  {
22985
- "registerUserId": "ru_kellner",
22986
- "cents": 400
23858
+ "key": "druck-0001",
23859
+ "receiptId": "KASSE1-ID-7",
23860
+ "at": 1790409480000,
23861
+ "kind": "print",
23862
+ "result": "ok"
23863
+ },
23864
+ {
23865
+ "key": "druck-0002",
23866
+ "receiptId": "KASSE1-ID-7",
23867
+ "at": "2026-09-26T09:59:00+02:00",
23868
+ "kind": "reprint",
23869
+ "result": "unclear"
23870
+ },
23871
+ {
23872
+ "key": "teilen-0001",
23873
+ "receiptId": "KASSE1-ID-7",
23874
+ "at": 1790409570000,
23875
+ "kind": "link_shared"
22987
23876
  }
22988
- ],
22989
- "idempotencyKey": "z-5",
22990
- "afterCount": {
22991
- "type": "cash_drop",
22992
- "amountCents": 29001
22993
- }
23877
+ ]
22994
23878
  },
22995
23879
  "httpStatus": 200,
22996
23880
  "headers": {
@@ -22998,27 +23882,71 @@
22998
23882
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
22999
23883
  },
23000
23884
  "response": {
23001
- "status": "error",
23002
- "message": "Die Auszahlung ist höher als der Kassenstand.",
23885
+ "status": "success",
23886
+ "message": "",
23003
23887
  "data": {
23004
- "code": "cash_movement_exceeds_balance"
23005
- },
23006
- "code": "cash_movement_exceeds_balance"
23888
+ "accepted": 3,
23889
+ "rejected": []
23890
+ }
23007
23891
  }
23008
23892
  },
23009
23893
  {
23010
- "case": "cashier_after_count_without_permission",
23894
+ "case": "success_duplicate",
23011
23895
  "method": "POST",
23012
23896
  "caller": "register_user_cashier",
23013
23897
  "params": {
23014
- "shiftId": "haupt_KASSE1_s2",
23015
- "countedCents": 20000,
23016
- "attempt": 1,
23017
- "idempotencyKey": "z-2",
23018
- "afterCount": {
23019
- "type": "cash_drop",
23020
- "amountCents": 5000
23898
+ "cashregisterId": "KASSE1",
23899
+ "entries": [
23900
+ {
23901
+ "key": "druck-0001",
23902
+ "receiptId": "KASSE1-ID-7",
23903
+ "at": 1790409480000,
23904
+ "kind": "print",
23905
+ "result": "ok"
23906
+ },
23907
+ {
23908
+ "key": "druck-0002",
23909
+ "receiptId": "KASSE1-ID-7",
23910
+ "at": "2026-09-26T09:59:00+02:00",
23911
+ "kind": "reprint",
23912
+ "result": "unclear"
23913
+ },
23914
+ {
23915
+ "key": "teilen-0001",
23916
+ "receiptId": "KASSE1-ID-7",
23917
+ "at": 1790409570000,
23918
+ "kind": "link_shared"
23919
+ }
23920
+ ]
23921
+ },
23922
+ "httpStatus": 200,
23923
+ "headers": {
23924
+ "Kasseneck-Api-Version": "v3",
23925
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23926
+ },
23927
+ "response": {
23928
+ "status": "success",
23929
+ "message": "",
23930
+ "data": {
23931
+ "accepted": 3,
23932
+ "rejected": []
23021
23933
  }
23934
+ }
23935
+ },
23936
+ {
23937
+ "case": "success_api_key",
23938
+ "method": "POST",
23939
+ "caller": "device_api_key",
23940
+ "params": {
23941
+ "entries": [
23942
+ {
23943
+ "key": "teilen-0002",
23944
+ "receiptId": "KASSE1-ID-7",
23945
+ "at": 1790409599000,
23946
+ "kind": "pdf_shared",
23947
+ "result": "ok"
23948
+ }
23949
+ ]
23022
23950
  },
23023
23951
  "httpStatus": 200,
23024
23952
  "headers": {
@@ -23026,32 +23954,112 @@
23026
23954
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23027
23955
  },
23028
23956
  "response": {
23029
- "status": "error",
23030
- "message": "Geld entnehmen oder einlegen ist ohne die Berechtigung für Kassenbewegungen nicht möglich.",
23957
+ "status": "success",
23958
+ "message": "",
23031
23959
  "data": {
23032
- "code": "after_count_not_permitted"
23033
- },
23034
- "code": "after_count_not_permitted"
23960
+ "accepted": 1,
23961
+ "rejected": []
23962
+ }
23035
23963
  }
23036
23964
  },
23037
23965
  {
23038
- "case": "after_count_kind_unknown",
23966
+ "case": "mixed",
23039
23967
  "method": "POST",
23040
23968
  "caller": "register_user_manager",
23041
23969
  "params": {
23042
- "shiftId": "haupt_KASSE1_s2",
23043
- "countedCents": 29000,
23044
- "tipPayouts": [
23970
+ "cashregisterId": "KASSE1",
23971
+ "entries": [
23045
23972
  {
23046
- "registerUserId": "ru_kellner",
23047
- "cents": 400
23973
+ "key": "mail-0001",
23974
+ "receiptId": "KASSE1-ID-7",
23975
+ "at": 1790409599000,
23976
+ "kind": "email",
23977
+ "result": "ok"
23978
+ },
23979
+ {
23980
+ "key": "abruf-0001",
23981
+ "receiptId": "KASSE1-ID-7",
23982
+ "at": 1790409599000,
23983
+ "kind": "opened",
23984
+ "result": "ok"
23985
+ },
23986
+ {
23987
+ "key": "fremd-0001",
23988
+ "receiptId": "KASSE3-ID-1",
23989
+ "at": 1790409599000,
23990
+ "kind": "print",
23991
+ "result": "ok"
23992
+ },
23993
+ {
23994
+ "key": "zeit-0001",
23995
+ "receiptId": "KASSE1-ID-7",
23996
+ "at": 1790410200000,
23997
+ "kind": "print",
23998
+ "result": "ok"
23999
+ },
24000
+ {
24001
+ "key": "kurz",
24002
+ "receiptId": "KASSE1-ID-7",
24003
+ "at": 1790409599000,
24004
+ "kind": "print",
24005
+ "result": "ok"
24006
+ },
24007
+ {
24008
+ "key": "druck-0009",
24009
+ "receiptId": "KASSE1-ID-7",
24010
+ "at": 1790409599000,
24011
+ "kind": "reprint"
24012
+ },
24013
+ {
24014
+ "key": "druck-0010",
24015
+ "receiptId": "KASSE1-ID-7",
24016
+ "at": 1790409599000,
24017
+ "kind": "reprint",
24018
+ "result": "failed"
23048
24019
  }
23049
- ],
23050
- "idempotencyKey": "z-6",
23051
- "afterCount": {
23052
- "type": "gibtsnicht",
23053
- "amountCents": 100
24020
+ ]
24021
+ },
24022
+ "httpStatus": 200,
24023
+ "headers": {
24024
+ "Kasseneck-Api-Version": "v3",
24025
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24026
+ },
24027
+ "response": {
24028
+ "status": "success",
24029
+ "message": "",
24030
+ "data": {
24031
+ "accepted": 2,
24032
+ "rejected": [
24033
+ {
24034
+ "key": "mail-0001",
24035
+ "code": "invalid_output_kind"
24036
+ },
24037
+ {
24038
+ "key": "abruf-0001",
24039
+ "code": "invalid_output_kind"
24040
+ },
24041
+ {
24042
+ "key": "fremd-0001",
24043
+ "code": "receipt_not_found"
24044
+ },
24045
+ {
24046
+ "key": "kurz",
24047
+ "code": "idempotency_key_required"
24048
+ },
24049
+ {
24050
+ "key": "druck-0009",
24051
+ "code": "validation"
24052
+ }
24053
+ ]
23054
24054
  }
24055
+ }
24056
+ },
24057
+ {
24058
+ "case": "preflight_options",
24059
+ "method": "OPTIONS",
24060
+ "caller": "other",
24061
+ "params": {
24062
+ "$body": {}
23055
24063
  },
23056
24064
  "httpStatus": 200,
23057
24065
  "headers": {
@@ -23060,34 +24068,24 @@
23060
24068
  },
23061
24069
  "response": {
23062
24070
  "status": "error",
23063
- "message": "Bitte Eingaben prüfen.",
24071
+ "message": "Bitte verwenden Sie eine POST-Anfrage",
23064
24072
  "data": {
23065
- "errors": [
23066
- {
23067
- "field": "afterCount.type",
23068
- "message": "Unbekannte Art."
23069
- }
23070
- ],
23071
- "code": "validation"
24073
+ "code": "method_not_allowed"
23072
24074
  },
23073
- "code": "validation"
24075
+ "code": "method_not_allowed"
23074
24076
  }
23075
- },
24077
+ }
24078
+ ]
24079
+ },
24080
+ "createDepExport": {
24081
+ "codebase": "default",
24082
+ "cases": [
23076
24083
  {
23077
- "case": "success_manager_check_ready",
24084
+ "case": "without_token",
23078
24085
  "method": "POST",
23079
- "caller": "register_user_manager",
24086
+ "caller": "none",
23080
24087
  "params": {
23081
- "shiftId": "haupt_KASSE1_s2",
23082
- "countedCents": 29000,
23083
- "tipPayouts": [
23084
- {
23085
- "registerUserId": "ru_kellner",
23086
- "cents": 400
23087
- }
23088
- ],
23089
- "idempotencyKey": "z-7",
23090
- "checkOnly": true
24088
+ "cashregisterId": "KASSE1"
23091
24089
  },
23092
24090
  "httpStatus": 200,
23093
24091
  "headers": {
@@ -23095,23 +24093,22 @@
23095
24093
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23096
24094
  },
23097
24095
  "response": {
23098
- "status": "success",
23099
- "message": "",
24096
+ "status": "error",
24097
+ "message": "Ungültiger Request: Authorization key erwartet.",
23100
24098
  "data": {
23101
- "status": "ready"
23102
- }
24099
+ "code": "unauthorized"
24100
+ },
24101
+ "code": "unauthorized"
23103
24102
  }
23104
24103
  },
23105
24104
  {
23106
- "case": "success_cashier_check_recount",
24105
+ "case": "cashier_no_manager",
23107
24106
  "method": "POST",
23108
24107
  "caller": "register_user_cashier",
23109
24108
  "params": {
23110
- "shiftId": "haupt_KASSE1_s2",
23111
- "countedCents": 20000,
23112
- "attempt": 1,
23113
- "idempotencyKey": "z-8",
23114
- "checkOnly": true
24109
+ "cashregisterId": "KASSE1",
24110
+ "from": "2026-09-01",
24111
+ "to": "2026-09-25"
23115
24112
  },
23116
24113
  "httpStatus": 200,
23117
24114
  "headers": {
@@ -23119,215 +24116,44 @@
23119
24116
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23120
24117
  },
23121
24118
  "response": {
23122
- "status": "success",
23123
- "message": "",
24119
+ "status": "error",
24120
+ "message": "Den Export für die Prüfung macht der Chef.",
23124
24121
  "data": {
23125
- "status": "recount"
23126
- }
24122
+ "code": "manager_only"
24123
+ },
24124
+ "code": "manager_only"
23127
24125
  }
23128
24126
  },
23129
24127
  {
23130
- "case": "success_same_key",
24128
+ "case": "period_wrong",
23131
24129
  "method": "POST",
23132
24130
  "caller": "register_user_manager",
23133
24131
  "params": {
23134
- "shiftId": "haupt_KASSE1_s2",
23135
- "countedCents": 29000,
23136
- "tipPayouts": [
23137
- {
23138
- "registerUserId": "ru_kellner",
23139
- "cents": 400
23140
- }
23141
- ],
23142
- "idempotencyKey": "z-1"
23143
- },
23144
- "httpStatus": 200,
23145
- "headers": {
23146
- "Kasseneck-Api-Version": "v3",
23147
- "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24132
+ "cashregisterId": "KASSE1",
24133
+ "from": "2026-09-25",
24134
+ "to": "2026-09-01"
23148
24135
  },
23149
- "response": {
23150
- "status": "success",
23151
- "message": "",
23152
- "data": {
23153
- "status": "closed",
23154
- "shift": {
23155
- "id": "haupt_KASSE1_s2",
23156
- "drawerId": "haupt_KASSE1",
23157
- "cashregisterId": "KASSE1",
23158
- "number": 2,
23159
- "status": "closed",
23160
- "openedAt": "2026-09-25T15:00:00.000Z",
23161
- "openedBy": {
23162
- "registerUserId": "ru_chef",
23163
- "name": "Anna Chef",
23164
- "role": "register_user"
23165
- },
23166
- "openedDeviceId": "dev_pin",
23167
- "closedAt": "2026-09-26T07:59:00.000Z",
23168
- "closedBy": {
23169
- "registerUserId": "ru_chef",
23170
- "name": "Anna Chef",
23171
- "role": "register_user"
23172
- },
23173
- "closedDeviceId": "dev_pin",
23174
- "openingFloatCents": 15000,
23175
- "openingDenominations": null,
23176
- "openingFloatTakenOver": true,
23177
- "countedCents": 29000,
23178
- "comment": null,
23179
- "blind": false,
23180
- "suggestedFloatCents": 15000,
23181
- "runningTotals": {
23182
- "cashSalesCents": 9400,
23183
- "cashCancellationsCents": 0,
23184
- "nonCashByMethod": [
23185
- {
23186
- "method": "card",
23187
- "cents": 3200
23188
- }
23189
- ],
23190
- "voucherRedeemedCents": 0,
23191
- "receiptCount": 3,
23192
- "cancellationCount": 0,
23193
- "cashInCents": 5000,
23194
- "cashOutCents": 400,
23195
- "tips": [
23196
- {
23197
- "registerUserId": "ru_kellner",
23198
- "name": "Ben Kellner",
23199
- "receivedImmediatelyCents": 400,
23200
- "retainedCents": 0,
23201
- "paidOutCents": 400,
23202
- "refundedByEmployeeCents": 0
23203
- }
23204
- ],
23205
- "openingsWithoutSale": 1
23206
- },
23207
- "expectedCents": 29000,
23208
- "differenceCents": 0,
23209
- "reconciliation": {
23210
- "matches": false,
23211
- "deviations": {
23212
- "cashSalesCents": {
23213
- "stored": 9400,
23214
- "recomputed": 0
23215
- },
23216
- "receiptCount": {
23217
- "stored": 3,
23218
- "recomputed": 0
23219
- },
23220
- "nonCashByMethod": {
23221
- "stored": [
23222
- {
23223
- "method": "card",
23224
- "cents": 3200
23225
- }
23226
- ],
23227
- "recomputed": []
23228
- },
23229
- "tips": {
23230
- "stored": [
23231
- {
23232
- "registerUserId": "ru_kellner",
23233
- "name": "Ben Kellner",
23234
- "receivedImmediatelyCents": 400,
23235
- "retainedCents": 0
23236
- }
23237
- ],
23238
- "recomputed": []
23239
- }
23240
- }
23241
- }
23242
- },
23243
- "receipt": {
23244
- "kind": "shift_close",
23245
- "blind": false,
23246
- "business": {
23247
- "name": "Café Welt"
23248
- },
23249
- "cashregister": {
23250
- "id": "KASSE1",
23251
- "name": "Theke 1"
23252
- },
23253
- "drawer": {
23254
- "name": "Hauptlade"
23255
- },
23256
- "shift": {
23257
- "number": 2,
23258
- "openedAt": "2026-09-25T15:00:00.000Z",
23259
- "closedAt": "2026-09-26T07:59:00.000Z",
23260
- "openedByName": "Anna Chef",
23261
- "closedByName": "Anna Chef"
23262
- },
23263
- "openingFloatCents": 15000,
23264
- "openingFloatTakenOver": true,
23265
- "openingDenominations": null,
23266
- "cashSalesCents": 9400,
23267
- "cashCancellationsCents": 0,
23268
- "receiptCount": 3,
23269
- "cancellationCount": 0,
23270
- "nonCashByMethod": [
23271
- {
23272
- "method": "card",
23273
- "cents": 3200
23274
- }
23275
- ],
23276
- "movements": [
23277
- {
23278
- "number": 3,
23279
- "type": "change_in",
23280
- "amountCents": 5000,
23281
- "note": null,
23282
- "byName": "Anna Chef",
23283
- "at": "2026-09-25T15:03:00.000Z"
23284
- },
23285
- {
23286
- "number": 4,
23287
- "type": "tip_payout",
23288
- "amountCents": -400,
23289
- "note": null,
23290
- "byName": "Anna Chef",
23291
- "at": "2026-09-26T07:59:00.000Z"
23292
- }
23293
- ],
23294
- "tips": [
23295
- {
23296
- "registerUserId": "ru_kellner",
23297
- "name": "Ben Kellner",
23298
- "receivedImmediatelyCents": 400,
23299
- "retainedCents": 0,
23300
- "paidOutCents": 400,
23301
- "refundedByEmployeeCents": 0,
23302
- "carriedOverCents": 0,
23303
- "openCents": 0
23304
- }
23305
- ],
23306
- "expectedCents": 29000,
23307
- "countedCents": 29000,
23308
- "countedDenominations": null,
23309
- "differenceCents": 0,
23310
- "comment": null,
23311
- "openingsWithoutSale": 1
23312
- },
23313
- "lastShiftOfRegister": true
23314
- }
24136
+ "httpStatus": 200,
24137
+ "headers": {
24138
+ "Kasseneck-Api-Version": "v3",
24139
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24140
+ },
24141
+ "response": {
24142
+ "status": "error",
24143
+ "message": "bis: liegt vor von.",
24144
+ "data": {
24145
+ "code": "invalid_period"
24146
+ },
24147
+ "code": "invalid_period"
23315
24148
  }
23316
24149
  },
23317
24150
  {
23318
- "case": "key_conflict",
24151
+ "case": "period_future",
23319
24152
  "method": "POST",
23320
24153
  "caller": "register_user_manager",
23321
24154
  "params": {
23322
- "shiftId": "haupt_KASSE1_s2",
23323
- "countedCents": 29100,
23324
- "tipPayouts": [
23325
- {
23326
- "registerUserId": "ru_kellner",
23327
- "cents": 400
23328
- }
23329
- ],
23330
- "idempotencyKey": "z-1"
24155
+ "cashregisterId": "KASSE1",
24156
+ "from": "2026-10-01"
23331
24157
  },
23332
24158
  "httpStatus": 200,
23333
24159
  "headers": {
@@ -23336,11 +24162,58 @@
23336
24162
  },
23337
24163
  "response": {
23338
24164
  "status": "error",
23339
- "message": "Derselbe idempotencyKey wurde mit anderem Inhalt verwendet.",
24165
+ "message": "von: darf nicht in der Zukunft liegen.",
23340
24166
  "data": {
23341
- "code": "idempotency_conflict"
24167
+ "code": "invalid_period"
23342
24168
  },
23343
- "code": "idempotency_conflict"
24169
+ "code": "invalid_period"
24170
+ }
24171
+ },
24172
+ {
24173
+ "case": "running_already",
24174
+ "method": "POST",
24175
+ "caller": "register_user_manager",
24176
+ "params": {
24177
+ "cashregisterId": "KASSE1",
24178
+ "from": "2026-09-01",
24179
+ "to": "2026-09-25"
24180
+ },
24181
+ "httpStatus": 200,
24182
+ "headers": {
24183
+ "Kasseneck-Api-Version": "v3",
24184
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24185
+ },
24186
+ "response": {
24187
+ "status": "error",
24188
+ "message": "Für diese Kasse läuft bereits ein Export.",
24189
+ "data": {
24190
+ "code": "export_running",
24191
+ "exportId": "DEP-2026-09-26-0002"
24192
+ },
24193
+ "code": "export_running"
24194
+ }
24195
+ },
24196
+ {
24197
+ "case": "running_already_device",
24198
+ "method": "POST",
24199
+ "caller": "device_api_key",
24200
+ "params": {
24201
+ "from": "2026-09-01",
24202
+ "to": "2026-09-25"
24203
+ },
24204
+ "httpStatus": 200,
24205
+ "headers": {
24206
+ "Kasseneck-Api-Version": "v3",
24207
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24208
+ },
24209
+ "response": {
24210
+ "status": "error",
24211
+ "message": "Für diese Kasse läuft bereits ein Export.",
24212
+ "data": {
24213
+ "code": "export_running",
24214
+ "exportId": "DEP-2026-09-26-0002"
24215
+ },
24216
+ "code": "export_running"
23344
24217
  }
23345
24218
  },
23346
24219
  {
@@ -23366,8 +24239,8 @@
23366
24239
  }
23367
24240
  ]
23368
24241
  },
23369
- "logReceiptOutputs": {
23370
- "codebase": "kasse",
24242
+ "getDepExport": {
24243
+ "codebase": "default",
23371
24244
  "cases": [
23372
24245
  {
23373
24246
  "case": "without_token",
@@ -23375,28 +24248,7 @@
23375
24248
  "caller": "none",
23376
24249
  "params": {
23377
24250
  "cashregisterId": "KASSE1",
23378
- "entries": [
23379
- {
23380
- "key": "druck-0001",
23381
- "receiptId": "KASSE1-ID-7",
23382
- "at": 1790409480000,
23383
- "kind": "print",
23384
- "result": "ok"
23385
- },
23386
- {
23387
- "key": "druck-0002",
23388
- "receiptId": "KASSE1-ID-7",
23389
- "at": "2026-09-26T09:59:00+02:00",
23390
- "kind": "reprint",
23391
- "result": "unclear"
23392
- },
23393
- {
23394
- "key": "teilen-0001",
23395
- "receiptId": "KASSE1-ID-7",
23396
- "at": 1790409570000,
23397
- "kind": "link_shared"
23398
- }
23399
- ]
24251
+ "exportId": "DEP-2026-09-26-0001"
23400
24252
  },
23401
24253
  "httpStatus": 200,
23402
24254
  "headers": {
@@ -23413,11 +24265,12 @@
23413
24265
  }
23414
24266
  },
23415
24267
  {
23416
- "case": "data_missing",
24268
+ "case": "cashier_no_manager",
23417
24269
  "method": "POST",
23418
24270
  "caller": "register_user_cashier",
23419
24271
  "params": {
23420
- "cashregisterId": "KASSE1"
24272
+ "cashregisterId": "KASSE1",
24273
+ "exportId": "DEP-2026-09-26-0001"
23421
24274
  },
23422
24275
  "httpStatus": 200,
23423
24276
  "headers": {
@@ -23426,47 +24279,196 @@
23426
24279
  },
23427
24280
  "response": {
23428
24281
  "status": "error",
23429
- "message": "Ungültige Daten: Nicht alle erforderlichen Parameter wurden übergeben oder Typen stimmen nicht überein: entries",
24282
+ "message": "Den Export für die Prüfung macht der Chef.",
24283
+ "data": {
24284
+ "code": "manager_only"
24285
+ },
24286
+ "code": "manager_only"
24287
+ }
24288
+ },
24289
+ {
24290
+ "case": "unknown",
24291
+ "method": "POST",
24292
+ "caller": "register_user_manager",
24293
+ "params": {
24294
+ "cashregisterId": "KASSE1",
24295
+ "exportId": "DEP-2026-09-26-0099"
24296
+ },
24297
+ "httpStatus": 200,
24298
+ "headers": {
24299
+ "Kasseneck-Api-Version": "v3",
24300
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24301
+ },
24302
+ "response": {
24303
+ "status": "error",
24304
+ "message": "Export nicht gefunden.",
24305
+ "data": {
24306
+ "code": "export_not_found"
24307
+ },
24308
+ "code": "export_not_found"
24309
+ }
24310
+ },
24311
+ {
24312
+ "case": "success_manager",
24313
+ "method": "POST",
24314
+ "caller": "register_user_manager",
24315
+ "params": {
24316
+ "cashregisterId": "KASSE1",
24317
+ "exportId": "DEP-2026-09-26-0001"
24318
+ },
24319
+ "httpStatus": 200,
24320
+ "headers": {
24321
+ "Kasseneck-Api-Version": "v3",
24322
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24323
+ },
24324
+ "response": {
24325
+ "status": "success",
24326
+ "message": "",
24327
+ "data": {
24328
+ "exportId": "DEP-2026-09-26-0001",
24329
+ "status": "done",
24330
+ "from": "2026-09-01",
24331
+ "to": "2026-09-25",
24332
+ "createdAt": "2026-09-26T07:40:00.000Z",
24333
+ "finishedAt": "2026-09-26T07:40:20.000Z",
24334
+ "receiptCount": 3,
24335
+ "counterFrom": 1,
24336
+ "counterTo": 3,
24337
+ "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
24338
+ "size": 4096,
24339
+ "findings": {
24340
+ "receiptCount": 3,
24341
+ "counterFrom": 1,
24342
+ "counterTo": 3,
24343
+ "gaps": [],
24344
+ "chainBreaks": [],
24345
+ "withoutCounter": [],
24346
+ "withoutSignature": []
24347
+ },
24348
+ "items": {
24349
+ "rowCount": 4,
24350
+ "sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
24351
+ "size": 512
24352
+ },
24353
+ "handoverLinks": [
24354
+ {
24355
+ "linkId": "kwLink0000000000000A",
24356
+ "createdAt": "2026-09-26T07:50:00.000Z",
24357
+ "expiresAt": "2026-10-10T08:00:00.000Z",
24358
+ "revokedAt": null,
24359
+ "firstAccessAt": null,
24360
+ "accessCount": 0
24361
+ }
24362
+ ]
24363
+ }
24364
+ }
24365
+ },
24366
+ {
24367
+ "case": "success_running",
24368
+ "method": "POST",
24369
+ "caller": "register_user_manager",
24370
+ "params": {
24371
+ "cashregisterId": "KASSE1",
24372
+ "exportId": "DEP-2026-09-26-0002"
24373
+ },
24374
+ "httpStatus": 200,
24375
+ "headers": {
24376
+ "Kasseneck-Api-Version": "v3",
24377
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24378
+ },
24379
+ "response": {
24380
+ "status": "success",
24381
+ "message": "",
24382
+ "data": {
24383
+ "exportId": "DEP-2026-09-26-0002",
24384
+ "status": "running",
24385
+ "from": "2026-09-01",
24386
+ "to": "2026-09-25",
24387
+ "createdAt": "2026-09-26T07:55:00.000Z",
24388
+ "finishedAt": null,
24389
+ "receiptCount": 3,
24390
+ "counterFrom": 1,
24391
+ "counterTo": 3,
24392
+ "sha256": null,
24393
+ "size": 4096,
24394
+ "findings": {
24395
+ "receiptCount": 3,
24396
+ "counterFrom": 1,
24397
+ "counterTo": 3,
24398
+ "gaps": [],
24399
+ "chainBreaks": [],
24400
+ "withoutCounter": [],
24401
+ "withoutSignature": []
24402
+ },
24403
+ "items": {
24404
+ "rowCount": 4,
24405
+ "sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
24406
+ "size": 512
24407
+ },
24408
+ "handoverLinks": []
24409
+ }
24410
+ }
24411
+ },
24412
+ {
24413
+ "case": "success_device",
24414
+ "method": "POST",
24415
+ "caller": "device_api_key",
24416
+ "params": {
24417
+ "exportId": "DEP-2026-09-26-0001"
24418
+ },
24419
+ "httpStatus": 200,
24420
+ "headers": {
24421
+ "Kasseneck-Api-Version": "v3",
24422
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24423
+ },
24424
+ "response": {
24425
+ "status": "success",
24426
+ "message": "",
23430
24427
  "data": {
23431
- "code": "validation",
23432
- "errors": [
24428
+ "exportId": "DEP-2026-09-26-0001",
24429
+ "status": "done",
24430
+ "from": "2026-09-01",
24431
+ "to": "2026-09-25",
24432
+ "createdAt": "2026-09-26T07:40:00.000Z",
24433
+ "finishedAt": "2026-09-26T07:40:20.000Z",
24434
+ "receiptCount": 3,
24435
+ "counterFrom": 1,
24436
+ "counterTo": 3,
24437
+ "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
24438
+ "size": 4096,
24439
+ "findings": {
24440
+ "receiptCount": 3,
24441
+ "counterFrom": 1,
24442
+ "counterTo": 3,
24443
+ "gaps": [],
24444
+ "chainBreaks": [],
24445
+ "withoutCounter": [],
24446
+ "withoutSignature": []
24447
+ },
24448
+ "items": {
24449
+ "rowCount": 4,
24450
+ "sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
24451
+ "size": 512
24452
+ },
24453
+ "handoverLinks": [
23433
24454
  {
23434
- "field": "entries",
23435
- "message": "Pflichtfeld fehlt."
24455
+ "linkId": "kwLink0000000000000A",
24456
+ "createdAt": "2026-09-26T07:50:00.000Z",
24457
+ "expiresAt": "2026-10-10T08:00:00.000Z",
24458
+ "revokedAt": null,
24459
+ "firstAccessAt": null,
24460
+ "accessCount": 0
23436
24461
  }
23437
24462
  ]
23438
- },
23439
- "code": "validation"
24463
+ }
23440
24464
  }
23441
24465
  },
23442
24466
  {
23443
- "case": "foreign_cashregister",
23444
- "method": "POST",
23445
- "caller": "register_user_other_cashregister",
24467
+ "case": "preflight_options",
24468
+ "method": "OPTIONS",
24469
+ "caller": "other",
23446
24470
  "params": {
23447
- "cashregisterId": "KASSE1",
23448
- "entries": [
23449
- {
23450
- "key": "druck-0001",
23451
- "receiptId": "KASSE1-ID-7",
23452
- "at": 1790409480000,
23453
- "kind": "print",
23454
- "result": "ok"
23455
- },
23456
- {
23457
- "key": "druck-0002",
23458
- "receiptId": "KASSE1-ID-7",
23459
- "at": "2026-09-26T09:59:00+02:00",
23460
- "kind": "reprint",
23461
- "result": "unclear"
23462
- },
23463
- {
23464
- "key": "teilen-0001",
23465
- "receiptId": "KASSE1-ID-7",
23466
- "at": 1790409570000,
23467
- "kind": "link_shared"
23468
- }
23469
- ]
24471
+ "$body": {}
23470
24472
  },
23471
24473
  "httpStatus": 200,
23472
24474
  "headers": {
@@ -23475,20 +24477,26 @@
23475
24477
  },
23476
24478
  "response": {
23477
24479
  "status": "error",
23478
- "message": "Diese Kasse ist dem Benutzer nicht zugewiesen.",
24480
+ "message": "Bitte verwenden Sie eine POST-Anfrage",
23479
24481
  "data": {
23480
- "code": "cashregister_not_assigned"
24482
+ "code": "method_not_allowed"
23481
24483
  },
23482
- "code": "cashregister_not_assigned"
24484
+ "code": "method_not_allowed"
23483
24485
  }
23484
- },
24486
+ }
24487
+ ]
24488
+ },
24489
+ "getDepExportFile": {
24490
+ "codebase": "default",
24491
+ "cases": [
23485
24492
  {
23486
- "case": "entries_empty",
24493
+ "case": "without_token",
23487
24494
  "method": "POST",
23488
- "caller": "register_user_cashier",
24495
+ "caller": "none",
23489
24496
  "params": {
23490
24497
  "cashregisterId": "KASSE1",
23491
- "entries": []
24498
+ "exportId": "DEP-2026-09-26-0001",
24499
+ "file": "dep"
23492
24500
  },
23493
24501
  "httpStatus": 200,
23494
24502
  "headers": {
@@ -23497,47 +24505,21 @@
23497
24505
  },
23498
24506
  "response": {
23499
24507
  "status": "error",
23500
- "message": "Bitte Eingaben prüfen.",
24508
+ "message": "Ungültiger Request: Authorization key erwartet.",
23501
24509
  "data": {
23502
- "errors": [
23503
- {
23504
- "field": "entries",
23505
- "message": "Ein bis 50 Einträge angeben."
23506
- }
23507
- ],
23508
- "code": "validation"
24510
+ "code": "unauthorized"
23509
24511
  },
23510
- "code": "validation"
24512
+ "code": "unauthorized"
23511
24513
  }
23512
24514
  },
23513
24515
  {
23514
- "case": "success_cashier",
24516
+ "case": "cashier_no_manager",
23515
24517
  "method": "POST",
23516
24518
  "caller": "register_user_cashier",
23517
24519
  "params": {
23518
24520
  "cashregisterId": "KASSE1",
23519
- "entries": [
23520
- {
23521
- "key": "druck-0001",
23522
- "receiptId": "KASSE1-ID-7",
23523
- "at": 1790409480000,
23524
- "kind": "print",
23525
- "result": "ok"
23526
- },
23527
- {
23528
- "key": "druck-0002",
23529
- "receiptId": "KASSE1-ID-7",
23530
- "at": "2026-09-26T09:59:00+02:00",
23531
- "kind": "reprint",
23532
- "result": "unclear"
23533
- },
23534
- {
23535
- "key": "teilen-0001",
23536
- "receiptId": "KASSE1-ID-7",
23537
- "at": 1790409570000,
23538
- "kind": "link_shared"
23539
- }
23540
- ]
24521
+ "exportId": "DEP-2026-09-26-0001",
24522
+ "file": "dep"
23541
24523
  },
23542
24524
  "httpStatus": 200,
23543
24525
  "headers": {
@@ -23545,42 +24527,22 @@
23545
24527
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23546
24528
  },
23547
24529
  "response": {
23548
- "status": "success",
23549
- "message": "",
24530
+ "status": "error",
24531
+ "message": "Den Export für die Prüfung macht der Chef.",
23550
24532
  "data": {
23551
- "accepted": 3,
23552
- "rejected": []
23553
- }
24533
+ "code": "manager_only"
24534
+ },
24535
+ "code": "manager_only"
23554
24536
  }
23555
24537
  },
23556
24538
  {
23557
- "case": "success_duplicate",
24539
+ "case": "file_unknown",
23558
24540
  "method": "POST",
23559
- "caller": "register_user_cashier",
24541
+ "caller": "register_user_manager",
23560
24542
  "params": {
23561
24543
  "cashregisterId": "KASSE1",
23562
- "entries": [
23563
- {
23564
- "key": "druck-0001",
23565
- "receiptId": "KASSE1-ID-7",
23566
- "at": 1790409480000,
23567
- "kind": "print",
23568
- "result": "ok"
23569
- },
23570
- {
23571
- "key": "druck-0002",
23572
- "receiptId": "KASSE1-ID-7",
23573
- "at": "2026-09-26T09:59:00+02:00",
23574
- "kind": "reprint",
23575
- "result": "unclear"
23576
- },
23577
- {
23578
- "key": "teilen-0001",
23579
- "receiptId": "KASSE1-ID-7",
23580
- "at": 1790409570000,
23581
- "kind": "link_shared"
23582
- }
23583
- ]
24544
+ "exportId": "DEP-2026-09-26-0001",
24545
+ "file": "xml"
23584
24546
  },
23585
24547
  "httpStatus": 200,
23586
24548
  "headers": {
@@ -23588,28 +24550,22 @@
23588
24550
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23589
24551
  },
23590
24552
  "response": {
23591
- "status": "success",
23592
- "message": "",
24553
+ "status": "error",
24554
+ "message": "Unbekannte Datei. Möglich: dep, protocol, items, zip.",
23593
24555
  "data": {
23594
- "accepted": 3,
23595
- "rejected": []
23596
- }
24556
+ "code": "invalid_file"
24557
+ },
24558
+ "code": "invalid_file"
23597
24559
  }
23598
24560
  },
23599
24561
  {
23600
- "case": "success_api_key",
24562
+ "case": "not_ready",
23601
24563
  "method": "POST",
23602
- "caller": "device_api_key",
24564
+ "caller": "register_user_manager",
23603
24565
  "params": {
23604
- "entries": [
23605
- {
23606
- "key": "teilen-0002",
23607
- "receiptId": "KASSE1-ID-7",
23608
- "at": 1790409599000,
23609
- "kind": "pdf_shared",
23610
- "result": "ok"
23611
- }
23612
- ]
24566
+ "cashregisterId": "KASSE1",
24567
+ "exportId": "DEP-2026-09-26-0002",
24568
+ "file": "dep"
23613
24569
  },
23614
24570
  "httpStatus": 200,
23615
24571
  "headers": {
@@ -23617,70 +24573,22 @@
23617
24573
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23618
24574
  },
23619
24575
  "response": {
23620
- "status": "success",
23621
- "message": "",
24576
+ "status": "error",
24577
+ "message": "Der Export wird noch erstellt.",
23622
24578
  "data": {
23623
- "accepted": 1,
23624
- "rejected": []
23625
- }
24579
+ "code": "export_not_ready"
24580
+ },
24581
+ "code": "export_not_ready"
23626
24582
  }
23627
24583
  },
23628
24584
  {
23629
- "case": "mixed",
23630
- "method": "POST",
23631
- "caller": "register_user_manager",
23632
- "params": {
23633
- "cashregisterId": "KASSE1",
23634
- "entries": [
23635
- {
23636
- "key": "mail-0001",
23637
- "receiptId": "KASSE1-ID-7",
23638
- "at": 1790409599000,
23639
- "kind": "email",
23640
- "result": "ok"
23641
- },
23642
- {
23643
- "key": "abruf-0001",
23644
- "receiptId": "KASSE1-ID-7",
23645
- "at": 1790409599000,
23646
- "kind": "opened",
23647
- "result": "ok"
23648
- },
23649
- {
23650
- "key": "fremd-0001",
23651
- "receiptId": "KASSE3-ID-1",
23652
- "at": 1790409599000,
23653
- "kind": "print",
23654
- "result": "ok"
23655
- },
23656
- {
23657
- "key": "zeit-0001",
23658
- "receiptId": "KASSE1-ID-7",
23659
- "at": 1790410200000,
23660
- "kind": "print",
23661
- "result": "ok"
23662
- },
23663
- {
23664
- "key": "kurz",
23665
- "receiptId": "KASSE1-ID-7",
23666
- "at": 1790409599000,
23667
- "kind": "print",
23668
- "result": "ok"
23669
- },
23670
- {
23671
- "key": "druck-0009",
23672
- "receiptId": "KASSE1-ID-7",
23673
- "at": 1790409599000,
23674
- "kind": "reprint"
23675
- },
23676
- {
23677
- "key": "druck-0010",
23678
- "receiptId": "KASSE1-ID-7",
23679
- "at": 1790409599000,
23680
- "kind": "reprint",
23681
- "result": "failed"
23682
- }
23683
- ]
24585
+ "case": "without_items",
24586
+ "method": "POST",
24587
+ "caller": "register_user_manager",
24588
+ "params": {
24589
+ "cashregisterId": "KASSE1",
24590
+ "exportId": "DEP-2026-09-20-0001",
24591
+ "file": "items"
23684
24592
  },
23685
24593
  "httpStatus": 200,
23686
24594
  "headers": {
@@ -23688,33 +24596,12 @@
23688
24596
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23689
24597
  },
23690
24598
  "response": {
23691
- "status": "success",
23692
- "message": "",
24599
+ "status": "error",
24600
+ "message": "Diese Datei gibt es zu diesem Export nicht.",
23693
24601
  "data": {
23694
- "accepted": 2,
23695
- "rejected": [
23696
- {
23697
- "key": "mail-0001",
23698
- "code": "invalid_output_kind"
23699
- },
23700
- {
23701
- "key": "abruf-0001",
23702
- "code": "invalid_output_kind"
23703
- },
23704
- {
23705
- "key": "fremd-0001",
23706
- "code": "receipt_not_found"
23707
- },
23708
- {
23709
- "key": "kurz",
23710
- "code": "idempotency_key_required"
23711
- },
23712
- {
23713
- "key": "druck-0009",
23714
- "code": "validation"
23715
- }
23716
- ]
23717
- }
24602
+ "code": "file_not_available"
24603
+ },
24604
+ "code": "file_not_available"
23718
24605
  }
23719
24606
  },
23720
24607
  {
@@ -23740,7 +24627,7 @@
23740
24627
  }
23741
24628
  ]
23742
24629
  },
23743
- "createDepExport": {
24630
+ "createDepHandoverLink": {
23744
24631
  "codebase": "default",
23745
24632
  "cases": [
23746
24633
  {
@@ -23748,7 +24635,8 @@
23748
24635
  "method": "POST",
23749
24636
  "caller": "none",
23750
24637
  "params": {
23751
- "cashregisterId": "KASSE1"
24638
+ "cashregisterId": "KASSE1",
24639
+ "exportId": "DEP-2026-09-26-0001"
23752
24640
  },
23753
24641
  "httpStatus": 200,
23754
24642
  "headers": {
@@ -23770,8 +24658,7 @@
23770
24658
  "caller": "register_user_cashier",
23771
24659
  "params": {
23772
24660
  "cashregisterId": "KASSE1",
23773
- "from": "2026-09-01",
23774
- "to": "2026-09-25"
24661
+ "exportId": "DEP-2026-09-26-0001"
23775
24662
  },
23776
24663
  "httpStatus": 200,
23777
24664
  "headers": {
@@ -23788,35 +24675,12 @@
23788
24675
  }
23789
24676
  },
23790
24677
  {
23791
- "case": "period_wrong",
23792
- "method": "POST",
23793
- "caller": "register_user_manager",
23794
- "params": {
23795
- "cashregisterId": "KASSE1",
23796
- "from": "2026-09-25",
23797
- "to": "2026-09-01"
23798
- },
23799
- "httpStatus": 200,
23800
- "headers": {
23801
- "Kasseneck-Api-Version": "v3",
23802
- "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23803
- },
23804
- "response": {
23805
- "status": "error",
23806
- "message": "bis: liegt vor von.",
23807
- "data": {
23808
- "code": "invalid_period"
23809
- },
23810
- "code": "invalid_period"
23811
- }
23812
- },
23813
- {
23814
- "case": "period_future",
24678
+ "case": "unknown",
23815
24679
  "method": "POST",
23816
24680
  "caller": "register_user_manager",
23817
24681
  "params": {
23818
24682
  "cashregisterId": "KASSE1",
23819
- "from": "2026-10-01"
24683
+ "exportId": "DEP-2026-09-26-0099"
23820
24684
  },
23821
24685
  "httpStatus": 200,
23822
24686
  "headers": {
@@ -23825,44 +24689,20 @@
23825
24689
  },
23826
24690
  "response": {
23827
24691
  "status": "error",
23828
- "message": "von: darf nicht in der Zukunft liegen.",
24692
+ "message": "Export nicht gefunden.",
23829
24693
  "data": {
23830
- "code": "invalid_period"
24694
+ "code": "export_not_found"
23831
24695
  },
23832
- "code": "invalid_period"
24696
+ "code": "export_not_found"
23833
24697
  }
23834
24698
  },
23835
24699
  {
23836
- "case": "running_already",
24700
+ "case": "not_ready",
23837
24701
  "method": "POST",
23838
24702
  "caller": "register_user_manager",
23839
24703
  "params": {
23840
24704
  "cashregisterId": "KASSE1",
23841
- "from": "2026-09-01",
23842
- "to": "2026-09-25"
23843
- },
23844
- "httpStatus": 200,
23845
- "headers": {
23846
- "Kasseneck-Api-Version": "v3",
23847
- "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23848
- },
23849
- "response": {
23850
- "status": "error",
23851
- "message": "Für diese Kasse läuft bereits ein Export.",
23852
- "data": {
23853
- "code": "export_running",
23854
- "exportId": "DEP-2026-09-26-0002"
23855
- },
23856
- "code": "export_running"
23857
- }
23858
- },
23859
- {
23860
- "case": "running_already_device",
23861
- "method": "POST",
23862
- "caller": "device_api_key",
23863
- "params": {
23864
- "from": "2026-09-01",
23865
- "to": "2026-09-25"
24705
+ "exportId": "DEP-2026-09-26-0002"
23866
24706
  },
23867
24707
  "httpStatus": 200,
23868
24708
  "headers": {
@@ -23871,12 +24711,11 @@
23871
24711
  },
23872
24712
  "response": {
23873
24713
  "status": "error",
23874
- "message": "Für diese Kasse läuft bereits ein Export.",
24714
+ "message": "Der Export wird noch erstellt.",
23875
24715
  "data": {
23876
- "code": "export_running",
23877
- "exportId": "DEP-2026-09-26-0002"
24716
+ "code": "export_not_ready"
23878
24717
  },
23879
- "code": "export_running"
24718
+ "code": "export_not_ready"
23880
24719
  }
23881
24720
  },
23882
24721
  {
@@ -23902,7 +24741,7 @@
23902
24741
  }
23903
24742
  ]
23904
24743
  },
23905
- "getDepExport": {
24744
+ "revokeDepHandoverLink": {
23906
24745
  "codebase": "default",
23907
24746
  "cases": [
23908
24747
  {
@@ -23911,7 +24750,7 @@
23911
24750
  "caller": "none",
23912
24751
  "params": {
23913
24752
  "cashregisterId": "KASSE1",
23914
- "exportId": "DEP-2026-09-26-0001"
24753
+ "linkId": "kwLink0000000000000A"
23915
24754
  },
23916
24755
  "httpStatus": 200,
23917
24756
  "headers": {
@@ -23933,7 +24772,7 @@
23933
24772
  "caller": "register_user_cashier",
23934
24773
  "params": {
23935
24774
  "cashregisterId": "KASSE1",
23936
- "exportId": "DEP-2026-09-26-0001"
24775
+ "linkId": "kwLink0000000000000A"
23937
24776
  },
23938
24777
  "httpStatus": 200,
23939
24778
  "headers": {
@@ -23955,7 +24794,7 @@
23955
24794
  "caller": "register_user_manager",
23956
24795
  "params": {
23957
24796
  "cashregisterId": "KASSE1",
23958
- "exportId": "DEP-2026-09-26-0099"
24797
+ "linkId": "kwLink0000000000000Z"
23959
24798
  },
23960
24799
  "httpStatus": 200,
23961
24800
  "headers": {
@@ -23964,11 +24803,11 @@
23964
24803
  },
23965
24804
  "response": {
23966
24805
  "status": "error",
23967
- "message": "Export nicht gefunden.",
24806
+ "message": "Link nicht gefunden.",
23968
24807
  "data": {
23969
- "code": "export_not_found"
24808
+ "code": "link_not_found"
23970
24809
  },
23971
- "code": "export_not_found"
24810
+ "code": "link_not_found"
23972
24811
  }
23973
24812
  },
23974
24813
  {
@@ -23977,62 +24816,7 @@
23977
24816
  "caller": "register_user_manager",
23978
24817
  "params": {
23979
24818
  "cashregisterId": "KASSE1",
23980
- "exportId": "DEP-2026-09-26-0001"
23981
- },
23982
- "httpStatus": 200,
23983
- "headers": {
23984
- "Kasseneck-Api-Version": "v3",
23985
- "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
23986
- },
23987
- "response": {
23988
- "status": "success",
23989
- "message": "",
23990
- "data": {
23991
- "exportId": "DEP-2026-09-26-0001",
23992
- "status": "done",
23993
- "from": "2026-09-01",
23994
- "to": "2026-09-25",
23995
- "createdAt": "2026-09-26T07:40:00.000Z",
23996
- "finishedAt": "2026-09-26T07:40:20.000Z",
23997
- "receiptCount": 3,
23998
- "counterFrom": 1,
23999
- "counterTo": 3,
24000
- "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
24001
- "size": 4096,
24002
- "findings": {
24003
- "receiptCount": 3,
24004
- "counterFrom": 1,
24005
- "counterTo": 3,
24006
- "gaps": [],
24007
- "chainBreaks": [],
24008
- "withoutCounter": [],
24009
- "withoutSignature": []
24010
- },
24011
- "items": {
24012
- "rowCount": 4,
24013
- "sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
24014
- "size": 512
24015
- },
24016
- "handoverLinks": [
24017
- {
24018
- "linkId": "kwLink0000000000000A",
24019
- "createdAt": "2026-09-26T07:50:00.000Z",
24020
- "expiresAt": "2026-10-10T08:00:00.000Z",
24021
- "revokedAt": null,
24022
- "firstAccessAt": null,
24023
- "accessCount": 0
24024
- }
24025
- ]
24026
- }
24027
- }
24028
- },
24029
- {
24030
- "case": "success_running",
24031
- "method": "POST",
24032
- "caller": "register_user_manager",
24033
- "params": {
24034
- "cashregisterId": "KASSE1",
24035
- "exportId": "DEP-2026-09-26-0002"
24819
+ "linkId": "kwLink0000000000000A"
24036
24820
  },
24037
24821
  "httpStatus": 200,
24038
24822
  "headers": {
@@ -24043,32 +24827,8 @@
24043
24827
  "status": "success",
24044
24828
  "message": "",
24045
24829
  "data": {
24046
- "exportId": "DEP-2026-09-26-0002",
24047
- "status": "running",
24048
- "from": "2026-09-01",
24049
- "to": "2026-09-25",
24050
- "createdAt": "2026-09-26T07:55:00.000Z",
24051
- "finishedAt": null,
24052
- "receiptCount": 3,
24053
- "counterFrom": 1,
24054
- "counterTo": 3,
24055
- "sha256": null,
24056
- "size": 4096,
24057
- "findings": {
24058
- "receiptCount": 3,
24059
- "counterFrom": 1,
24060
- "counterTo": 3,
24061
- "gaps": [],
24062
- "chainBreaks": [],
24063
- "withoutCounter": [],
24064
- "withoutSignature": []
24065
- },
24066
- "items": {
24067
- "rowCount": 4,
24068
- "sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
24069
- "size": 512
24070
- },
24071
- "handoverLinks": []
24830
+ "linkId": "kwLink0000000000000A",
24831
+ "revokedAt": "2026-09-26T08:00:00.000Z"
24072
24832
  }
24073
24833
  }
24074
24834
  },
@@ -24077,7 +24837,7 @@
24077
24837
  "method": "POST",
24078
24838
  "caller": "device_api_key",
24079
24839
  "params": {
24080
- "exportId": "DEP-2026-09-26-0001"
24840
+ "linkId": "kwLink0000000000000A"
24081
24841
  },
24082
24842
  "httpStatus": 200,
24083
24843
  "headers": {
@@ -24088,41 +24848,8 @@
24088
24848
  "status": "success",
24089
24849
  "message": "",
24090
24850
  "data": {
24091
- "exportId": "DEP-2026-09-26-0001",
24092
- "status": "done",
24093
- "from": "2026-09-01",
24094
- "to": "2026-09-25",
24095
- "createdAt": "2026-09-26T07:40:00.000Z",
24096
- "finishedAt": "2026-09-26T07:40:20.000Z",
24097
- "receiptCount": 3,
24098
- "counterFrom": 1,
24099
- "counterTo": 3,
24100
- "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
24101
- "size": 4096,
24102
- "findings": {
24103
- "receiptCount": 3,
24104
- "counterFrom": 1,
24105
- "counterTo": 3,
24106
- "gaps": [],
24107
- "chainBreaks": [],
24108
- "withoutCounter": [],
24109
- "withoutSignature": []
24110
- },
24111
- "items": {
24112
- "rowCount": 4,
24113
- "sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
24114
- "size": 512
24115
- },
24116
- "handoverLinks": [
24117
- {
24118
- "linkId": "kwLink0000000000000A",
24119
- "createdAt": "2026-09-26T07:50:00.000Z",
24120
- "expiresAt": "2026-10-10T08:00:00.000Z",
24121
- "revokedAt": null,
24122
- "firstAccessAt": null,
24123
- "accessCount": 0
24124
- }
24125
- ]
24851
+ "linkId": "kwLink0000000000000A",
24852
+ "revokedAt": "2026-09-26T08:00:00.000Z"
24126
24853
  }
24127
24854
  }
24128
24855
  },
@@ -24149,7 +24876,7 @@
24149
24876
  }
24150
24877
  ]
24151
24878
  },
24152
- "getDepExportFile": {
24879
+ "getRegisterInspectionInfo": {
24153
24880
  "codebase": "default",
24154
24881
  "cases": [
24155
24882
  {
@@ -24157,9 +24884,7 @@
24157
24884
  "method": "POST",
24158
24885
  "caller": "none",
24159
24886
  "params": {
24160
- "cashregisterId": "KASSE1",
24161
- "exportId": "DEP-2026-09-26-0001",
24162
- "file": "dep"
24887
+ "cashregisterId": "KASSE1"
24163
24888
  },
24164
24889
  "httpStatus": 200,
24165
24890
  "headers": {
@@ -24176,13 +24901,11 @@
24176
24901
  }
24177
24902
  },
24178
24903
  {
24179
- "case": "cashier_no_manager",
24904
+ "case": "cashregister_not_assigned",
24180
24905
  "method": "POST",
24181
24906
  "caller": "register_user_cashier",
24182
24907
  "params": {
24183
- "cashregisterId": "KASSE1",
24184
- "exportId": "DEP-2026-09-26-0001",
24185
- "file": "dep"
24908
+ "cashregisterId": "KASSE3"
24186
24909
  },
24187
24910
  "httpStatus": 200,
24188
24911
  "headers": {
@@ -24191,21 +24914,19 @@
24191
24914
  },
24192
24915
  "response": {
24193
24916
  "status": "error",
24194
- "message": "Den Export für die Prüfung macht der Chef.",
24917
+ "message": "Diese Kasse ist dem Benutzer nicht zugewiesen.",
24195
24918
  "data": {
24196
- "code": "manager_only"
24919
+ "code": "cashregister_not_assigned"
24197
24920
  },
24198
- "code": "manager_only"
24921
+ "code": "cashregister_not_assigned"
24199
24922
  }
24200
24923
  },
24201
24924
  {
24202
- "case": "file_unknown",
24925
+ "case": "session_other_cashregister",
24203
24926
  "method": "POST",
24204
24927
  "caller": "register_user_manager",
24205
24928
  "params": {
24206
- "cashregisterId": "KASSE1",
24207
- "exportId": "DEP-2026-09-26-0001",
24208
- "file": "xml"
24929
+ "cashregisterId": "KASSE3"
24209
24930
  },
24210
24931
  "httpStatus": 200,
24211
24932
  "headers": {
@@ -24214,22 +24935,18 @@
24214
24935
  },
24215
24936
  "response": {
24216
24937
  "status": "error",
24217
- "message": "Unbekannte Datei. Möglich: dep, protocol, items, zip.",
24938
+ "message": "Sitzung gehört zu einer anderen Kasse – bitte dort neu anmelden.",
24218
24939
  "data": {
24219
- "code": "invalid_file"
24940
+ "code": "session_other_cashregister"
24220
24941
  },
24221
- "code": "invalid_file"
24942
+ "code": "session_other_cashregister"
24222
24943
  }
24223
24944
  },
24224
24945
  {
24225
- "case": "not_ready",
24946
+ "case": "cashregister_token_wrong",
24226
24947
  "method": "POST",
24227
- "caller": "register_user_manager",
24228
- "params": {
24229
- "cashregisterId": "KASSE1",
24230
- "exportId": "DEP-2026-09-26-0002",
24231
- "file": "dep"
24232
- },
24948
+ "caller": "device_api_key",
24949
+ "params": {},
24233
24950
  "httpStatus": 200,
24234
24951
  "headers": {
24235
24952
  "Kasseneck-Api-Version": "v3",
@@ -24237,21 +24954,19 @@
24237
24954
  },
24238
24955
  "response": {
24239
24956
  "status": "error",
24240
- "message": "Der Export wird noch erstellt.",
24957
+ "message": "Ungültiger cashregisterToken.",
24241
24958
  "data": {
24242
- "code": "export_not_ready"
24959
+ "code": "cashregister_token_invalid"
24243
24960
  },
24244
- "code": "export_not_ready"
24961
+ "code": "cashregister_token_invalid"
24245
24962
  }
24246
24963
  },
24247
24964
  {
24248
- "case": "without_items",
24965
+ "case": "success_cashier",
24249
24966
  "method": "POST",
24250
- "caller": "register_user_manager",
24967
+ "caller": "register_user_cashier",
24251
24968
  "params": {
24252
- "cashregisterId": "KASSE1",
24253
- "exportId": "DEP-2026-09-20-0001",
24254
- "file": "items"
24969
+ "cashregisterId": "KASSE1"
24255
24970
  },
24256
24971
  "httpStatus": 200,
24257
24972
  "headers": {
@@ -24259,47 +24974,40 @@
24259
24974
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24260
24975
  },
24261
24976
  "response": {
24262
- "status": "error",
24263
- "message": "Diese Datei gibt es zu diesem Export nicht.",
24977
+ "status": "success",
24978
+ "message": "",
24264
24979
  "data": {
24265
- "code": "file_not_available"
24266
- },
24267
- "code": "file_not_available"
24980
+ "cashregisterId": "KASSE1",
24981
+ "product": {
24982
+ "name": "Kasseneck",
24983
+ "cloudBased": true
24984
+ },
24985
+ "manufacturer": {
24986
+ "name": "Post Now e.U.",
24987
+ "vatId": "ATU76279224"
24988
+ },
24989
+ "signature": {
24990
+ "serialHex": "abc123",
24991
+ "serialDecimal": "11256099",
24992
+ "testCard": true,
24993
+ "status": "active"
24994
+ },
24995
+ "closings": {
24996
+ "monthlyDay": 1,
24997
+ "monthlyTime": "00:05",
24998
+ "timeZone": "Europe/Vienna",
24999
+ "annualIsDecember": true
25000
+ },
25001
+ "contactEmail": "rksv@kasseneck.at"
25002
+ }
24268
25003
  }
24269
25004
  },
24270
25005
  {
24271
- "case": "preflight_options",
24272
- "method": "OPTIONS",
24273
- "caller": "other",
24274
- "params": {
24275
- "$body": {}
24276
- },
24277
- "httpStatus": 200,
24278
- "headers": {
24279
- "Kasseneck-Api-Version": "v3",
24280
- "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24281
- },
24282
- "response": {
24283
- "status": "error",
24284
- "message": "Bitte verwenden Sie eine POST-Anfrage",
24285
- "data": {
24286
- "code": "method_not_allowed"
24287
- },
24288
- "code": "method_not_allowed"
24289
- }
24290
- }
24291
- ]
24292
- },
24293
- "createDepHandoverLink": {
24294
- "codebase": "default",
24295
- "cases": [
24296
- {
24297
- "case": "without_token",
25006
+ "case": "success_manager",
24298
25007
  "method": "POST",
24299
- "caller": "none",
25008
+ "caller": "register_user_manager",
24300
25009
  "params": {
24301
- "cashregisterId": "KASSE1",
24302
- "exportId": "DEP-2026-09-26-0001"
25010
+ "cashregisterId": "KASSE1"
24303
25011
  },
24304
25012
  "httpStatus": 200,
24305
25013
  "headers": {
@@ -24307,21 +25015,46 @@
24307
25015
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24308
25016
  },
24309
25017
  "response": {
24310
- "status": "error",
24311
- "message": "Ungültiger Request: Authorization key erwartet.",
25018
+ "status": "success",
25019
+ "message": "",
24312
25020
  "data": {
24313
- "code": "unauthorized"
24314
- },
24315
- "code": "unauthorized"
25021
+ "cashregisterId": "KASSE1",
25022
+ "product": {
25023
+ "name": "Kasseneck",
25024
+ "cloudBased": true
25025
+ },
25026
+ "manufacturer": {
25027
+ "name": "Post Now e.U.",
25028
+ "vatId": "ATU76279224"
25029
+ },
25030
+ "signature": {
25031
+ "provider": "a_trust",
25032
+ "serialHex": "11c6c7cd",
25033
+ "serialDecimal": "298239949",
25034
+ "holder": "UID ATU12345675",
25035
+ "issuer": "A-Trust Registrierkasse.CA",
25036
+ "validFrom": "2026-09-01T08:00:00.000Z",
25037
+ "validTo": "2031-09-01T08:00:00.000Z",
25038
+ "holderChecked": true,
25039
+ "testCard": false,
25040
+ "status": "active"
25041
+ },
25042
+ "closings": {
25043
+ "monthlyDay": 1,
25044
+ "monthlyTime": "00:05",
25045
+ "timeZone": "Europe/Vienna",
25046
+ "annualIsDecember": true
25047
+ },
25048
+ "contactEmail": "rksv@kasseneck.at"
25049
+ }
24316
25050
  }
24317
25051
  },
24318
25052
  {
24319
- "case": "cashier_no_manager",
25053
+ "case": "success_outage",
24320
25054
  "method": "POST",
24321
25055
  "caller": "register_user_cashier",
24322
25056
  "params": {
24323
- "cashregisterId": "KASSE1",
24324
- "exportId": "DEP-2026-09-26-0001"
25057
+ "cashregisterId": "KASSE1"
24325
25058
  },
24326
25059
  "httpStatus": 200,
24327
25060
  "headers": {
@@ -24329,21 +25062,47 @@
24329
25062
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24330
25063
  },
24331
25064
  "response": {
24332
- "status": "error",
24333
- "message": "Den Export für die Prüfung macht der Chef.",
25065
+ "status": "success",
25066
+ "message": "",
24334
25067
  "data": {
24335
- "code": "manager_only"
24336
- },
24337
- "code": "manager_only"
25068
+ "cashregisterId": "KASSE1",
25069
+ "product": {
25070
+ "name": "Kasseneck",
25071
+ "cloudBased": true
25072
+ },
25073
+ "manufacturer": {
25074
+ "name": "Post Now e.U.",
25075
+ "vatId": "ATU76279224"
25076
+ },
25077
+ "signature": {
25078
+ "provider": "a_trust",
25079
+ "serialHex": "11c6c7cd",
25080
+ "serialDecimal": "298239949",
25081
+ "holder": "UID ATU12345675",
25082
+ "issuer": "A-Trust Registrierkasse.CA",
25083
+ "validFrom": "2026-09-01T08:00:00.000Z",
25084
+ "validTo": "2031-09-01T08:00:00.000Z",
25085
+ "holderChecked": true,
25086
+ "testCard": false,
25087
+ "status": "outage",
25088
+ "outageSince": "2026-09-26T07:12:00.000Z"
25089
+ },
25090
+ "closings": {
25091
+ "monthlyDay": 1,
25092
+ "monthlyTime": "00:05",
25093
+ "timeZone": "Europe/Vienna",
25094
+ "annualIsDecember": true
25095
+ },
25096
+ "contactEmail": "rksv@kasseneck.at"
25097
+ }
24338
25098
  }
24339
25099
  },
24340
25100
  {
24341
- "case": "unknown",
25101
+ "case": "success_without_card",
24342
25102
  "method": "POST",
24343
- "caller": "register_user_manager",
25103
+ "caller": "register_user_cashier",
24344
25104
  "params": {
24345
- "cashregisterId": "KASSE1",
24346
- "exportId": "DEP-2026-09-26-0099"
25105
+ "cashregisterId": "KASSE1"
24347
25106
  },
24348
25107
  "httpStatus": 200,
24349
25108
  "headers": {
@@ -24351,34 +25110,72 @@
24351
25110
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24352
25111
  },
24353
25112
  "response": {
24354
- "status": "error",
24355
- "message": "Export nicht gefunden.",
25113
+ "status": "success",
25114
+ "message": "",
24356
25115
  "data": {
24357
- "code": "export_not_found"
24358
- },
24359
- "code": "export_not_found"
25116
+ "cashregisterId": "KASSE1",
25117
+ "product": {
25118
+ "name": "Kasseneck",
25119
+ "cloudBased": true
25120
+ },
25121
+ "manufacturer": {
25122
+ "name": "Post Now e.U.",
25123
+ "vatId": "ATU76279224"
25124
+ },
25125
+ "signature": null,
25126
+ "closings": {
25127
+ "monthlyDay": 1,
25128
+ "monthlyTime": "00:05",
25129
+ "timeZone": "Europe/Vienna",
25130
+ "annualIsDecember": true
25131
+ },
25132
+ "contactEmail": "rksv@kasseneck.at"
25133
+ }
24360
25134
  }
24361
25135
  },
24362
25136
  {
24363
- "case": "not_ready",
25137
+ "case": "success_device",
24364
25138
  "method": "POST",
24365
- "caller": "register_user_manager",
24366
- "params": {
24367
- "cashregisterId": "KASSE1",
24368
- "exportId": "DEP-2026-09-26-0002"
24369
- },
25139
+ "caller": "device_api_key",
25140
+ "params": {},
24370
25141
  "httpStatus": 200,
24371
25142
  "headers": {
24372
25143
  "Kasseneck-Api-Version": "v3",
24373
25144
  "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
24374
25145
  },
24375
25146
  "response": {
24376
- "status": "error",
24377
- "message": "Der Export wird noch erstellt.",
25147
+ "status": "success",
25148
+ "message": "",
24378
25149
  "data": {
24379
- "code": "export_not_ready"
24380
- },
24381
- "code": "export_not_ready"
25150
+ "cashregisterId": "KASSE1",
25151
+ "product": {
25152
+ "name": "Kasseneck",
25153
+ "cloudBased": true
25154
+ },
25155
+ "manufacturer": {
25156
+ "name": "Post Now e.U.",
25157
+ "vatId": "ATU76279224"
25158
+ },
25159
+ "signature": {
25160
+ "provider": "a_trust",
25161
+ "serialHex": "11c6c7cd",
25162
+ "serialDecimal": "298239949",
25163
+ "holder": "UID ATU12345675",
25164
+ "issuer": "A-Trust Registrierkasse.CA",
25165
+ "validFrom": "2026-09-01T08:00:00.000Z",
25166
+ "validTo": "2031-09-01T08:00:00.000Z",
25167
+ "holderChecked": true,
25168
+ "testCard": false,
25169
+ "status": "active"
25170
+ },
25171
+ "closings": {
25172
+ "monthlyDay": 1,
25173
+ "monthlyTime": "00:05",
25174
+ "timeZone": "Europe/Vienna",
25175
+ "annualIsDecember": true
25176
+ },
25177
+ "contactEmail": "rksv@kasseneck.at"
25178
+ }
24382
25179
  }
24383
25180
  },
24384
25181
  {
@@ -24404,16 +25201,26 @@
24404
25201
  }
24405
25202
  ]
24406
25203
  },
24407
- "revokeDepHandoverLink": {
24408
- "codebase": "default",
25204
+ "reportConnectState": {
25205
+ "codebase": "kasse",
24409
25206
  "cases": [
24410
25207
  {
24411
25208
  "case": "without_token",
24412
25209
  "method": "POST",
24413
25210
  "caller": "none",
24414
25211
  "params": {
24415
- "cashregisterId": "KASSE1",
24416
- "linkId": "kwLink0000000000000A"
25212
+ "deviceId": "dev_pin",
25213
+ "version": "1.4.0",
25214
+ "os": "macos",
25215
+ "osVersion": "26.5.1",
25216
+ "arch": "arm64",
25217
+ "features": [
25218
+ "bluetooth",
25219
+ "https",
25220
+ "update"
25221
+ ],
25222
+ "httpsTrusted": true,
25223
+ "bluetooth": "poweredOn"
24417
25224
  },
24418
25225
  "httpStatus": 200,
24419
25226
  "headers": {
@@ -24430,12 +25237,21 @@
24430
25237
  }
24431
25238
  },
24432
25239
  {
24433
- "case": "cashier_no_manager",
25240
+ "case": "data_missing",
24434
25241
  "method": "POST",
24435
25242
  "caller": "register_user_cashier",
24436
25243
  "params": {
24437
- "cashregisterId": "KASSE1",
24438
- "linkId": "kwLink0000000000000A"
25244
+ "version": "1.4.0",
25245
+ "os": "macos",
25246
+ "osVersion": "26.5.1",
25247
+ "arch": "arm64",
25248
+ "features": [
25249
+ "bluetooth",
25250
+ "https",
25251
+ "update"
25252
+ ],
25253
+ "httpsTrusted": true,
25254
+ "bluetooth": "poweredOn"
24439
25255
  },
24440
25256
  "httpStatus": 200,
24441
25257
  "headers": {
@@ -24444,20 +25260,36 @@
24444
25260
  },
24445
25261
  "response": {
24446
25262
  "status": "error",
24447
- "message": "Den Export für die Prüfung macht der Chef.",
25263
+ "message": "Ungültige Daten: Nicht alle erforderlichen Parameter wurden übergeben oder Typen stimmen nicht überein: deviceId",
24448
25264
  "data": {
24449
- "code": "manager_only"
25265
+ "code": "validation",
25266
+ "errors": [
25267
+ {
25268
+ "field": "deviceId",
25269
+ "message": "Pflichtfeld fehlt."
25270
+ }
25271
+ ]
24450
25272
  },
24451
- "code": "manager_only"
25273
+ "code": "validation"
24452
25274
  }
24453
25275
  },
24454
25276
  {
24455
- "case": "unknown",
25277
+ "case": "data_invalid",
24456
25278
  "method": "POST",
24457
- "caller": "register_user_manager",
25279
+ "caller": "register_user_cashier",
24458
25280
  "params": {
24459
- "cashregisterId": "KASSE1",
24460
- "linkId": "kwLink0000000000000Z"
25281
+ "deviceId": "dev_pin",
25282
+ "version": "1.4",
25283
+ "os": "macos",
25284
+ "osVersion": "26.5.1",
25285
+ "arch": "arm64",
25286
+ "features": [
25287
+ "bluetooth",
25288
+ "https",
25289
+ "update"
25290
+ ],
25291
+ "httpsTrusted": true,
25292
+ "bluetooth": "poweredOn"
24461
25293
  },
24462
25294
  "httpStatus": 200,
24463
25295
  "headers": {
@@ -24466,20 +25298,94 @@
24466
25298
  },
24467
25299
  "response": {
24468
25300
  "status": "error",
24469
- "message": "Link nicht gefunden.",
25301
+ "message": "Die Angaben zu Kasseneck Connect sind unvollständig.",
24470
25302
  "data": {
24471
- "code": "link_not_found"
25303
+ "code": "invalid_connect_report"
24472
25304
  },
24473
- "code": "link_not_found"
25305
+ "code": "invalid_connect_report"
24474
25306
  }
24475
25307
  },
24476
25308
  {
24477
- "case": "success_manager",
25309
+ "case": "device_unknown",
24478
25310
  "method": "POST",
24479
- "caller": "register_user_manager",
25311
+ "caller": "register_user_cashier",
24480
25312
  "params": {
24481
- "cashregisterId": "KASSE1",
24482
- "linkId": "kwLink0000000000000A"
25313
+ "deviceId": "dev_gibtsnicht",
25314
+ "version": "1.4.0",
25315
+ "os": "macos",
25316
+ "osVersion": "26.5.1",
25317
+ "arch": "arm64",
25318
+ "features": [
25319
+ "bluetooth",
25320
+ "https",
25321
+ "update"
25322
+ ],
25323
+ "httpsTrusted": true,
25324
+ "bluetooth": "poweredOn"
25325
+ },
25326
+ "httpStatus": 200,
25327
+ "headers": {
25328
+ "Kasseneck-Api-Version": "v3",
25329
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
25330
+ },
25331
+ "response": {
25332
+ "status": "error",
25333
+ "message": "Die Angaben zu Kasseneck Connect sind unvollständig.",
25334
+ "data": {
25335
+ "code": "invalid_connect_report"
25336
+ },
25337
+ "code": "invalid_connect_report"
25338
+ }
25339
+ },
25340
+ {
25341
+ "case": "foreign_cashregister",
25342
+ "method": "POST",
25343
+ "caller": "register_user_cashier",
25344
+ "params": {
25345
+ "deviceId": "dev_kasse3",
25346
+ "version": "1.4.0",
25347
+ "os": "macos",
25348
+ "osVersion": "26.5.1",
25349
+ "arch": "arm64",
25350
+ "features": [
25351
+ "bluetooth",
25352
+ "https",
25353
+ "update"
25354
+ ],
25355
+ "httpsTrusted": true,
25356
+ "bluetooth": "poweredOn"
25357
+ },
25358
+ "httpStatus": 200,
25359
+ "headers": {
25360
+ "Kasseneck-Api-Version": "v3",
25361
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
25362
+ },
25363
+ "response": {
25364
+ "status": "error",
25365
+ "message": "Diese Kasse ist dem Benutzer nicht zugewiesen.",
25366
+ "data": {
25367
+ "code": "cashregister_not_assigned"
25368
+ },
25369
+ "code": "cashregister_not_assigned"
25370
+ }
25371
+ },
25372
+ {
25373
+ "case": "success_cashier",
25374
+ "method": "POST",
25375
+ "caller": "register_user_cashier",
25376
+ "params": {
25377
+ "deviceId": "dev_pin",
25378
+ "version": "1.4.0",
25379
+ "os": "macos",
25380
+ "osVersion": "26.5.1",
25381
+ "arch": "arm64",
25382
+ "features": [
25383
+ "bluetooth",
25384
+ "https",
25385
+ "update"
25386
+ ],
25387
+ "httpsTrusted": true,
25388
+ "bluetooth": "poweredOn"
24483
25389
  },
24484
25390
  "httpStatus": 200,
24485
25391
  "headers": {
@@ -24489,18 +25395,17 @@
24489
25395
  "response": {
24490
25396
  "status": "success",
24491
25397
  "message": "",
24492
- "data": {
24493
- "linkId": "kwLink0000000000000A",
24494
- "revokedAt": "2026-09-26T08:00:00.000Z"
24495
- }
25398
+ "data": {}
24496
25399
  }
24497
25400
  },
24498
25401
  {
24499
- "case": "success_device",
25402
+ "case": "success_old",
24500
25403
  "method": "POST",
24501
- "caller": "device_api_key",
25404
+ "caller": "register_user_manager",
24502
25405
  "params": {
24503
- "linkId": "kwLink0000000000000A"
25406
+ "deviceId": "dev_pin",
25407
+ "version": "1.3.0",
25408
+ "os": "macos"
24504
25409
  },
24505
25410
  "httpStatus": 200,
24506
25411
  "headers": {
@@ -24510,10 +25415,7 @@
24510
25415
  "response": {
24511
25416
  "status": "success",
24512
25417
  "message": "",
24513
- "data": {
24514
- "linkId": "kwLink0000000000000A",
24515
- "revokedAt": "2026-09-26T08:00:00.000Z"
24516
- }
25418
+ "data": {}
24517
25419
  }
24518
25420
  },
24519
25421
  {