@kreiseck/kasseneck-api 1.7.1 → 1.8.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 (113) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/README.md +170 -1
  3. package/dist/cjs/client/aufrufe.d.ts +9 -7
  4. package/dist/cjs/client/aufrufe.js +57 -2
  5. package/dist/cjs/client/errors.js +2 -0
  6. package/dist/cjs/client/index.d.ts +1 -1
  7. package/dist/cjs/client/index.js +2 -1
  8. package/dist/cjs/client/transport.d.ts +27 -3
  9. package/dist/cjs/client/transport.js +29 -3
  10. package/dist/cjs/index.d.ts +1 -1
  11. package/dist/cjs/index.js +3 -2
  12. package/dist/cjs/inventory/api.d.ts +21 -2
  13. package/dist/cjs/inventory/api.js +22 -3
  14. package/dist/cjs/inventory/fehler.d.ts +6 -0
  15. package/dist/cjs/inventory/fehler.js +12 -0
  16. package/dist/cjs/inventory/index.d.ts +6 -4
  17. package/dist/cjs/inventory/index.js +33 -3
  18. package/dist/cjs/inventory/inventur.d.ts +104 -0
  19. package/dist/cjs/inventory/inventur.js +245 -0
  20. package/dist/cjs/inventory/lesen.d.ts +20 -1
  21. package/dist/cjs/inventory/lesen.js +307 -0
  22. package/dist/cjs/inventory/typen.d.ts +410 -1
  23. package/dist/cjs/inventory/vertrag.d.ts +94 -8
  24. package/dist/cjs/inventory/vertrag.js +117 -5
  25. package/dist/cjs/invoice/vertrag.d.ts +1 -1
  26. package/dist/cjs/invoice/vertrag.js +2 -0
  27. package/dist/cjs/models/cancellation.d.ts +1 -1
  28. package/dist/cjs/models/cancellation.js +2 -0
  29. package/dist/cjs/models/payment-errors.d.ts +1 -1
  30. package/dist/cjs/models/payment-errors.js +2 -0
  31. package/dist/cjs/models/receipt-email.d.ts +1 -1
  32. package/dist/cjs/models/receipt-email.js +2 -0
  33. package/dist/cjs/models/receipt-errors.d.ts +1 -1
  34. package/dist/cjs/models/receipt-errors.js +2 -0
  35. package/dist/cjs/pos/errors.d.ts +4 -3
  36. package/dist/cjs/pos/errors.js +23 -2
  37. package/dist/cjs/pos/index.d.ts +4 -1
  38. package/dist/cjs/pos/index.js +9 -2
  39. package/dist/cjs/pos/inventur.d.ts +104 -0
  40. package/dist/cjs/pos/inventur.js +117 -0
  41. package/dist/cjs/pos/texte.d.ts +82 -0
  42. package/dist/cjs/pos/texte.js +35 -0
  43. package/dist/cjs/register/errors.d.ts +1 -1
  44. package/dist/cjs/register/errors.js +2 -0
  45. package/dist/cjs/stored/vokabular.d.ts +1 -1
  46. package/dist/cjs/stored/vokabular.js +1 -1
  47. package/dist/cjs/version.d.ts +1 -1
  48. package/dist/cjs/version.js +1 -1
  49. package/dist/esm/client/aufrufe.d.ts +9 -7
  50. package/dist/esm/client/aufrufe.js +57 -2
  51. package/dist/esm/client/errors.js +2 -0
  52. package/dist/esm/client/index.d.ts +1 -1
  53. package/dist/esm/client/index.js +1 -1
  54. package/dist/esm/client/transport.d.ts +27 -3
  55. package/dist/esm/client/transport.js +28 -3
  56. package/dist/esm/index.d.ts +1 -1
  57. package/dist/esm/index.js +1 -1
  58. package/dist/esm/inventory/api.d.ts +21 -2
  59. package/dist/esm/inventory/api.js +23 -4
  60. package/dist/esm/inventory/fehler.d.ts +6 -0
  61. package/dist/esm/inventory/fehler.js +11 -0
  62. package/dist/esm/inventory/index.d.ts +6 -4
  63. package/dist/esm/inventory/index.js +5 -3
  64. package/dist/esm/inventory/inventur.d.ts +104 -0
  65. package/dist/esm/inventory/inventur.js +226 -0
  66. package/dist/esm/inventory/lesen.d.ts +20 -1
  67. package/dist/esm/inventory/lesen.js +301 -0
  68. package/dist/esm/inventory/typen.d.ts +410 -1
  69. package/dist/esm/inventory/vertrag.d.ts +94 -8
  70. package/dist/esm/inventory/vertrag.js +116 -4
  71. package/dist/esm/invoice/vertrag.d.ts +1 -1
  72. package/dist/esm/invoice/vertrag.js +2 -0
  73. package/dist/esm/models/cancellation.d.ts +1 -1
  74. package/dist/esm/models/cancellation.js +2 -0
  75. package/dist/esm/models/payment-errors.d.ts +1 -1
  76. package/dist/esm/models/payment-errors.js +2 -0
  77. package/dist/esm/models/receipt-email.d.ts +1 -1
  78. package/dist/esm/models/receipt-email.js +2 -0
  79. package/dist/esm/models/receipt-errors.d.ts +1 -1
  80. package/dist/esm/models/receipt-errors.js +2 -0
  81. package/dist/esm/pos/errors.d.ts +4 -3
  82. package/dist/esm/pos/errors.js +23 -2
  83. package/dist/esm/pos/index.d.ts +4 -1
  84. package/dist/esm/pos/index.js +2 -1
  85. package/dist/esm/pos/inventur.d.ts +104 -0
  86. package/dist/esm/pos/inventur.js +109 -0
  87. package/dist/esm/pos/texte.d.ts +82 -0
  88. package/dist/esm/pos/texte.js +35 -0
  89. package/dist/esm/register/errors.d.ts +1 -1
  90. package/dist/esm/register/errors.js +2 -0
  91. package/dist/esm/stored/vokabular.d.ts +1 -1
  92. package/dist/esm/stored/vokabular.js +1 -1
  93. package/dist/esm/version.d.ts +1 -1
  94. package/dist/esm/version.js +1 -1
  95. package/fixtures/hobex-hps-codes.json +1 -1
  96. package/fixtures/invoice-api.schema.json +1 -1
  97. package/fixtures/invoice-texts.json +1 -1
  98. package/fixtures/pos-texts.json +94 -1
  99. package/fixtures/stocktake-quantity-cases.json +55 -0
  100. package/fixtures/surface.json +151 -8
  101. package/fixtures/v3/antworten/belege.json +1 -1
  102. package/fixtures/v3/antworten/belegmail.json +1 -1
  103. package/fixtures/v3/antworten/kasse-belege.json +1 -1
  104. package/fixtures/v3/antworten/kasse.json +2958 -3
  105. package/fixtures/v3/antworten/lager.json +1727 -3
  106. package/fixtures/v3/antworten/rechnungen.json +1 -1
  107. package/fixtures/v3/antworten/storno.json +1 -1
  108. package/fixtures/v3/stored/belege.json +1 -1
  109. package/fixtures/v3/stored/kasse.json +414 -3
  110. package/fixtures/v3/stored/rechnungen.json +1 -1
  111. package/fixtures/v3/v3-vokabular.json +475 -8
  112. package/fixtures/v3/zahlbetrag-faelle.json +1 -1
  113. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_hinweis": "Vertrags-Export /v3, erzeugt aus den echten Handlern (npm run vertrag:v3 in functions/ und functions-kasse/). Nicht von Hand pflegen.",
3
3
  "_quelle": {
4
- "sha256": "30e5f918ffb3159f5e61c1d9e59ec63a40638a3199d39ad7aef25679bc56acda",
5
- "inputsSha256": "20183eb847a12a9a3187e7c03945bb4e99e88086837c4ebf45f98624f81392f4",
4
+ "sha256": "6d19c6313438a44d5f522bcaf248de293c6e285dd891185a773e05e9eef6f45b",
5
+ "inputsSha256": "f6dd257643c081fd17a613b3ca2ef1b2963c73ac3e2c07d6c2e9d71259576e68",
6
6
  "backendPackage": "@kreiseck/kasseneck-api@0.14.0",
7
7
  "inputs": [
8
8
  "functions-kasse/article-endpoints.js",
@@ -10,6 +10,10 @@
10
10
  "functions-kasse/gemeinsam/api-rand.js",
11
11
  "functions-kasse/gemeinsam/api-vokabular-v3.js",
12
12
  "functions-kasse/gemeinsam/webhook-versand.js",
13
+ "functions-kasse/inventur-core.js",
14
+ "functions-kasse/inventur-daten.js",
15
+ "functions-kasse/inventur-endpoints.js",
16
+ "functions-kasse/inventur-lauf.js",
13
17
  "functions-kasse/konto-webhook-core.js",
14
18
  "functions-kasse/lager-api-artikel.js",
15
19
  "functions-kasse/lager-api-buchen.js",
@@ -17,11 +21,13 @@
17
21
  "functions-kasse/lager-api-endpoints.js",
18
22
  "functions-kasse/lager-api-ereignisse.js",
19
23
  "functions-kasse/lager-api-idempotenz.js",
24
+ "functions-kasse/lager-api-inventur.js",
20
25
  "functions-kasse/lager-api-reservierung.js",
21
26
  "functions-kasse/lager-api-varianten.js",
22
27
  "functions-kasse/lager-buchung.js",
23
28
  "functions-kasse/lager-core.js",
24
29
  "functions-kasse/lager-endpoints.js",
30
+ "functions-kasse/lager-laeufe.js",
25
31
  "functions-kasse/lager-reservierung-core.js",
26
32
  "functions-kasse/lager-reservierung.js",
27
33
  "functions-kasse/lager-trigger.js",
@@ -34,7 +40,7 @@
34
40
  ]
35
41
  },
