@kreiseck/kasseneck-api 1.17.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/dist/cjs/client/list-receipts.d.ts +3 -0
- package/dist/cjs/client/list-receipts.js +6 -0
- package/dist/cjs/client/receipts.d.ts +6 -0
- package/dist/cjs/client/receipts.js +6 -0
- package/dist/cjs/client/reports.d.ts +10 -9
- package/dist/cjs/client/reports.js +10 -9
- package/dist/cjs/models/index.d.ts +1 -0
- package/dist/cjs/models/index.js +6 -1
- package/dist/cjs/models/manual-receipt.d.ts +45 -0
- package/dist/cjs/models/manual-receipt.js +58 -0
- package/dist/cjs/models/receipt-summary.d.ts +4 -0
- package/dist/cjs/models/receipt-summary.js +6 -0
- package/dist/cjs/models/receipt.d.ts +4 -0
- package/dist/cjs/models/receipt.js +6 -0
- package/dist/cjs/receipt/layout.js +57 -0
- package/dist/cjs/stored/vokabular.d.ts +1 -1
- package/dist/cjs/stored/vokabular.js +23 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/client/list-receipts.d.ts +3 -0
- package/dist/esm/client/list-receipts.js +6 -0
- package/dist/esm/client/receipts.d.ts +6 -0
- package/dist/esm/client/receipts.js +6 -0
- package/dist/esm/client/reports.d.ts +10 -9
- package/dist/esm/client/reports.js +10 -9
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/manual-receipt.d.ts +45 -0
- package/dist/esm/models/manual-receipt.js +53 -0
- package/dist/esm/models/receipt-summary.d.ts +4 -0
- package/dist/esm/models/receipt-summary.js +6 -0
- package/dist/esm/models/receipt.d.ts +4 -0
- package/dist/esm/models/receipt.js +6 -0
- package/dist/esm/receipt/layout.js +57 -0
- package/dist/esm/stored/vokabular.d.ts +1 -1
- package/dist/esm/stored/vokabular.js +23 -2
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/fixtures/expected/manual-receipt-range-device-failure-count.grid32.txt +36 -0
- package/fixtures/expected/manual-receipt-range-device-failure-count.grid48.txt +36 -0
- package/fixtures/expected/manual-receipt-range-device-failure-count.lines.json +299 -0
- package/fixtures/expected/manual-receipt-range-device-failure-count.sheet32.json +242 -0
- package/fixtures/expected/manual-receipt-range-device-failure-count.sheet48.json +242 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.grid32.txt +36 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.grid48.txt +36 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.lines.json +299 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.sheet32.json +242 -0
- package/fixtures/expected/manual-receipt-range-device-failure-no-count.sheet48.json +242 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.grid32.txt +33 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.lines.json +259 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.sheet32.json +224 -0
- package/fixtures/expected/manual-receipt-range-network-outage-count.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.grid32.txt +33 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.lines.json +259 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.sheet32.json +224 -0
- package/fixtures/expected/manual-receipt-range-network-outage-no-count.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-range-other-count.grid32.txt +36 -0
- package/fixtures/expected/manual-receipt-range-other-count.grid48.txt +36 -0
- package/fixtures/expected/manual-receipt-range-other-count.lines.json +299 -0
- package/fixtures/expected/manual-receipt-range-other-count.sheet32.json +242 -0
- package/fixtures/expected/manual-receipt-range-other-count.sheet48.json +242 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.grid32.txt +36 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.grid48.txt +36 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.lines.json +299 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.sheet32.json +242 -0
- package/fixtures/expected/manual-receipt-range-other-no-count.sheet48.json +242 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.grid32.txt +37 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.grid48.txt +37 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.lines.json +305 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.sheet32.json +248 -0
- package/fixtures/expected/manual-receipt-range-power-outage-count.sheet48.json +248 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.grid32.txt +37 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.grid48.txt +37 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.lines.json +305 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.sheet32.json +248 -0
- package/fixtures/expected/manual-receipt-range-power-outage-no-count.sheet48.json +248 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.grid32.txt +33 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.lines.json +259 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.sheet32.json +224 -0
- package/fixtures/expected/manual-receipt-range-system-outage-count.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.grid32.txt +33 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.lines.json +259 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.sheet32.json +224 -0
- package/fixtures/expected/manual-receipt-range-system-outage-no-count.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.grid32.txt +31 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.sheet32.json +212 -0
- package/fixtures/expected/manual-receipt-single-device-failure-no-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.grid32.txt +31 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.sheet32.json +212 -0
- package/fixtures/expected/manual-receipt-single-device-failure-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.grid32.txt +32 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.sheet32.json +218 -0
- package/fixtures/expected/manual-receipt-single-network-outage-no-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.grid32.txt +32 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.sheet32.json +218 -0
- package/fixtures/expected/manual-receipt-single-network-outage-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.grid32.txt +35 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.grid48.txt +34 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.lines.json +299 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.sheet32.json +236 -0
- package/fixtures/expected/manual-receipt-single-other-no-time.sheet48.json +230 -0
- package/fixtures/expected/manual-receipt-single-other-time.grid32.txt +35 -0
- package/fixtures/expected/manual-receipt-single-other-time.grid48.txt +34 -0
- package/fixtures/expected/manual-receipt-single-other-time.lines.json +299 -0
- package/fixtures/expected/manual-receipt-single-other-time.sheet32.json +236 -0
- package/fixtures/expected/manual-receipt-single-other-time.sheet48.json +230 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.grid32.txt +31 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.lines.json +247 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.sheet32.json +212 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-no-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.grid32.txt +31 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.lines.json +247 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.sheet32.json +212 -0
- package/fixtures/expected/manual-receipt-single-outside-premises-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.grid32.txt +35 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.grid48.txt +34 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.lines.json +299 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.sheet32.json +236 -0
- package/fixtures/expected/manual-receipt-single-power-outage-no-time.sheet48.json +230 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.grid32.txt +35 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.grid48.txt +34 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.lines.json +299 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.sheet32.json +236 -0
- package/fixtures/expected/manual-receipt-single-power-outage-time.sheet48.json +230 -0
- package/fixtures/expected/manual-receipt-single-small-business.grid32.txt +34 -0
- package/fixtures/expected/manual-receipt-single-small-business.grid48.txt +33 -0
- package/fixtures/expected/manual-receipt-single-small-business.lines.json +257 -0
- package/fixtures/expected/manual-receipt-single-small-business.sheet32.json +230 -0
- package/fixtures/expected/manual-receipt-single-small-business.sheet48.json +224 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.grid32.txt +32 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.sheet32.json +218 -0
- package/fixtures/expected/manual-receipt-single-system-outage-no-time.sheet48.json +212 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.grid32.txt +32 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.grid48.txt +31 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.lines.json +253 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.sheet32.json +218 -0
- package/fixtures/expected/manual-receipt-single-system-outage-time.sheet48.json +212 -0
- package/fixtures/expected/zero-outage-end-period.grid32.txt +35 -0
- package/fixtures/expected/zero-outage-end-period.grid48.txt +31 -0
- package/fixtures/expected/zero-outage-end-period.lines.json +230 -0
- package/fixtures/expected/zero-outage-end-period.sheet32.json +236 -0
- package/fixtures/expected/zero-outage-end-period.sheet48.json +212 -0
- package/fixtures/hobex-hps-codes.json +1 -1
- package/fixtures/invoice-api.schema.json +1 -1
- package/fixtures/invoice-texts.json +1 -1
- package/fixtures/manifest.json +192 -0
- package/fixtures/pos-texts.json +1 -1
- package/fixtures/receipts/manual-receipt-range-device-failure-count.json +56 -0
- package/fixtures/receipts/manual-receipt-range-device-failure-no-count.json +55 -0
- package/fixtures/receipts/manual-receipt-range-network-outage-count.json +50 -0
- package/fixtures/receipts/manual-receipt-range-network-outage-no-count.json +49 -0
- package/fixtures/receipts/manual-receipt-range-other-count.json +57 -0
- package/fixtures/receipts/manual-receipt-range-other-no-count.json +56 -0
- package/fixtures/receipts/manual-receipt-range-power-outage-count.json +56 -0
- package/fixtures/receipts/manual-receipt-range-power-outage-no-count.json +55 -0
- package/fixtures/receipts/manual-receipt-range-system-outage-count.json +50 -0
- package/fixtures/receipts/manual-receipt-range-system-outage-no-count.json +49 -0
- package/fixtures/receipts/manual-receipt-single-device-failure-no-time.json +48 -0
- package/fixtures/receipts/manual-receipt-single-device-failure-time.json +49 -0
- package/fixtures/receipts/manual-receipt-single-network-outage-no-time.json +49 -0
- package/fixtures/receipts/manual-receipt-single-network-outage-time.json +50 -0
- package/fixtures/receipts/manual-receipt-single-other-no-time.json +55 -0
- package/fixtures/receipts/manual-receipt-single-other-time.json +56 -0
- package/fixtures/receipts/manual-receipt-single-outside-premises-no-time.json +48 -0
- package/fixtures/receipts/manual-receipt-single-outside-premises-time.json +49 -0
- package/fixtures/receipts/manual-receipt-single-power-outage-no-time.json +54 -0
- package/fixtures/receipts/manual-receipt-single-power-outage-time.json +55 -0
- package/fixtures/receipts/manual-receipt-single-small-business.json +48 -0
- package/fixtures/receipts/manual-receipt-single-system-outage-no-time.json +49 -0
- package/fixtures/receipts/manual-receipt-single-system-outage-time.json +50 -0
- package/fixtures/receipts/zero-outage-end-period.json +43 -0
- package/fixtures/surface.json +1 -1
- package/fixtures/v3/README.md +8 -1
- package/fixtures/v3/antworten/belege.json +484 -3
- package/fixtures/v3/antworten/belegmail.json +5 -2
- package/fixtures/v3/antworten/berichte.json +151 -0
- package/fixtures/v3/antworten/kasse-belege.json +436 -3
- package/fixtures/v3/antworten/kasse.json +3 -3
- package/fixtures/v3/antworten/lager.json +1 -1
- package/fixtures/v3/antworten/rechnungen.json +5 -2
- package/fixtures/v3/antworten/storno.json +5 -2
- package/fixtures/v3/stored/belege.json +60 -3
- package/fixtures/v3/stored/kasse.json +3 -3
- package/fixtures/v3/stored/rechnungen.json +5 -2
- package/fixtures/v3/v3-vokabular.json +178 -9
- package/fixtures/v3/zahlbetrag-faelle.json +5 -2
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"company": {
|
|
3
|
+
"companyName": "Blumen G'schenk e.U.",
|
|
4
|
+
"street": "Hauptplatz 1",
|
|
5
|
+
"zip": "4830",
|
|
6
|
+
"city": "Hallstatt",
|
|
7
|
+
"phone": "+43 6134 12345",
|
|
8
|
+
"isSmallBusiness": false,
|
|
9
|
+
"thanksMessage": [],
|
|
10
|
+
"showKreiseckLogo": false,
|
|
11
|
+
"vatId": "ATU12345675",
|
|
12
|
+
"taxNumber": "",
|
|
13
|
+
"footer1": "Danke und schöne Tage",
|
|
14
|
+
"footer2": ""
|
|
15
|
+
},
|
|
16
|
+
"receipt": {
|
|
17
|
+
"receiptId": "AT0-KASSE1-108",
|
|
18
|
+
"cashregisterId": "KASSE1",
|
|
19
|
+
"timeStamp": "2026-11-20T12:41:09",
|
|
20
|
+
"items": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Strauß der Saison",
|
|
23
|
+
"quantity": 1,
|
|
24
|
+
"unitPriceCents": 2490,
|
|
25
|
+
"vatRate": 13
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"vouchers": [],
|
|
29
|
+
"paymentMethod": "creditCard",
|
|
30
|
+
"turnoverCounterAES256ICM": "UMSATZ",
|
|
31
|
+
"signaturePreviousReceipt": "VORGAENGER",
|
|
32
|
+
"certificateSerialNumber": "5A1C3E07",
|
|
33
|
+
"receiptType": "standard",
|
|
34
|
+
"sig": "eyJhbGciOiJFUzI1NiJ9.QVQx.SIGNATURWERT",
|
|
35
|
+
"qr": "_R1-AT1_KASSE1_AT0-KASSE1-108_2026-11-20T12:41:09_0,00_0,00_0,00_0,00_0,00_UMSATZ_VORGAENGER_5A1C3E07_SIGNATUR",
|
|
36
|
+
"fullReceiptId": "VOLL",
|
|
37
|
+
"customerDetails": [],
|
|
38
|
+
"legalMessage": [],
|
|
39
|
+
"creditCardProvider": "custom",
|
|
40
|
+
"manualReceipt": {
|
|
41
|
+
"number": "B-412",
|
|
42
|
+
"date": "2026-11-20",
|
|
43
|
+
"reason": "system_outage"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"options": {
|
|
47
|
+
"paperSize": "mm80"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"company": {
|
|
3
|
+
"companyName": "Blumen G'schenk e.U.",
|
|
4
|
+
"street": "Hauptplatz 1",
|
|
5
|
+
"zip": "4830",
|
|
6
|
+
"city": "Hallstatt",
|
|
7
|
+
"phone": "+43 6134 12345",
|
|
8
|
+
"isSmallBusiness": false,
|
|
9
|
+
"thanksMessage": [],
|
|
10
|
+
"showKreiseckLogo": false,
|
|
11
|
+
"vatId": "ATU12345675",
|
|
12
|
+
"taxNumber": "",
|
|
13
|
+
"footer1": "Danke und schöne Tage",
|
|
14
|
+
"footer2": ""
|
|
15
|
+
},
|
|
16
|
+
"receipt": {
|
|
17
|
+
"receiptId": "AT0-KASSE1-107",
|
|
18
|
+
"cashregisterId": "KASSE1",
|
|
19
|
+
"timeStamp": "2026-11-20T12:41:09",
|
|
20
|
+
"items": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Strauß der Saison",
|
|
23
|
+
"quantity": 1,
|
|
24
|
+
"unitPriceCents": 2490,
|
|
25
|
+
"vatRate": 13
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"vouchers": [],
|
|
29
|
+
"paymentMethod": "creditCard",
|
|
30
|
+
"turnoverCounterAES256ICM": "UMSATZ",
|
|
31
|
+
"signaturePreviousReceipt": "VORGAENGER",
|
|
32
|
+
"certificateSerialNumber": "5A1C3E07",
|
|
33
|
+
"receiptType": "standard",
|
|
34
|
+
"sig": "eyJhbGciOiJFUzI1NiJ9.QVQx.SIGNATURWERT",
|
|
35
|
+
"qr": "_R1-AT1_KASSE1_AT0-KASSE1-107_2026-11-20T12:41:09_0,00_0,00_0,00_0,00_0,00_UMSATZ_VORGAENGER_5A1C3E07_SIGNATUR",
|
|
36
|
+
"fullReceiptId": "VOLL",
|
|
37
|
+
"customerDetails": [],
|
|
38
|
+
"legalMessage": [],
|
|
39
|
+
"creditCardProvider": "custom",
|
|
40
|
+
"manualReceipt": {
|
|
41
|
+
"number": "B-412",
|
|
42
|
+
"date": "2026-11-20",
|
|
43
|
+
"time": "11:05",
|
|
44
|
+
"reason": "system_outage"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"options": {
|
|
48
|
+
"paperSize": "mm80"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"company": {
|
|
3
|
+
"companyName": "Bäckerei Muster",
|
|
4
|
+
"street": "Hauptplatz 1",
|
|
5
|
+
"zip": "4830",
|
|
6
|
+
"city": "Hallstatt",
|
|
7
|
+
"phone": "+43 6134 12345",
|
|
8
|
+
"vatId": "ATU12345675",
|
|
9
|
+
"taxNumber": "",
|
|
10
|
+
"isSmallBusiness": false,
|
|
11
|
+
"footer1": "Vielen Dank für Ihren Einkauf",
|
|
12
|
+
"footer2": "www.baeckerei-muster.at",
|
|
13
|
+
"thanksMessage": [],
|
|
14
|
+
"showKreiseckLogo": false
|
|
15
|
+
},
|
|
16
|
+
"receipt": {
|
|
17
|
+
"receiptId": "AT0-KASSE1-50",
|
|
18
|
+
"cashregisterId": "KASSE1",
|
|
19
|
+
"timeStamp": "2026-08-13T10:15:30",
|
|
20
|
+
"items": [],
|
|
21
|
+
"vouchers": [],
|
|
22
|
+
"paymentMethod": null,
|
|
23
|
+
"turnoverCounterAES256ICM": "UMSATZ",
|
|
24
|
+
"signaturePreviousReceipt": "VORGAENGER",
|
|
25
|
+
"certificateSerialNumber": "5A1C3E07",
|
|
26
|
+
"receiptType": "zero",
|
|
27
|
+
"sig": "eyJhbGciOiJFUzI1NiJ9.QVQx.SIGNATURWERT",
|
|
28
|
+
"qr": "_R1-AT1_KASSE1_AT0-KASSE1-42_2026-08-13T10:15:30_5,00_2,70_0,00_0,00_0,00_UMSATZ_VORGAENGER_5A1C3E07_SIGNATUR",
|
|
29
|
+
"fullReceiptId": "VOLL",
|
|
30
|
+
"customerDetails": [],
|
|
31
|
+
"legalMessage": [
|
|
32
|
+
"Sicherheitseinrichtung ausgefallen von 12.08.2026 08:10 bis 13.08.2026 10:14 (ab Beleg AT0-KASSE1-41)"
|
|
33
|
+
],
|
|
34
|
+
"zeroKind": "outage_end"
|
|
35
|
+
},
|
|
36
|
+
"options": {
|
|
37
|
+
"paperSize": "mm80",
|
|
38
|
+
"registrationInfo": {
|
|
39
|
+
"cardRegisteredAt": "2024-03-12",
|
|
40
|
+
"cashregisterRegisteredAt": "2024-03-12"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
package/fixtures/surface.json
CHANGED
package/fixtures/v3/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Erzeugt von Jest-Tests in zwei Codebases (jede übersetzt mit ihrem eigenen Rand
|
|
|
14
14
|
|
|
15
15
|
| Test | schreibt |
|
|
16
16
|
| --- | --- |
|
|
17
|
-
| `functions/test/unit/v3-vertrag-export.test.js` | `v3-vokabular.json`, `antworten/belege.json`, `antworten/kasse-belege.json`, `antworten/storno.json`, `antworten/belegmail.json`, `antworten/rechnungen.json`, `stored/belege.json`, `stored/rechnungen.json`, `zahlbetrag-faelle.json` |
|
|
17
|
+
| `functions/test/unit/v3-vertrag-export.test.js` | `v3-vokabular.json`, `antworten/belege.json`, `antworten/kasse-belege.json`, `antworten/storno.json`, `antworten/belegmail.json`, `antworten/rechnungen.json`, `antworten/berichte.json`, `stored/belege.json`, `stored/rechnungen.json`, `zahlbetrag-faelle.json` |
|
|
18
18
|
| `functions/test/unit/v3-vertrag-export-kassenweg.test.js` | Teil `default` von `antworten/kasse.json` und `stored/kasse.json` (6 Beleg-Endpunkte der Kasse) |
|
|
19
19
|
| `functions-kasse/test/unit/v3-vertrag-export.test.js` | Teil `kasse` derselben zwei Dateien (die übrigen 19 Kassen-Endpunkte) |
|
|
20
20
|
| `functions-kasse/test/unit/v3-vertrag-export-lager.test.js` | `antworten/lager.json` (Lager-API, Stufe 5a) |
|
|
@@ -109,6 +109,13 @@ Code-Änderung zusammen einchecken.
|
|
|
109
109
|
`platform_fallback`, Fehler).
|
|
110
110
|
- **`antworten/rechnungen.json`**: Rechnungs-API (Probelauf, Festschreiben, Lesen,
|
|
111
111
|
Liste, Storno, Gutschrift, Zahlung, Fehler).
|
|
112
|
+
- **`antworten/berichte.json`**: `getCashregisterReport` unter `/v3` (Kanal `api`), der
|
|
113
|
+
Binärweg. Ein Fall mit `file` ist die Datei: HTTP 200, `Content-Type: application/pdf`,
|
|
114
|
+
die Bytes beginnen mit `file.startsWith` (`%PDF-`); mehr vom PDF steht hier nicht, der
|
|
115
|
+
Rest hängt an Schrift und Satz. Jede Ablehnung kommt ebenfalls mit HTTP 200, als Hülle
|
|
116
|
+
mit Code (`period_not_closed` für den laufenden Monat und heute, `period_in_future`,
|
|
117
|
+
`invalid_period`). Ein Paket entscheidet an den ersten Bytes, nicht am Inhaltstyp, und
|
|
118
|
+
wirft die Hülle wie auf dem JSON-Weg.
|
|
112
119
|
- **`antworten/kasse.json`**: alle 25 Kassen-Endpunkte unter `/api/v3`, je Fall
|
|
113
120
|
(englischer Name) Methode, Aufrufer, Parameter, HTTP-Status, Kopfzeilen und Antwort.
|
|
114
121
|
- **`antworten/lager.json`**: Lager-API unter `/v3` (Kanal `api`) in Ablaufreihenfolge an
|