36
42
  "channel": "api",
37
- "note": "Lager-API (Stufe 5a, Artikel schreiben, Buchen und Reservierung 5b, Variantengruppen 5c) unter /v3: Faelle in Ablaufreihenfolge (ein Konto, Standort haupt); Variantengruppen antworten mit variantGroup (Merkmale, Vorgaben, Varianten mit articleId und variantAttributes; Wiederholung = gespeicherte Antwort), jede Variante ist ein Artikel (addVariant antwortet wie createArticle, listArticles { variantGroupId } liest sie), Stilllegen der Gruppe legt alle Varianten still und meldet variant_group.updated; Reservierungen antworten mit reservation (wie getReservation; Wiederholung = gespeicherte Antwort), laufen ueber einen Auftrag zum Ablaufzeitpunkt ab (Verlaengern ersetzt ihn), werden ueber issueInvoice (items[].reservationId) beim Buchen der Rechnung eingeloest und melden reservation.expired/released/redeemed; Buchungen antworten mit operationId, movementIds, lotIds und warnings[] (Hinweise aus warningCodes.inventory, kein Fehler); Preise duerfen ohne Schalter kosten gesendet werden, Werte kommen nur mit ihm zurueck; Mindestbestand je Standort = minStockByLocation (Tausendstel, Schwelle fuer below_minimum, gemessen an available = onHand − reserved), minStock ist ein Altfeld ohne Wirkung darauf; dazu webhookEvents = zugestellte Konto-Webhooks (Huelle wie gesendet, ohne Probesendungen). Secrets als Platzhalter.",
43
+ "note": "Lager-API (Stufe 5a, Artikel schreiben, Buchen und Reservierung 5b, Variantengruppen 5c, Inventur Lager-Kern Stufe 3) unter /v3: Faelle in Ablaufreihenfolge (ein Konto, Standort haupt); Inventuren antworten mit stocktake (Kopf), item (Position) und count (Zaehlung): blind, solange counting (kein expected*/difference*), Soll, Differenz und notBooked ab review, Werte nur mit Schalter kosten, Wiederholung = gespeicherte erste Antwort (Zaehlen: Schluessel je Inventur), Pruefen und Abschliessen laufen im Hintergrund (review.complete, closing.parts/bookedParts), der Abschluss bucht Bewegungen type stocktake (stock.changed mit cause stocktake), getStocktakePdf liefert application/pdf, ueber 9 MB JSON download mit signiertem Link (15 Minuten; im Export mit kleiner Grenze, PDF als Platzhalter); Variantengruppen antworten mit variantGroup (Merkmale, Vorgaben, Varianten mit articleId und variantAttributes; Wiederholung = gespeicherte Antwort), jede Variante ist ein Artikel (addVariant antwortet wie createArticle, listArticles { variantGroupId } liest sie), Stilllegen der Gruppe legt alle Varianten still und meldet variant_group.updated; Reservierungen antworten mit reservation (wie getReservation; Wiederholung = gespeicherte Antwort), laufen ueber einen Auftrag zum Ablaufzeitpunkt ab (Verlaengern ersetzt ihn), werden ueber issueInvoice (items[].reservationId) beim Buchen der Rechnung eingeloest und melden reservation.expired/released/redeemed; Buchungen antworten mit operationId, movementIds, lotIds und warnings[] (Hinweise aus warningCodes.inventory, kein Fehler); Preise duerfen ohne Schalter kosten gesendet werden, Werte kommen nur mit ihm zurueck; Mindestbestand je Standort = minStockByLocation (Tausendstel, Schwelle fuer below_minimum, gemessen an available = onHand − reserved), minStock ist ein Altfeld ohne Wirkung darauf; dazu webhookEvents = zugestellte Konto-Webhooks (Huelle wie gesendet, ohne Probesendungen). Secrets als Platzhalter.",
38
44
  "cases": [
39
45
  {
40
46
  "channel": "api",
@@ -5679,6 +5685,1703 @@
5679
5685
  "nextCursor": "eyJ6ZWl0IjoxNzkxMjczNzYxMDAwMDAwLCJpZCI6ImF1dG82NCJ9"
5680
5686
  }
5681
5687
  }
5688
+ },
5689
+ {
5690
+ "channel": "api",
5691
+ "name": "create_stocktake",
5692
+ "endpoint": "createStocktake",
5693
+ "path": "/v3/createStocktake",
5694
+ "params": {
5695
+ "idempotencyKey": "shop-inventur-lw-1",
5696
+ "name": "Inventur Lieferwagen Oktober",
5697
+ "locationId": "lieferwagen",
5698
+ "scope": {
5699
+ "type": "groups",
5700
+ "groupIds": [
5701
+ "gebaeck"
5702
+ ]
5703
+ },
5704
+ "type": "key_date",
5705
+ "keyDate": "2026-10-31"
5706
+ },
5707
+ "httpStatus": 200,
5708
+ "headers": {
5709
+ "Kasseneck-Api-Version": "v3",
5710
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
5711
+ },
5712
+ "response": {
5713
+ "status": "success",
5714
+ "message": "",
5715
+ "data": {
5716
+ "stocktake": {
5717
+ "id": "auto78",
5718
+ "name": "Inventur Lieferwagen Oktober",
5719
+ "locationId": "lieferwagen",
5720
+ "scope": {
5721
+ "type": "groups",
5722
+ "groupIds": [
5723
+ "gebaeck"
5724
+ ],
5725
+ "articleIds": []
5726
+ },
5727
+ "type": "key_date",
5728
+ "keyDate": "2026-10-31",
5729
+ "blind": true,
5730
+ "status": "counting",
5731
+ "progress": {
5732
+ "items": 1,
5733
+ "recountOpen": false
5734
+ },
5735
+ "createdAt": "2026-10-06T08:03:04.000Z",
5736
+ "createdBy": {
5737
+ "type": "api",
5738
+ "id": "kornblum",
5739
+ "name": null
5740
+ },
5741
+ "source": "api",
5742
+ "updatedAt": "2026-10-06T08:03:06.000Z",
5743
+ "review": null,
5744
+ "closing": null,
5745
+ "cancellation": null
5746
+ }
5747
+ }
5748
+ }
5749
+ },
5750
+ {
5751
+ "channel": "api",
5752
+ "name": "create_stocktake_replayed",
5753
+ "endpoint": "createStocktake",
5754
+ "path": "/v3/createStocktake",
5755
+ "params": {
5756
+ "idempotencyKey": "shop-inventur-lw-1",
5757
+ "name": "Inventur Lieferwagen Oktober",
5758
+ "locationId": "lieferwagen",
5759
+ "scope": {
5760
+ "type": "groups",
5761
+ "groupIds": [
5762
+ "gebaeck"
5763
+ ]
5764
+ },
5765
+ "type": "key_date",
5766
+ "keyDate": "2026-10-31"
5767
+ },
5768
+ "httpStatus": 200,
5769
+ "headers": {
5770
+ "Kasseneck-Api-Version": "v3",
5771
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
5772
+ },
5773
+ "response": {
5774
+ "status": "success",
5775
+ "message": "",
5776
+ "data": {
5777
+ "stocktake": {
5778
+ "id": "auto78",
5779
+ "name": "Inventur Lieferwagen Oktober",
5780
+ "locationId": "lieferwagen",
5781
+ "scope": {
5782
+ "type": "groups",
5783
+ "groupIds": [
5784
+ "gebaeck"
5785
+ ],
5786
+ "articleIds": []
5787
+ },
5788
+ "type": "key_date",
5789
+ "keyDate": "2026-10-31",
5790
+ "blind": true,
5791
+ "status": "counting",
5792
+ "progress": {
5793
+ "items": 1,
5794
+ "recountOpen": false
5795
+ },
5796
+ "createdAt": "2026-10-06T08:03:04.000Z",
5797
+ "createdBy": {
5798
+ "type": "api",
5799
+ "id": "kornblum",
5800
+ "name": null
5801
+ },
5802
+ "source": "api",
5803
+ "updatedAt": "2026-10-06T08:03:06.000Z",
5804
+ "review": null,
5805
+ "closing": null,
5806
+ "cancellation": null
5807
+ }
5808
+ }
5809
+ }
5810
+ },
5811
+ {
5812
+ "channel": "api",
5813
+ "name": "error_create_stocktake_location_busy",
5814
+ "endpoint": "createStocktake",
5815
+ "path": "/v3/createStocktake",
5816
+ "params": {
5817
+ "idempotencyKey": "shop-inventur-lw-2",
5818
+ "name": "Inventur Lieferwagen Oktober",
5819
+ "locationId": "lieferwagen",
5820
+ "scope": {
5821
+ "type": "groups",
5822
+ "groupIds": [
5823
+ "gebaeck"
5824
+ ]
5825
+ },
5826
+ "type": "key_date",
5827
+ "keyDate": "2026-10-31"
5828
+ },
5829
+ "httpStatus": 200,
5830
+ "headers": {
5831
+ "Kasseneck-Api-Version": "v3",
5832
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
5833
+ },
5834
+ "response": {
5835
+ "status": "error",
5836
+ "message": "An diesem Standort läuft schon eine Inventur.",
5837
+ "data": {
5838
+ "code": "stocktake_location_busy",
5839
+ "stocktakeId": "auto78"
5840
+ },
5841
+ "code": "stocktake_location_busy"
5842
+ }
5843
+ },
5844
+ {
5845
+ "channel": "api",
5846
+ "name": "record_stocktake_count",
5847
+ "endpoint": "recordStocktakeCount",
5848
+ "path": "/v3/recordStocktakeCount",
5849
+ "params": {
5850
+ "idempotencyKey": "shop-zaehlung-1",
5851
+ "stocktakeId": "auto78",
5852
+ "articleId": "kipferl",
5853
+ "quantity": 12000,
5854
+ "note": "Kiste vorne"
5855
+ },
5856
+ "httpStatus": 200,
5857
+ "headers": {
5858
+ "Kasseneck-Api-Version": "v3",
5859
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
5860
+ },
5861
+ "response": {
5862
+ "status": "success",
5863
+ "message": "",
5864
+ "data": {
5865
+ "count": {
5866
+ "id": "1e4df2db3f4543a42e292a75f390f7b4d6936099a7240184846a6b032a3e6b98",
5867
+ "articleId": "kipferl",
5868
+ "condition": "sellable",
5869
+ "quantity": 12000,
5870
+ "serialNumbers": [],
5871
+ "round": 1,
5872
+ "countedBy": {
5873
+ "type": "api",
5874
+ "id": "kornblum",
5875
+ "name": null
5876
+ },
5877
+ "source": "api",
5878
+ "cashregisterId": null,
5879
+ "countedAt": "2026-10-06T08:03:11.000Z",
5880
+ "note": "Kiste vorne",
5881
+ "voided": null
5882
+ },
5883
+ "item": {
5884
+ "articleId": "kipferl",
5885
+ "condition": "sellable",
5886
+ "name": "Butterkipferl",
5887
+ "number": "A-200",
5888
+ "unit": "Stk",
5889
+ "round": 1,
5890
+ "counted": true,
5891
+ "quantity": 12000,
5892
+ "counts": 1,
5893
+ "firstCountedAt": "2026-10-06T08:03:11.000Z",
5894
+ "referenceTime": "2026-10-06T08:03:11.000Z",
5895
+ "countedBy": [
5896
+ {
5897
+ "type": "api",
5898
+ "id": "kornblum",
5899
+ "name": null
5900
+ }
5901
+ ],
5902
+ "recountRequested": false,
5903
+ "addedLater": false
5904
+ }
5905
+ }
5906
+ }
5907
+ },
5908
+ {
5909
+ "channel": "api",
5910
+ "name": "record_stocktake_count_replayed",
5911
+ "endpoint": "recordStocktakeCount",
5912
+ "path": "/v3/recordStocktakeCount",
5913
+ "params": {
5914
+ "idempotencyKey": "shop-zaehlung-1",
5915
+ "stocktakeId": "auto78",
5916
+ "articleId": "kipferl",
5917
+ "quantity": 12000,
5918
+ "note": "Kiste vorne"
5919
+ },
5920
+ "httpStatus": 200,
5921
+ "headers": {
5922
+ "Kasseneck-Api-Version": "v3",
5923
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
5924
+ },
5925
+ "response": {
5926
+ "status": "success",
5927
+ "message": "",
5928
+ "data": {
5929
+ "count": {
5930
+ "id": "1e4df2db3f4543a42e292a75f390f7b4d6936099a7240184846a6b032a3e6b98",
5931
+ "articleId": "kipferl",
5932
+ "condition": "sellable",
5933
+ "quantity": 12000,
5934
+ "serialNumbers": [],
5935
+ "round": 1,
5936
+ "countedBy": {
5937
+ "type": "api",
5938
+ "id": "kornblum",
5939
+ "name": null
5940
+ },
5941
+ "source": "api",
5942
+ "cashregisterId": null,
5943
+ "countedAt": "2026-10-06T08:03:11.000Z",
5944
+ "note": "Kiste vorne",
5945
+ "voided": null
5946
+ },
5947
+ "item": {
5948
+ "articleId": "kipferl",
5949
+ "condition": "sellable",
5950
+ "name": "Butterkipferl",
5951
+ "number": "A-200",
5952
+ "unit": "Stk",
5953
+ "round": 1,
5954
+ "counted": true,
5955
+ "quantity": 12000,
5956
+ "counts": 1,
5957
+ "firstCountedAt": "2026-10-06T08:03:11.000Z",
5958
+ "referenceTime": "2026-10-06T08:03:11.000Z",
5959
+ "countedBy": [
5960
+ {
5961
+ "type": "api",
5962
+ "id": "kornblum",
5963
+ "name": null
5964
+ }
5965
+ ],
5966
+ "recountRequested": false,
5967
+ "addedLater": false
5968
+ }
5969
+ }
5970
+ }
5971
+ },
5972
+ {
5973
+ "channel": "api",
5974
+ "name": "record_stocktake_count_second",
5975
+ "endpoint": "recordStocktakeCount",
5976
+ "path": "/v3/recordStocktakeCount",
5977
+ "params": {
5978
+ "idempotencyKey": "shop-zaehlung-2",
5979
+ "stocktakeId": "auto78",
5980
+ "articleId": "kipferl",
5981
+ "quantity": 9000,
5982
+ "note": "Kiste hinten"
5983
+ },
5984
+ "httpStatus": 200,
5985
+ "headers": {
5986
+ "Kasseneck-Api-Version": "v3",
5987
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
5988
+ },
5989
+ "response": {
5990
+ "status": "success",
5991
+ "message": "",
5992
+ "data": {
5993
+ "count": {
5994
+ "id": "c4bcbef939611668aec06aeda0ccb5ffec860093571702e7f569aa9a26f49b8d",
5995
+ "articleId": "kipferl",
5996
+ "condition": "sellable",
5997
+ "quantity": 9000,
5998
+ "serialNumbers": [],
5999
+ "round": 1,
6000
+ "countedBy": {
6001
+ "type": "api",
6002
+ "id": "kornblum",
6003
+ "name": null
6004
+ },
6005
+ "source": "api",
6006
+ "cashregisterId": null,
6007
+ "countedAt": "2026-10-06T08:03:14.000Z",
6008
+ "note": "Kiste hinten",
6009
+ "voided": null
6010
+ },
6011
+ "item": {
6012
+ "articleId": "kipferl",
6013
+ "condition": "sellable",
6014
+ "name": "Butterkipferl",
6015
+ "number": "A-200",
6016
+ "unit": "Stk",
6017
+ "round": 1,
6018
+ "counted": true,
6019
+ "quantity": 21000,
6020
+ "counts": 2,
6021
+ "firstCountedAt": "2026-10-06T08:03:11.000Z",
6022
+ "referenceTime": "2026-10-06T08:03:14.000Z",
6023
+ "countedBy": [
6024
+ {
6025
+ "type": "api",
6026
+ "id": "kornblum",
6027
+ "name": null
6028
+ }
6029
+ ],
6030
+ "recountRequested": false,
6031
+ "addedLater": false
6032
+ }
6033
+ }
6034
+ }
6035
+ },
6036
+ {
6037
+ "channel": "api",
6038
+ "name": "void_stocktake_count",
6039
+ "endpoint": "voidStocktakeCount",
6040
+ "path": "/v3/voidStocktakeCount",
6041
+ "params": {
6042
+ "idempotencyKey": "shop-zaehlung-2-storno",
6043
+ "stocktakeId": "auto78",
6044
+ "countId": "c4bcbef939611668aec06aeda0ccb5ffec860093571702e7f569aa9a26f49b8d",
6045
+ "reason": "Kiste doppelt gezählt"
6046
+ },
6047
+ "httpStatus": 200,
6048
+ "headers": {
6049
+ "Kasseneck-Api-Version": "v3",
6050
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6051
+ },
6052
+ "response": {
6053
+ "status": "success",
6054
+ "message": "",
6055
+ "data": {
6056
+ "count": {
6057
+ "id": "c4bcbef939611668aec06aeda0ccb5ffec860093571702e7f569aa9a26f49b8d",
6058
+ "articleId": "kipferl",
6059
+ "condition": "sellable",
6060
+ "quantity": 9000,
6061
+ "serialNumbers": [],
6062
+ "round": 1,
6063
+ "countedBy": {
6064
+ "type": "api",
6065
+ "id": "kornblum",
6066
+ "name": null
6067
+ },
6068
+ "source": "api",
6069
+ "cashregisterId": null,
6070
+ "countedAt": "2026-10-06T08:03:14.000Z",
6071
+ "note": "Kiste hinten",
6072
+ "voided": {
6073
+ "reason": "Kiste doppelt gezählt",
6074
+ "voidedAt": "2026-10-06T08:03:16.000Z",
6075
+ "voidedBy": {
6076
+ "type": "api",
6077
+ "id": "kornblum",
6078
+ "name": null
6079
+ }
6080
+ }
6081
+ },
6082
+ "item": {
6083
+ "articleId": "kipferl",
6084
+ "condition": "sellable",
6085
+ "name": "Butterkipferl",
6086
+ "number": "A-200",
6087
+ "unit": "Stk",
6088
+ "round": 1,
6089
+ "counted": true,
6090
+ "quantity": 12000,
6091
+ "counts": 1,
6092
+ "firstCountedAt": "2026-10-06T08:03:11.000Z",
6093
+ "referenceTime": "2026-10-06T08:03:11.000Z",
6094
+ "countedBy": [
6095
+ {
6096
+ "type": "api",
6097
+ "id": "kornblum",
6098
+ "name": null
6099
+ }
6100
+ ],
6101
+ "recountRequested": false,
6102
+ "addedLater": false
6103
+ }
6104
+ }
6105
+ }
6106
+ },
6107
+ {
6108
+ "channel": "api",
6109
+ "name": "error_record_stocktake_count_not_in_scope",
6110
+ "endpoint": "recordStocktakeCount",
6111
+ "path": "/v3/recordStocktakeCount",
6112
+ "params": {
6113
+ "idempotencyKey": "shop-zaehlung-3",
6114
+ "stocktakeId": "auto78",
6115
+ "articleId": "roggenbrot",
6116
+ "quantity": 1000
6117
+ },
6118
+ "httpStatus": 200,
6119
+ "headers": {
6120
+ "Kasseneck-Api-Version": "v3",
6121
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6122
+ },
6123
+ "response": {
6124
+ "status": "error",
6125
+ "message": "Der Artikel gehört nicht zu dieser Inventur.",
6126
+ "data": {
6127
+ "code": "article_not_in_scope"
6128
+ },
6129
+ "code": "article_not_in_scope"
6130
+ }
6131
+ },
6132
+ {
6133
+ "channel": "api",
6134
+ "name": "get_stocktake_counting",
6135
+ "endpoint": "getStocktake",
6136
+ "path": "/v3/getStocktake",
6137
+ "params": {
6138
+ "stocktakeId": "auto78"
6139
+ },
6140
+ "httpStatus": 200,
6141
+ "headers": {
6142
+ "Kasseneck-Api-Version": "v3",
6143
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6144
+ },
6145
+ "response": {
6146
+ "status": "success",
6147
+ "message": "",
6148
+ "data": {
6149
+ "stocktake": {
6150
+ "id": "auto78",
6151
+ "name": "Inventur Lieferwagen Oktober",
6152
+ "locationId": "lieferwagen",
6153
+ "scope": {
6154
+ "type": "groups",
6155
+ "groupIds": [
6156
+ "gebaeck"
6157
+ ],
6158
+ "articleIds": []
6159
+ },
6160
+ "type": "key_date",
6161
+ "keyDate": "2026-10-31",
6162
+ "blind": true,
6163
+ "status": "counting",
6164
+ "progress": {
6165
+ "items": 1,
6166
+ "counted": 1,
6167
+ "recountOpen": false
6168
+ },
6169
+ "createdAt": "2026-10-06T08:03:04.000Z",
6170
+ "createdBy": {
6171
+ "type": "api",
6172
+ "id": "kornblum",
6173
+ "name": null
6174
+ },
6175
+ "source": "api",
6176
+ "updatedAt": "2026-10-06T08:03:06.000Z",
6177
+ "review": null,
6178
+ "closing": null,
6179
+ "cancellation": null
6180
+ }
6181
+ }
6182
+ }
6183
+ },
6184
+ {
6185
+ "channel": "api",
6186
+ "name": "list_stocktakes",
6187
+ "endpoint": "listStocktakes",
6188
+ "path": "/v3/listStocktakes",
6189
+ "params": {},
6190
+ "httpStatus": 200,
6191
+ "headers": {
6192
+ "Kasseneck-Api-Version": "v3",
6193
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6194
+ },
6195
+ "response": {
6196
+ "status": "success",
6197
+ "message": "",
6198
+ "data": {
6199
+ "stocktakes": [
6200
+ {
6201
+ "id": "auto78",
6202
+ "name": "Inventur Lieferwagen Oktober",
6203
+ "locationId": "lieferwagen",
6204
+ "scope": {
6205
+ "type": "groups",
6206
+ "groupIds": [
6207
+ "gebaeck"
6208
+ ],
6209
+ "articleIds": []
6210
+ },
6211
+ "type": "key_date",
6212
+ "keyDate": "2026-10-31",
6213
+ "blind": true,
6214
+ "status": "counting",
6215
+ "progress": {
6216
+ "items": 1,
6217
+ "recountOpen": false
6218
+ },
6219
+ "createdAt": "2026-10-06T08:03:04.000Z",
6220
+ "createdBy": {
6221
+ "type": "api",
6222
+ "id": "kornblum",
6223
+ "name": null
6224
+ },
6225
+ "source": "api",
6226
+ "updatedAt": "2026-10-06T08:03:06.000Z",
6227
+ "review": null,
6228
+ "closing": null,
6229
+ "cancellation": null
6230
+ }
6231
+ ],
6232
+ "nextCursor": null
6233
+ }
6234
+ }
6235
+ },
6236
+ {
6237
+ "channel": "api",
6238
+ "name": "list_stocktake_items_counting",
6239
+ "endpoint": "listStocktakeItems",
6240
+ "path": "/v3/listStocktakeItems",
6241
+ "params": {
6242
+ "stocktakeId": "auto78"
6243
+ },
6244
+ "httpStatus": 200,
6245
+ "headers": {
6246
+ "Kasseneck-Api-Version": "v3",
6247
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6248
+ },
6249
+ "response": {
6250
+ "status": "success",
6251
+ "message": "",
6252
+ "data": {
6253
+ "items": [
6254
+ {
6255
+ "articleId": "kipferl",
6256
+ "condition": "sellable",
6257
+ "name": "Butterkipferl",
6258
+ "number": "A-200",
6259
+ "unit": "Stk",
6260
+ "round": 1,
6261
+ "counted": true,
6262
+ "quantity": 12000,
6263
+ "counts": 1,
6264
+ "firstCountedAt": "2026-10-06T08:03:11.000Z",
6265
+ "referenceTime": "2026-10-06T08:03:11.000Z",
6266
+ "countedBy": [
6267
+ {
6268
+ "type": "api",
6269
+ "id": "kornblum",
6270
+ "name": null
6271
+ }
6272
+ ],
6273
+ "serialNumbers": [],
6274
+ "recountRequested": false,
6275
+ "addedLater": false
6276
+ }
6277
+ ],
6278
+ "nextCursor": null
6279
+ }
6280
+ }
6281
+ },
6282
+ {
6283
+ "channel": "api",
6284
+ "name": "list_stocktake_counts",
6285
+ "endpoint": "listStocktakeCounts",
6286
+ "path": "/v3/listStocktakeCounts",
6287
+ "params": {
6288
+ "stocktakeId": "auto78"
6289
+ },
6290
+ "httpStatus": 200,
6291
+ "headers": {
6292
+ "Kasseneck-Api-Version": "v3",
6293
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6294
+ },
6295
+ "response": {
6296
+ "status": "success",
6297
+ "message": "",
6298
+ "data": {
6299
+ "counts": [
6300
+ {
6301
+ "id": "c4bcbef939611668aec06aeda0ccb5ffec860093571702e7f569aa9a26f49b8d",
6302
+ "articleId": "kipferl",
6303
+ "condition": "sellable",
6304
+ "quantity": 9000,
6305
+ "serialNumbers": [],
6306
+ "round": 1,
6307
+ "countedBy": {
6308
+ "type": "api",
6309
+ "id": "kornblum",
6310
+ "name": null
6311
+ },
6312
+ "source": "api",
6313
+ "cashregisterId": null,
6314
+ "countedAt": "2026-10-06T08:03:14.000Z",
6315
+ "note": "Kiste hinten",
6316
+ "voided": {
6317
+ "reason": "Kiste doppelt gezählt",
6318
+ "voidedAt": "2026-10-06T08:03:16.000Z",
6319
+ "voidedBy": {
6320
+ "type": "api",
6321
+ "id": "kornblum",
6322
+ "name": null
6323
+ }
6324
+ }
6325
+ },
6326
+ {
6327
+ "id": "1e4df2db3f4543a42e292a75f390f7b4d6936099a7240184846a6b032a3e6b98",
6328
+ "articleId": "kipferl",
6329
+ "condition": "sellable",
6330
+ "quantity": 12000,
6331
+ "serialNumbers": [],
6332
+ "round": 1,
6333
+ "countedBy": {
6334
+ "type": "api",
6335
+ "id": "kornblum",
6336
+ "name": null
6337
+ },
6338
+ "source": "api",
6339
+ "cashregisterId": null,
6340
+ "countedAt": "2026-10-06T08:03:11.000Z",
6341
+ "note": "Kiste vorne",
6342
+ "voided": null
6343
+ }
6344
+ ],
6345
+ "nextCursor": null
6346
+ }
6347
+ }
6348
+ },
6349
+ {
6350
+ "channel": "api",
6351
+ "name": "review_stocktake",
6352
+ "endpoint": "reviewStocktake",
6353
+ "path": "/v3/reviewStocktake",
6354
+ "params": {
6355
+ "idempotencyKey": "shop-inventur-lw-pruefen-1",
6356
+ "stocktakeId": "auto78"
6357
+ },
6358
+ "httpStatus": 200,
6359
+ "headers": {
6360
+ "Kasseneck-Api-Version": "v3",
6361
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6362
+ },
6363
+ "response": {
6364
+ "status": "success",
6365
+ "message": "",
6366
+ "data": {
6367
+ "stocktake": {
6368
+ "id": "auto78",
6369
+ "name": "Inventur Lieferwagen Oktober",
6370
+ "locationId": "lieferwagen",
6371
+ "scope": {
6372
+ "type": "groups",
6373
+ "groupIds": [
6374
+ "gebaeck"
6375
+ ],
6376
+ "articleIds": []
6377
+ },
6378
+ "type": "key_date",
6379
+ "keyDate": "2026-10-31",
6380
+ "blind": true,
6381
+ "status": "review",
6382
+ "progress": {
6383
+ "items": 1,
6384
+ "recountOpen": false
6385
+ },
6386
+ "createdAt": "2026-10-06T08:03:04.000Z",
6387
+ "createdBy": {
6388
+ "type": "api",
6389
+ "id": "kornblum",
6390
+ "name": null
6391
+ },
6392
+ "source": "api",
6393
+ "updatedAt": "2026-10-06T08:03:24.000Z",
6394
+ "review": {
6395
+ "startedAt": "2026-10-06T08:03:24.000Z",
6396
+ "startedBy": {
6397
+ "type": "api",
6398
+ "id": "kornblum",
6399
+ "name": null
6400
+ },
6401
+ "complete": false
6402
+ },
6403
+ "closing": null,
6404
+ "cancellation": null
6405
+ }
6406
+ }
6407
+ }
6408
+ },
6409
+ {
6410
+ "channel": "api",
6411
+ "name": "error_record_stocktake_count_not_open",
6412
+ "endpoint": "recordStocktakeCount",
6413
+ "path": "/v3/recordStocktakeCount",
6414
+ "params": {
6415
+ "idempotencyKey": "shop-zaehlung-4",
6416
+ "stocktakeId": "auto78",
6417
+ "articleId": "kipferl",
6418
+ "quantity": 1000
6419
+ },
6420
+ "httpStatus": 200,
6421
+ "headers": {
6422
+ "Kasseneck-Api-Version": "v3",
6423
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6424
+ },
6425
+ "response": {
6426
+ "status": "error",
6427
+ "message": "Hier wird gerade nicht gezählt.",
6428
+ "data": {
6429
+ "code": "stocktake_not_open"
6430
+ },
6431
+ "code": "stocktake_not_open"
6432
+ }
6433
+ },
6434
+ {
6435
+ "channel": "api",
6436
+ "name": "list_stocktake_items_review",
6437
+ "endpoint": "listStocktakeItems",
6438
+ "path": "/v3/listStocktakeItems",
6439
+ "params": {
6440
+ "stocktakeId": "auto78"
6441
+ },
6442
+ "httpStatus": 200,
6443
+ "headers": {
6444
+ "Kasseneck-Api-Version": "v3",
6445
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6446
+ },
6447
+ "response": {
6448
+ "status": "success",
6449
+ "message": "",
6450
+ "data": {
6451
+ "items": [
6452
+ {
6453
+ "articleId": "kipferl",
6454
+ "condition": "sellable",
6455
+ "name": "Butterkipferl",
6456
+ "number": "A-200",
6457
+ "unit": "Stk",
6458
+ "round": 1,
6459
+ "counted": true,
6460
+ "quantity": 12000,
6461
+ "counts": 1,
6462
+ "firstCountedAt": "2026-10-06T08:03:11.000Z",
6463
+ "referenceTime": "2026-10-06T08:03:11.000Z",
6464
+ "countedBy": [
6465
+ {
6466
+ "type": "api",
6467
+ "id": "kornblum",
6468
+ "name": null
6469
+ }
6470
+ ],
6471
+ "serialNumbers": [],
6472
+ "recountRequested": false,
6473
+ "addedLater": false,
6474
+ "expectedQuantity": 24000,
6475
+ "differenceQuantity": -12000,
6476
+ "needsCheck": true,
6477
+ "checkReasons": [
6478
+ "far_from_key_date"
6479
+ ],
6480
+ "expectedAsOf": "2026-10-06T08:03:11.000Z",
6481
+ "missingSerialNumbers": [],
6482
+ "extraSerialNumbers": []
6483
+ }
6484
+ ],
6485
+ "nextCursor": null
6486
+ }
6487
+ }
6488
+ },
6489
+ {
6490
+ "channel": "api",
6491
+ "name": "recount_stocktake",
6492
+ "endpoint": "recountStocktake",
6493
+ "path": "/v3/recountStocktake",
6494
+ "params": {
6495
+ "idempotencyKey": "shop-inventur-lw-nachzaehlen-1",
6496
+ "stocktakeId": "auto78",
6497
+ "items": [
6498
+ {
6499
+ "articleId": "kipferl"
6500
+ }
6501
+ ],
6502
+ "reason": "Kiste hinten fehlt"
6503
+ },
6504
+ "httpStatus": 200,
6505
+ "headers": {
6506
+ "Kasseneck-Api-Version": "v3",
6507
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6508
+ },
6509
+ "response": {
6510
+ "status": "success",
6511
+ "message": "",
6512
+ "data": {
6513
+ "stocktake": {
6514
+ "id": "auto78",
6515
+ "name": "Inventur Lieferwagen Oktober",
6516
+ "locationId": "lieferwagen",
6517
+ "scope": {
6518
+ "type": "groups",
6519
+ "groupIds": [
6520
+ "gebaeck"
6521
+ ],
6522
+ "articleIds": []
6523
+ },
6524
+ "type": "key_date",
6525
+ "keyDate": "2026-10-31",
6526
+ "blind": true,
6527
+ "status": "review",
6528
+ "progress": {
6529
+ "items": 1,
6530
+ "recountOpen": true
6531
+ },
6532
+ "createdAt": "2026-10-06T08:03:04.000Z",
6533
+ "createdBy": {
6534
+ "type": "api",
6535
+ "id": "kornblum",
6536
+ "name": null
6537
+ },
6538
+ "source": "api",
6539
+ "updatedAt": "2026-10-06T08:03:30.000Z",
6540
+ "review": {
6541
+ "startedAt": "2026-10-06T08:03:24.000Z",
6542
+ "startedBy": {
6543
+ "type": "api",
6544
+ "id": "kornblum",
6545
+ "name": null
6546
+ },
6547
+ "complete": true,
6548
+ "expectedAsOf": "2026-10-06T08:03:26.000Z",
6549
+ "recountUncounted": 0
6550
+ },
6551
+ "closing": null,
6552
+ "cancellation": null
6553
+ }
6554
+ }
6555
+ }
6556
+ },
6557
+ {
6558
+ "channel": "api",
6559
+ "name": "record_stocktake_count_recount",
6560
+ "endpoint": "recordStocktakeCount",
6561
+ "path": "/v3/recordStocktakeCount",
6562
+ "params": {
6563
+ "idempotencyKey": "shop-zaehlung-5",
6564
+ "stocktakeId": "auto78",
6565
+ "articleId": "kipferl",
6566
+ "quantity": 21000
6567
+ },
6568
+ "httpStatus": 200,
6569
+ "headers": {
6570
+ "Kasseneck-Api-Version": "v3",
6571
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6572
+ },
6573
+ "response": {
6574
+ "status": "success",
6575
+ "message": "",
6576
+ "data": {
6577
+ "count": {
6578
+ "id": "b2510ac53ae295926f547a77bb49cb27f257bd0ffb73f7b97dac69c9b1182937",
6579
+ "articleId": "kipferl",
6580
+ "condition": "sellable",
6581
+ "quantity": 21000,
6582
+ "serialNumbers": [],
6583
+ "round": 2,
6584
+ "countedBy": {
6585
+ "type": "api",
6586
+ "id": "kornblum",
6587
+ "name": null
6588
+ },
6589
+ "source": "api",
6590
+ "cashregisterId": null,
6591
+ "countedAt": "2026-10-06T08:03:33.000Z",
6592
+ "note": null,
6593
+ "voided": null
6594
+ },
6595
+ "item": {
6596
+ "articleId": "kipferl",
6597
+ "condition": "sellable",
6598
+ "name": "Butterkipferl",
6599
+ "number": "A-200",
6600
+ "unit": "Stk",
6601
+ "round": 2,
6602
+ "counted": true,
6603
+ "quantity": 21000,
6604
+ "counts": 1,
6605
+ "firstCountedAt": "2026-10-06T08:03:33.000Z",
6606
+ "referenceTime": "2026-10-06T08:03:33.000Z",
6607
+ "countedBy": [
6608
+ {
6609
+ "type": "api",
6610
+ "id": "kornblum",
6611
+ "name": null
6612
+ }
6613
+ ],
6614
+ "recountRequested": true,
6615
+ "recount": {
6616
+ "reason": "Kiste hinten fehlt",
6617
+ "requestedAt": "2026-10-06T08:03:30.000Z",
6618
+ "requestedBy": {
6619
+ "type": "api",
6620
+ "id": "kornblum",
6621
+ "name": null
6622
+ },
6623
+ "round": 2
6624
+ },
6625
+ "addedLater": false
6626
+ }
6627
+ }
6628
+ }
6629
+ },
6630
+ {
6631
+ "channel": "api",
6632
+ "name": "error_close_stocktake_recount_open",
6633
+ "endpoint": "closeStocktake",
6634
+ "path": "/v3/closeStocktake",
6635
+ "params": {
6636
+ "idempotencyKey": "shop-inventur-lw-schluss-0",
6637
+ "stocktakeId": "auto78"
6638
+ },
6639
+ "httpStatus": 200,
6640
+ "headers": {
6641
+ "Kasseneck-Api-Version": "v3",
6642
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6643
+ },
6644
+ "response": {
6645
+ "status": "error",
6646
+ "message": "Es sind noch Positionen zum Nachzählen offen. Bitte nachzählen und erneut prüfen.",
6647
+ "data": {
6648
+ "code": "stocktake_recount_open"
6649
+ },
6650
+ "code": "stocktake_recount_open"
6651
+ }
6652
+ },
6653
+ {
6654
+ "channel": "api",
6655
+ "name": "close_stocktake",
6656
+ "endpoint": "closeStocktake",
6657
+ "path": "/v3/closeStocktake",
6658
+ "params": {
6659
+ "idempotencyKey": "shop-inventur-lw-schluss-1",
6660
+ "stocktakeId": "auto78"
6661
+ },
6662
+ "httpStatus": 200,
6663
+ "headers": {
6664
+ "Kasseneck-Api-Version": "v3",
6665
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6666
+ },
6667
+ "response": {
6668
+ "status": "success",
6669
+ "message": "",
6670
+ "data": {
6671
+ "stocktake": {
6672
+ "id": "auto78",
6673
+ "name": "Inventur Lieferwagen Oktober",
6674
+ "locationId": "lieferwagen",
6675
+ "scope": {
6676
+ "type": "groups",
6677
+ "groupIds": [
6678
+ "gebaeck"
6679
+ ],
6680
+ "articleIds": []
6681
+ },
6682
+ "type": "key_date",
6683
+ "keyDate": "2026-10-31",
6684
+ "blind": true,
6685
+ "status": "closing",
6686
+ "progress": {
6687
+ "items": 1,
6688
+ "recountOpen": false
6689
+ },
6690
+ "createdAt": "2026-10-06T08:03:04.000Z",
6691
+ "createdBy": {
6692
+ "type": "api",
6693
+ "id": "kornblum",
6694
+ "name": null
6695
+ },
6696
+ "source": "api",
6697
+ "updatedAt": "2026-10-06T08:03:40.000Z",
6698
+ "review": {
6699
+ "startedAt": "2026-10-06T08:03:36.000Z",
6700
+ "startedBy": {
6701
+ "type": "api",
6702
+ "id": "kornblum",
6703
+ "name": null
6704
+ },
6705
+ "complete": true,
6706
+ "expectedAsOf": "2026-10-06T08:03:38.000Z",
6707
+ "recountUncounted": 0
6708
+ },
6709
+ "closing": {
6710
+ "startedAt": "2026-10-06T08:03:40.000Z",
6711
+ "startedBy": {
6712
+ "type": "api",
6713
+ "id": "kornblum",
6714
+ "name": null
6715
+ },
6716
+ "uncountedAsZero": false,
6717
+ "parts": null,
6718
+ "bookedParts": 0
6719
+ },
6720
+ "cancellation": null
6721
+ }
6722
+ }
6723
+ }
6724
+ },
6725
+ {
6726
+ "channel": "api",
6727
+ "name": "get_stocktake_closed",
6728
+ "endpoint": "getStocktake",
6729
+ "path": "/v3/getStocktake",
6730
+ "params": {
6731
+ "stocktakeId": "auto78"
6732
+ },
6733
+ "httpStatus": 200,
6734
+ "headers": {
6735
+ "Kasseneck-Api-Version": "v3",
6736
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6737
+ },
6738
+ "response": {
6739
+ "status": "success",
6740
+ "message": "",
6741
+ "data": {
6742
+ "stocktake": {
6743
+ "id": "auto78",
6744
+ "name": "Inventur Lieferwagen Oktober",
6745
+ "locationId": "lieferwagen",
6746
+ "scope": {
6747
+ "type": "groups",
6748
+ "groupIds": [
6749
+ "gebaeck"
6750
+ ],
6751
+ "articleIds": []
6752
+ },
6753
+ "type": "key_date",
6754
+ "keyDate": "2026-10-31",
6755
+ "blind": true,
6756
+ "status": "closed",
6757
+ "progress": {
6758
+ "items": 1,
6759
+ "counted": 1,
6760
+ "recountOpen": false
6761
+ },
6762
+ "createdAt": "2026-10-06T08:03:04.000Z",
6763
+ "createdBy": {
6764
+ "type": "api",
6765
+ "id": "kornblum",
6766
+ "name": null
6767
+ },
6768
+ "source": "api",
6769
+ "updatedAt": "2026-10-06T08:06:12.000Z",
6770
+ "review": {
6771
+ "startedAt": "2026-10-06T08:03:36.000Z",
6772
+ "startedBy": {
6773
+ "type": "api",
6774
+ "id": "kornblum",
6775
+ "name": null
6776
+ },
6777
+ "complete": true,
6778
+ "expectedAsOf": "2026-10-06T08:03:38.000Z",
6779
+ "recountUncounted": 0
6780
+ },
6781
+ "closing": {
6782
+ "startedAt": "2026-10-06T08:03:40.000Z",
6783
+ "startedBy": {
6784
+ "type": "api",
6785
+ "id": "kornblum",
6786
+ "name": null
6787
+ },
6788
+ "uncountedAsZero": false,
6789
+ "parts": 1,
6790
+ "bookedParts": 1,
6791
+ "completedAt": "2026-10-06T08:06:12.000Z"
6792
+ },
6793
+ "totals": {
6794
+ "items": 1,
6795
+ "counted": 1,
6796
+ "uncounted": 0,
6797
+ "recounted": 1,
6798
+ "withDifference": 1,
6799
+ "needsCheck": 1,
6800
+ "notBooked": 0
6801
+ },
6802
+ "warnings": [],
6803
+ "seal": {
6804
+ "fromDay": null,
6805
+ "toDay": "2026-10-05",
6806
+ "daysChecked": 0,
6807
+ "verified": true,
6808
+ "firstBreak": null,
6809
+ "gaps": [],
6810
+ "gapCount": 0
6811
+ },
6812
+ "checksum": "5ad6dc60c7f1b9a4062a35c4f70897be77212607c2fea776ec9ad9740dd8c9c6",
6813
+ "inventoryAsOf": "count_date",
6814
+ "pdf": {
6815
+ "available": true,
6816
+ "quantitiesSha256": "a271816287c89e663f21ba4afbf51c3ae8a68175ef4558c54ec07636b873f7dc"
6817
+ },
6818
+ "cancellation": null
6819
+ }
6820
+ }
6821
+ }
6822
+ },
6823
+ {
6824
+ "channel": "api",
6825
+ "name": "list_stocktake_items_closed",
6826
+ "endpoint": "listStocktakeItems",
6827
+ "path": "/v3/listStocktakeItems",
6828
+ "params": {
6829
+ "stocktakeId": "auto78"
6830
+ },
6831
+ "httpStatus": 200,
6832
+ "headers": {
6833
+ "Kasseneck-Api-Version": "v3",
6834
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6835
+ },
6836
+ "response": {
6837
+ "status": "success",
6838
+ "message": "",
6839
+ "data": {
6840
+ "items": [
6841
+ {
6842
+ "articleId": "kipferl",
6843
+ "condition": "sellable",
6844
+ "name": "Butterkipferl",
6845
+ "number": "A-200",
6846
+ "unit": "Stk",
6847
+ "round": 2,
6848
+ "counted": true,
6849
+ "quantity": 21000,
6850
+ "counts": 1,
6851
+ "firstCountedAt": "2026-10-06T08:03:33.000Z",
6852
+ "referenceTime": "2026-10-06T08:03:33.000Z",
6853
+ "countedBy": [
6854
+ {
6855
+ "type": "api",
6856
+ "id": "kornblum",
6857
+ "name": null
6858
+ }
6859
+ ],
6860
+ "serialNumbers": [],
6861
+ "recountRequested": true,
6862
+ "recount": {
6863
+ "reason": "Kiste hinten fehlt",
6864
+ "requestedAt": "2026-10-06T08:03:30.000Z",
6865
+ "requestedBy": {
6866
+ "type": "api",
6867
+ "id": "kornblum",
6868
+ "name": null
6869
+ },
6870
+ "round": 2
6871
+ },
6872
+ "addedLater": false,
6873
+ "expectedQuantity": 24000,
6874
+ "differenceQuantity": -3000,
6875
+ "needsCheck": true,
6876
+ "checkReasons": [
6877
+ "far_from_key_date"
6878
+ ],
6879
+ "expectedAsOf": "2026-10-06T08:03:33.000Z",
6880
+ "missingSerialNumbers": [],
6881
+ "extraSerialNumbers": [],
6882
+ "bookedQuantity": -3000,
6883
+ "notBooked": null,
6884
+ "inventory": {
6885
+ "quantity": 21000,
6886
+ "countedOn": "2026-10-06"
6887
+ }
6888
+ }
6889
+ ],
6890
+ "nextCursor": null
6891
+ }
6892
+ }
6893
+ },
6894
+ {
6895
+ "channel": "api",
6896
+ "name": "get_stocktake_closed_with_costs",
6897
+ "endpoint": "getStocktake",
6898
+ "path": "/v3/getStocktake",
6899
+ "params": {
6900
+ "stocktakeId": "auto78"
6901
+ },
6902
+ "httpStatus": 200,
6903
+ "headers": {
6904
+ "Kasseneck-Api-Version": "v3",
6905
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
6906
+ },
6907
+ "response": {
6908
+ "status": "success",
6909
+ "message": "",
6910
+ "data": {
6911
+ "stocktake": {
6912
+ "id": "auto78",
6913
+ "name": "Inventur Lieferwagen Oktober",
6914
+ "locationId": "lieferwagen",
6915
+ "scope": {
6916
+ "type": "groups",
6917
+ "groupIds": [
6918
+ "gebaeck"
6919
+ ],
6920
+ "articleIds": []
6921
+ },
6922
+ "type": "key_date",
6923
+ "keyDate": "2026-10-31",
6924
+ "blind": true,
6925
+ "status": "closed",
6926
+ "progress": {
6927
+ "items": 1,
6928
+ "counted": 1,
6929
+ "recountOpen": false
6930
+ },
6931
+ "createdAt": "2026-10-06T08:03:04.000Z",
6932
+ "createdBy": {
6933
+ "type": "api",
6934
+ "id": "kornblum",
6935
+ "name": null
6936
+ },
6937
+ "source": "api",
6938
+ "updatedAt": "2026-10-06T08:06:12.000Z",
6939
+ "review": {
6940
+ "startedAt": "2026-10-06T08:03:36.000Z",
6941
+ "startedBy": {
6942
+ "type": "api",
6943
+ "id": "kornblum",
6944
+ "name": null
6945
+ },
6946
+ "complete": true,
6947
+ "expectedAsOf": "2026-10-06T08:03:38.000Z",
6948
+ "recountUncounted": 0
6949
+ },
6950
+ "closing": {
6951
+ "startedAt": "2026-10-06T08:03:40.000Z",
6952
+ "startedBy": {
6953
+ "type": "api",
6954
+ "id": "kornblum",
6955
+ "name": null
6956
+ },
6957
+ "uncountedAsZero": false,
6958
+ "parts": 1,
6959
+ "bookedParts": 1,
6960
+ "completedAt": "2026-10-06T08:06:12.000Z"
6961
+ },
6962
+ "totals": {
6963
+ "items": 1,
6964
+ "counted": 1,
6965
+ "uncounted": 0,
6966
+ "recounted": 1,
6967
+ "withDifference": 1,
6968
+ "needsCheck": 1,
6969
+ "notBooked": 0,
6970
+ "differenceValueCents": -122,
6971
+ "inventoryValueCents": 856
6972
+ },
6973
+ "warnings": [],
6974
+ "seal": {
6975
+ "fromDay": null,
6976
+ "toDay": "2026-10-05",
6977
+ "daysChecked": 0,
6978
+ "verified": true,
6979
+ "firstBreak": null,
6980
+ "gaps": [],
6981
+ "gapCount": 0
6982
+ },
6983
+ "checksum": "5ad6dc60c7f1b9a4062a35c4f70897be77212607c2fea776ec9ad9740dd8c9c6",
6984
+ "inventoryAsOf": "count_date",
6985
+ "pdf": {
6986
+ "available": true,
6987
+ "valuesSha256": "952eda0669f9b416e1653ba140a1c014db29fa058fb0ef553ba96023bb9627d9",
6988
+ "quantitiesSha256": "a271816287c89e663f21ba4afbf51c3ae8a68175ef4558c54ec07636b873f7dc"
6989
+ },
6990
+ "cancellation": null
6991
+ }
6992
+ }
6993
+ }
6994
+ },
6995
+ {
6996
+ "channel": "api",
6997
+ "name": "list_stocktake_items_closed_with_costs",
6998
+ "endpoint": "listStocktakeItems",
6999
+ "path": "/v3/listStocktakeItems",
7000
+ "params": {
7001
+ "stocktakeId": "auto78",
7002
+ "limit": 1
7003
+ },
7004
+ "httpStatus": 200,
7005
+ "headers": {
7006
+ "Kasseneck-Api-Version": "v3",
7007
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
7008
+ },
7009
+ "response": {
7010
+ "status": "success",
7011
+ "message": "",
7012
+ "data": {
7013
+ "items": [
7014
+ {
7015
+ "articleId": "kipferl",
7016
+ "condition": "sellable",
7017
+ "name": "Butterkipferl",
7018
+ "number": "A-200",
7019
+ "unit": "Stk",
7020
+ "round": 2,
7021
+ "counted": true,
7022
+ "quantity": 21000,
7023
+ "counts": 1,
7024
+ "firstCountedAt": "2026-10-06T08:03:33.000Z",
7025
+ "referenceTime": "2026-10-06T08:03:33.000Z",
7026
+ "countedBy": [
7027
+ {
7028
+ "type": "api",
7029
+ "id": "kornblum",
7030
+ "name": null
7031
+ }
7032
+ ],
7033
+ "serialNumbers": [],
7034
+ "recountRequested": true,
7035
+ "recount": {
7036
+ "reason": "Kiste hinten fehlt",
7037
+ "requestedAt": "2026-10-06T08:03:30.000Z",
7038
+ "requestedBy": {
7039
+ "type": "api",
7040
+ "id": "kornblum",
7041
+ "name": null
7042
+ },
7043
+ "round": 2
7044
+ },
7045
+ "addedLater": false,
7046
+ "expectedQuantity": 24000,
7047
+ "differenceQuantity": -3000,
7048
+ "needsCheck": true,
7049
+ "checkReasons": [
7050
+ "far_from_key_date"
7051
+ ],
7052
+ "expectedAsOf": "2026-10-06T08:03:33.000Z",
7053
+ "differenceValueCents": -122,
7054
+ "missingSerialNumbers": [],
7055
+ "extraSerialNumbers": [],
7056
+ "bookedQuantity": -3000,
7057
+ "notBooked": null,
7058
+ "inventory": {
7059
+ "quantity": 21000,
7060
+ "unitValueMicros": 407474,
7061
+ "valueCents": 856,
7062
+ "countedOn": "2026-10-06"
7063
+ }
7064
+ }
7065
+ ],
7066
+ "nextCursor": null
7067
+ }
7068
+ }
7069
+ },
7070
+ {
7071
+ "channel": "api",
7072
+ "name": "get_stocktake_pdf_download",
7073
+ "endpoint": "getStocktakePdf",
7074
+ "path": "/v3/getStocktakePdf",
7075
+ "params": {
7076
+ "stocktakeId": "auto78"
7077
+ },
7078
+ "httpStatus": 200,
7079
+ "headers": {
7080
+ "Kasseneck-Api-Version": "v3",
7081
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
7082
+ },
7083
+ "response": {
7084
+ "status": "success",
7085
+ "message": "",
7086
+ "data": {
7087
+ "download": {
7088
+ "url": "https://storage.googleapis.com/kasseneck.appspot.com/users/kornblum/lager_inventuren/auto78/inventurprotokoll-mengen.pdf?X-Goog-Expires=900&X-Goog-Signature=EXAMPLE1791274887000",
7089
+ "expiresAt": "2026-10-06T08:21:27.000Z",
7090
+ "sizeBytes": 44,
7091
+ "sha256": "a271816287c89e663f21ba4afbf51c3ae8a68175ef4558c54ec07636b873f7dc",
7092
+ "fileName": "stocktake-auto78-quantities.pdf",
7093
+ "contentType": "application/pdf"
7094
+ }
7095
+ }
7096
+ }
7097
+ },
7098
+ {
7099
+ "channel": "api",
7100
+ "name": "error_record_stocktake_count_closed",
7101
+ "endpoint": "recordStocktakeCount",
7102
+ "path": "/v3/recordStocktakeCount",
7103
+ "params": {
7104
+ "idempotencyKey": "shop-zaehlung-6",
7105
+ "stocktakeId": "auto78",
7106
+ "articleId": "kipferl",
7107
+ "quantity": 1000
7108
+ },
7109
+ "httpStatus": 200,
7110
+ "headers": {
7111
+ "Kasseneck-Api-Version": "v3",
7112
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
7113
+ },
7114
+ "response": {
7115
+ "status": "error",
7116
+ "message": "Die Inventur ist abgeschlossen oder abgebrochen.",
7117
+ "data": {
7118
+ "code": "stocktake_closed"
7119
+ },
7120
+ "code": "stocktake_closed"
7121
+ }
7122
+ },
7123
+ {
7124
+ "channel": "api",
7125
+ "name": "list_stock_movements_stocktake",
7126
+ "endpoint": "listStockMovements",
7127
+ "path": "/v3/listStockMovements",
7128
+ "params": {
7129
+ "type": "stocktake",
7130
+ "limit": 3
7131
+ },
7132
+ "httpStatus": 200,
7133
+ "headers": {
7134
+ "Kasseneck-Api-Version": "v3",
7135
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
7136
+ },
7137
+ "response": {
7138
+ "status": "success",
7139
+ "message": "",
7140
+ "data": {
7141
+ "movements": [
7142
+ {
7143
+ "id": "inventur_auto78_1_0",
7144
+ "articleId": "kipferl",
7145
+ "type": "stocktake",
7146
+ "locationId": "lieferwagen",
7147
+ "condition": "sellable",
7148
+ "quantityDelta": -3000,
7149
+ "reservedDelta": 0,
7150
+ "stockAfter": {
7151
+ "sellable": 21000,
7152
+ "defective": 0,
7153
+ "reserved": null
7154
+ },
7155
+ "operationId": "inventur_auto78_1",
7156
+ "source": {
7157
+ "id": "auto78",
7158
+ "position": null,
7159
+ "type": "stocktake",
7160
+ "register": null
7161
+ },
7162
+ "viennaDay": "2026-10-06",
7163
+ "time": "2026-10-06T08:03:42.000Z",
7164
+ "lots": [
7165
+ {
7166
+ "lotId": "auto35_L0",
7167
+ "quantity": 3000,
7168
+ "expiresOn": null,
7169
+ "batch": null,
7170
+ "serialNumber": null,
7171
+ "receivedAt": "2026-10-06T06:00:03.000Z"
7172
+ }
7173
+ ]
7174
+ }
7175
+ ],
7176
+ "nextCursor": "eyJ6ZWl0IjoxNzkxMjY2NTEwMDAwLCJpZCI6ImF1dG8zNF8xIn0"
7177
+ }
7178
+ }
7179
+ },
7180
+ {
7181
+ "channel": "api",
7182
+ "name": "create_stocktake_perpetual",
7183
+ "endpoint": "createStocktake",
7184
+ "path": "/v3/createStocktake",
7185
+ "params": {
7186
+ "idempotencyKey": "shop-inventur-haupt-1",
7187
+ "locationId": "haupt",
7188
+ "scope": {
7189
+ "type": "articles",
7190
+ "articleIds": [
7191
+ "roggenbrot"
7192
+ ]
7193
+ },
7194
+ "type": "perpetual",
7195
+ "blind": false
7196
+ },
7197
+ "httpStatus": 200,
7198
+ "headers": {
7199
+ "Kasseneck-Api-Version": "v3",
7200
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
7201
+ },
7202
+ "response": {
7203
+ "status": "success",
7204
+ "message": "",
7205
+ "data": {
7206
+ "stocktake": {
7207
+ "id": "auto81",
7208
+ "name": "Inventur Hauptstandort 06.10.2026",
7209
+ "locationId": "haupt",
7210
+ "scope": {
7211
+ "type": "articles",
7212
+ "groupIds": [],
7213
+ "articleIds": [
7214
+ "roggenbrot"
7215
+ ]
7216
+ },
7217
+ "type": "perpetual",
7218
+ "keyDate": null,
7219
+ "blind": false,
7220
+ "status": "counting",
7221
+ "progress": {
7222
+ "items": 1,
7223
+ "recountOpen": false
7224
+ },
7225
+ "createdAt": "2026-10-06T08:06:31.000Z",
7226
+ "createdBy": {
7227
+ "type": "api",
7228
+ "id": "kornblum",
7229
+ "name": null
7230
+ },
7231
+ "source": "api",
7232
+ "updatedAt": "2026-10-06T08:06:33.000Z",
7233
+ "review": null,
7234
+ "closing": null,
7235
+ "cancellation": null
7236
+ }
7237
+ }
7238
+ }
7239
+ },
7240
+ {
7241
+ "channel": "api",
7242
+ "name": "list_stocktake_items_not_blind",
7243
+ "endpoint": "listStocktakeItems",
7244
+ "path": "/v3/listStocktakeItems",
7245
+ "params": {
7246
+ "stocktakeId": "auto81"
7247
+ },
7248
+ "httpStatus": 200,
7249
+ "headers": {
7250
+ "Kasseneck-Api-Version": "v3",
7251
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
7252
+ },
7253
+ "response": {
7254
+ "status": "success",
7255
+ "message": "",
7256
+ "data": {
7257
+ "items": [
7258
+ {
7259
+ "articleId": "roggenbrot",
7260
+ "condition": "sellable",
7261
+ "name": "Roggenbrot 1 kg",
7262
+ "number": "A-100",
7263
+ "unit": "Stk",
7264
+ "round": 1,
7265
+ "counted": false,
7266
+ "quantity": null,
7267
+ "counts": 0,
7268
+ "firstCountedAt": null,
7269
+ "referenceTime": null,
7270
+ "countedBy": [],
7271
+ "serialNumbers": [],
7272
+ "recountRequested": false,
7273
+ "addedLater": false,
7274
+ "bookStockNow": 3000
7275
+ }
7276
+ ],
7277
+ "nextCursor": null
7278
+ }
7279
+ }
7280
+ },
7281
+ {
7282
+ "channel": "api",
7283
+ "name": "cancel_stocktake",
7284
+ "endpoint": "cancelStocktake",
7285
+ "path": "/v3/cancelStocktake",
7286
+ "params": {
7287
+ "idempotencyKey": "shop-inventur-haupt-abbruch",
7288
+ "stocktakeId": "auto81",
7289
+ "reason": "Falscher Standort"
7290
+ },
7291
+ "httpStatus": 200,
7292
+ "headers": {
7293
+ "Kasseneck-Api-Version": "v3",
7294
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
7295
+ },
7296
+ "response": {
7297
+ "status": "success",
7298
+ "message": "",
7299
+ "data": {
7300
+ "stocktake": {
7301
+ "id": "auto81",
7302
+ "name": "Inventur Hauptstandort 06.10.2026",
7303
+ "locationId": "haupt",
7304
+ "scope": {
7305
+ "type": "articles",
7306
+ "groupIds": [],
7307
+ "articleIds": [
7308
+ "roggenbrot"
7309
+ ]
7310
+ },
7311
+ "type": "perpetual",
7312
+ "keyDate": null,
7313
+ "blind": false,
7314
+ "status": "cancelled",
7315
+ "progress": {
7316
+ "items": 1,
7317
+ "recountOpen": false
7318
+ },
7319
+ "createdAt": "2026-10-06T08:06:31.000Z",
7320
+ "createdBy": {
7321
+ "type": "api",
7322
+ "id": "kornblum",
7323
+ "name": null
7324
+ },
7325
+ "source": "api",
7326
+ "updatedAt": "2026-10-06T08:06:36.000Z",
7327
+ "review": null,
7328
+ "closing": null,
7329
+ "cancellation": {
7330
+ "reason": "Falscher Standort",
7331
+ "cancelledAt": "2026-10-06T08:06:36.000Z",
7332
+ "cancelledBy": {
7333
+ "type": "api",
7334
+ "id": "kornblum",
7335
+ "name": null
7336
+ }
7337
+ }
7338
+ }
7339
+ }
7340
+ }
7341
+ },
7342
+ {
7343
+ "channel": "api",
7344
+ "name": "error_get_stocktake_pdf_not_closed",
7345
+ "endpoint": "getStocktakePdf",
7346
+ "path": "/v3/getStocktakePdf",
7347
+ "params": {
7348
+ "stocktakeId": "auto81"
7349
+ },
7350
+ "httpStatus": 200,
7351
+ "headers": {
7352
+ "Kasseneck-Api-Version": "v3",
7353
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
7354
+ },
7355
+ "response": {
7356
+ "status": "error",
7357
+ "message": "Das Inventurprotokoll gibt es erst nach dem Abschluss.",
7358
+ "data": {
7359
+ "code": "stocktake_not_closed"
7360
+ },
7361
+ "code": "stocktake_not_closed"
7362
+ }
7363
+ },
7364
+ {
7365
+ "channel": "api",
7366
+ "name": "error_get_stocktake_not_found",
7367
+ "endpoint": "getStocktake",
7368
+ "path": "/v3/getStocktake",
7369
+ "params": {
7370
+ "stocktakeId": "gibt_es_nicht"
7371
+ },
7372
+ "httpStatus": 200,
7373
+ "headers": {
7374
+ "Kasseneck-Api-Version": "v3",
7375
+ "Access-Control-Expose-Headers": "Kasseneck-Api-Version"
7376
+ },
7377
+ "response": {
7378
+ "status": "error",
7379
+ "message": "Inventur nicht gefunden.",
7380
+ "data": {
7381
+ "code": "stocktake_not_found"
7382
+ },
7383
+ "code": "stocktake_not_found"
7384
+ }
5682
7385
  }
5683
7386
  ],
5684
7387
  "webhookEvents": [
@@ -6268,6 +7971,27 @@
6268
7971
  "updatedAt": "2026-10-06T08:02:50.000Z"
6269
7972
  }
6270
7973
  }
7974
+ },
7975
+ {
7976
+ "event": "stock.changed",
7977
+ "body": {
7978
+ "id": "evt_jZnZoygxYWe7NEyLxhmn",
7979
+ "type": "stock.changed",
7980
+ "createdAt": 1791273982000,
7981
+ "accountId": "kornblum",
7982
+ "data": {
7983
+ "articleId": "kipferl",
7984
+ "locationId": "lieferwagen",
7985
+ "onHand": 21000,
7986
+ "reserved": 0,
7987
+ "available": 21000,
7988
+ "defective": 0,
7989
+ "sequence": 5,
7990
+ "updatedAt": "2026-10-06T08:03:42.000Z",
7991
+ "cause": "stocktake",
7992
+ "movementId": "inventur_auto78_1_0"
7993
+ }
7994
+ }
6271
7995
  }
6272
7996
  ]
6273
7997
  }