@kreiseck/kasseneck-api 0.19.0 → 0.21.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 +25 -0
- package/README.md +17 -4
- package/dist/cjs/rechnung/index.d.ts +1 -1
- package/dist/cjs/rechnung/index.js +3 -1
- package/dist/cjs/rechnung/texte.d.ts +20 -4
- package/dist/cjs/rechnung/texte.js +48 -8
- package/dist/cjs/rechnung/typen.d.ts +27 -2
- package/dist/cjs/rechnung/vertrag.d.ts +85 -7
- package/dist/cjs/rechnung/vertrag.js +90 -8
- package/dist/esm/rechnung/index.d.ts +1 -1
- package/dist/esm/rechnung/index.js +1 -1
- package/dist/esm/rechnung/texte.d.ts +20 -4
- package/dist/esm/rechnung/texte.js +48 -8
- package/dist/esm/rechnung/typen.d.ts +27 -2
- package/dist/esm/rechnung/vertrag.d.ts +85 -7
- package/dist/esm/rechnung/vertrag.js +89 -7
- package/fixtures/hobex-hps-codes.json +1 -1
- package/fixtures/kasse-texte.json +1 -1
- package/fixtures/oberflaeche.json +19 -4
- package/fixtures/rechnung-api-beispiele/zahlung-fehler-vor-ort.json +15 -0
- package/fixtures/rechnung-api.schema.json +45 -4
- package/fixtures/rechnung-texte.json +41 -9
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "Kasseneck Rechnungs-API",
|
|
4
4
|
"version": 1,
|
|
5
|
-
"paket": "0.
|
|
5
|
+
"paket": "0.21.0",
|
|
6
6
|
"aufrufe": {
|
|
7
7
|
"createCustomer": {
|
|
8
8
|
"anfrage": {
|
|
@@ -291,7 +291,25 @@
|
|
|
291
291
|
"smallBusiness",
|
|
292
292
|
"reverseCharge",
|
|
293
293
|
"igLieferung",
|
|
294
|
-
"exportThirdCountry"
|
|
294
|
+
"exportThirdCountry",
|
|
295
|
+
"domesticReverseCharge",
|
|
296
|
+
"oss",
|
|
297
|
+
"outsideScope"
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
"reverseChargeReason": {
|
|
301
|
+
"enum": [
|
|
302
|
+
"construction",
|
|
303
|
+
"scrap",
|
|
304
|
+
"mobile_devices",
|
|
305
|
+
"it_devices",
|
|
306
|
+
"metals",
|
|
307
|
+
"emission_certificates",
|
|
308
|
+
"gas_electricity",
|
|
309
|
+
"energy_certificates",
|
|
310
|
+
"investment_gold",
|
|
311
|
+
"security_transfer",
|
|
312
|
+
"foreign_supplier"
|
|
295
313
|
]
|
|
296
314
|
},
|
|
297
315
|
"priceMode": {
|
|
@@ -414,6 +432,12 @@
|
|
|
414
432
|
"pallet"
|
|
415
433
|
]
|
|
416
434
|
},
|
|
435
|
+
"kind": {
|
|
436
|
+
"enum": [
|
|
437
|
+
"goods",
|
|
438
|
+
"service"
|
|
439
|
+
]
|
|
440
|
+
},
|
|
417
441
|
"unitPriceCents": {
|
|
418
442
|
"type": "integer",
|
|
419
443
|
"minimum": 0,
|
|
@@ -490,6 +514,9 @@
|
|
|
490
514
|
"reference": {
|
|
491
515
|
"type": "string",
|
|
492
516
|
"maxLength": 100
|
|
517
|
+
},
|
|
518
|
+
"onSite": {
|
|
519
|
+
"type": "boolean"
|
|
493
520
|
}
|
|
494
521
|
},
|
|
495
522
|
"required": [
|
|
@@ -500,7 +527,6 @@
|
|
|
500
527
|
},
|
|
501
528
|
"required": [
|
|
502
529
|
"idempotencyKey",
|
|
503
|
-
"taxScheme",
|
|
504
530
|
"priceMode",
|
|
505
531
|
"serviceStart",
|
|
506
532
|
"items"
|
|
@@ -646,6 +672,12 @@
|
|
|
646
672
|
"pallet"
|
|
647
673
|
]
|
|
648
674
|
},
|
|
675
|
+
"kind": {
|
|
676
|
+
"enum": [
|
|
677
|
+
"goods",
|
|
678
|
+
"service"
|
|
679
|
+
]
|
|
680
|
+
},
|
|
649
681
|
"unitPriceCents": {
|
|
650
682
|
"type": "integer",
|
|
651
683
|
"minimum": 0,
|
|
@@ -853,6 +885,9 @@
|
|
|
853
885
|
"reference": {
|
|
854
886
|
"type": "string",
|
|
855
887
|
"maxLength": 100
|
|
888
|
+
},
|
|
889
|
+
"onSite": {
|
|
890
|
+
"type": "boolean"
|
|
856
891
|
}
|
|
857
892
|
},
|
|
858
893
|
"required": [
|
|
@@ -885,7 +920,13 @@
|
|
|
885
920
|
"language_not_allowed",
|
|
886
921
|
"brand_not_found",
|
|
887
922
|
"not_payable",
|
|
888
|
-
"payment_exceeds_invoice"
|
|
923
|
+
"payment_exceeds_invoice",
|
|
924
|
+
"tax_scheme_mismatch",
|
|
925
|
+
"vat_rate_not_in_country",
|
|
926
|
+
"reverse_charge_reason_required",
|
|
927
|
+
"reverse_charge_threshold",
|
|
928
|
+
"mixed_supply_not_allowed",
|
|
929
|
+
"oss_not_enabled"
|
|
889
930
|
],
|
|
890
931
|
"gruende": [
|
|
891
932
|
"cancellation",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.21.0",
|
|
3
3
|
"sprachen": [
|
|
4
4
|
"de",
|
|
5
5
|
"en"
|
|
@@ -32,11 +32,26 @@
|
|
|
32
32
|
"pdf.summe.gesamt.rechnung": "Gesamtbetrag",
|
|
33
33
|
"pdf.summe.gesamt.gutschrift": "Gutschriftsbetrag",
|
|
34
34
|
"steuer.kleinunternehmer": "Gemäß § 6 Abs. 1 Z 27 UStG wird keine Umsatzsteuer verrechnet (Kleinunternehmer).",
|
|
35
|
-
"steuer.igLieferung": "Steuerfreie innergemeinschaftliche Lieferung
|
|
35
|
+
"steuer.igLieferung.titel": "Steuerfreie innergemeinschaftliche Lieferung. ",
|
|
36
|
+
"steuer.igLieferung.text": "Gemäß Art. 6 Abs. 1 UStG (Art. 138 MwSt-RL 2006/112/EG). Die Erwerbsbesteuerung erfolgt durch den Abnehmer im Bestimmungsland.",
|
|
36
37
|
"steuer.ausfuhr": "Steuerfreie Ausfuhrlieferung (§ 6 Abs. 1 Z 1 UStG).",
|
|
37
|
-
"steuer.reverseCharge.titel": "
|
|
38
|
-
"steuer.reverseCharge.text": "Übergang der
|
|
39
|
-
"steuer.
|
|
38
|
+
"steuer.reverseCharge.titel": "Steuerschuldnerschaft des Leistungsempfängers. ",
|
|
39
|
+
"steuer.reverseCharge.text": "Übergang der Steuerschuld gem. Art. 196 MwSt-RL 2006/112/EG (innergemeinschaftliche Leistung). Die Leistung ist nicht steuerfrei — die Umsatzsteuer schuldet und entrichtet der Leistungsempfänger in seinem Land.",
|
|
40
|
+
"steuer.uidZeile": "UID Leistungserbringer: {verkaeufer} · UID Leistungsempfänger: {kaeufer}",
|
|
41
|
+
"steuer.rcGrund.construction": "Bauleistung gemäß § 19 Abs. 1a UStG.",
|
|
42
|
+
"steuer.rcGrund.scrap": "Schrott und Abfallstoffe gemäß Schrott-Umsatzsteuerverordnung (BGBl. II Nr. 129/2007).",
|
|
43
|
+
"steuer.rcGrund.mobile_devices": "Mobilfunkgeräte bzw. integrierte Schaltkreise gemäß § 19 Abs. 1e lit. b UStG.",
|
|
44
|
+
"steuer.rcGrund.it_devices": "Laptops, Tablets bzw. Videospielkonsolen gemäß § 2 Z 1 Umsatzsteuerbetrugsbekämpfungsverordnung (BGBl. II Nr. 369/2013).",
|
|
45
|
+
"steuer.rcGrund.metals": "Metalle gemäß § 2 Z 4 Umsatzsteuerbetrugsbekämpfungsverordnung.",
|
|
46
|
+
"steuer.rcGrund.emission_certificates": "Treibhausgasemissionszertifikate gemäß § 19 Abs. 1e lit. a UStG.",
|
|
47
|
+
"steuer.rcGrund.gas_electricity": "Lieferung von Gas oder Elektrizität an einen Wiederverkäufer gemäß § 2 Z 2 Umsatzsteuerbetrugsbekämpfungsverordnung.",
|
|
48
|
+
"steuer.rcGrund.energy_certificates": "Gas- und Elektrizitätszertifikate gemäß § 2 Z 3 Umsatzsteuerbetrugsbekämpfungsverordnung.",
|
|
49
|
+
"steuer.rcGrund.investment_gold": "Steuerpflichtige Lieferung von Anlagegold gemäß § 2 Z 5 Umsatzsteuerbetrugsbekämpfungsverordnung.",
|
|
50
|
+
"steuer.rcGrund.security_transfer": "Lieferung von Sicherungs- bzw. Vorbehaltseigentum gemäß § 19 Abs. 1b UStG.",
|
|
51
|
+
"steuer.rcGrund.foreign_supplier": "Leistung eines nicht im Inland ansässigen Unternehmers gemäß § 19 Abs. 1 zweiter Satz UStG.",
|
|
52
|
+
"steuer.domestic.text": "Die Umsatzsteuer schuldet und entrichtet der Leistungsempfänger. Die Leistung ist nicht steuerfrei.",
|
|
53
|
+
"steuer.outsideScope.titel": "Nicht steuerbarer Umsatz. ",
|
|
54
|
+
"steuer.outsideScope.text": "Der Leistungsort liegt gemäß § 3a Abs. 6 UStG im Ansässigkeitsstaat des Leistungsempfängers; in Österreich fällt keine Umsatzsteuer an.",
|
|
40
55
|
"pdf.zahlung.titel": "ZAHLUNGSINFORMATIONEN",
|
|
41
56
|
"pdf.zahlung.empfaenger": "Empfänger",
|
|
42
57
|
"pdf.zahlung.iban": "IBAN",
|
|
@@ -86,6 +101,7 @@
|
|
|
86
101
|
"einvoice.befreiung.reverseCharge": "Steuerschuldnerschaft des Leistungsempfängers (Reverse Charge)",
|
|
87
102
|
"einvoice.befreiung.kleinunternehmer": "Steuerbefreit — Kleinunternehmer gemäß §6 Abs. 1 Z 27 UStG",
|
|
88
103
|
"einvoice.befreiung.igLieferung": "Steuerfreie innergemeinschaftliche Lieferung gemäß Art. 6 Abs. 1 UStG",
|
|
104
|
+
"einvoice.befreiung.outsideScope": "Nicht steuerbarer Umsatz — Leistungsort im Ausland (§ 3a Abs. 6 UStG)",
|
|
89
105
|
"einvoice.befreiung.ausfuhr": "Steuerfreie Ausfuhrlieferung gemäß §6 Abs. 1 Z 1 UStG",
|
|
90
106
|
"einvoice.zahlbarBis": "Zahlbar bis {datum}",
|
|
91
107
|
"einheit.piece": "Stk",
|
|
@@ -214,11 +230,26 @@
|
|
|
214
230
|
"pdf.summe.gesamt.rechnung": "Total",
|
|
215
231
|
"pdf.summe.gesamt.gutschrift": "Credit total",
|
|
216
232
|
"steuer.kleinunternehmer": "No VAT charged pursuant to § 6 (1) no. 27 UStG (small business exemption).",
|
|
217
|
-
"steuer.igLieferung": "VAT-exempt intra-Community supply
|
|
233
|
+
"steuer.igLieferung.titel": "VAT-exempt intra-Community supply. ",
|
|
234
|
+
"steuer.igLieferung.text": "Pursuant to Art. 6 (1) UStG (Art. 138 of VAT Directive 2006/112/EC). The acquisition is taxed by the customer in the country of destination.",
|
|
218
235
|
"steuer.ausfuhr": "VAT-exempt export delivery (§ 6 (1) no. 1 UStG).",
|
|
219
|
-
"steuer.reverseCharge.titel": "
|
|
220
|
-
"steuer.reverseCharge.text": "VAT liability transferred
|
|
221
|
-
"steuer.
|
|
236
|
+
"steuer.reverseCharge.titel": "Reverse charge – VAT liability of the recipient. ",
|
|
237
|
+
"steuer.reverseCharge.text": "VAT liability transferred pursuant to Art. 196 of VAT Directive 2006/112/EC (intra-Community service). The service is not VAT-exempt — the recipient owes and accounts for the VAT in their country.",
|
|
238
|
+
"steuer.uidZeile": "VAT ID supplier: {verkaeufer} · VAT ID recipient: {kaeufer}",
|
|
239
|
+
"steuer.rcGrund.construction": "Construction work pursuant to § 19 (1a) UStG.",
|
|
240
|
+
"steuer.rcGrund.scrap": "Scrap and waste materials pursuant to the Austrian scrap VAT regulation (BGBl. II No. 129/2007).",
|
|
241
|
+
"steuer.rcGrund.mobile_devices": "Mobile phones or integrated circuits pursuant to § 19 (1e) (b) UStG.",
|
|
242
|
+
"steuer.rcGrund.it_devices": "Laptops, tablets or games consoles pursuant to § 2 no. 1 of the Austrian VAT anti-fraud regulation (BGBl. II No. 369/2013).",
|
|
243
|
+
"steuer.rcGrund.metals": "Metals pursuant to § 2 no. 4 of the Austrian VAT anti-fraud regulation.",
|
|
244
|
+
"steuer.rcGrund.emission_certificates": "Greenhouse gas emission allowances pursuant to § 19 (1e) (a) UStG.",
|
|
245
|
+
"steuer.rcGrund.gas_electricity": "Supply of gas or electricity to a reseller pursuant to § 2 no. 2 of the Austrian VAT anti-fraud regulation.",
|
|
246
|
+
"steuer.rcGrund.energy_certificates": "Gas and electricity certificates pursuant to § 2 no. 3 of the Austrian VAT anti-fraud regulation.",
|
|
247
|
+
"steuer.rcGrund.investment_gold": "Taxable supply of investment gold pursuant to § 2 no. 5 of the Austrian VAT anti-fraud regulation.",
|
|
248
|
+
"steuer.rcGrund.security_transfer": "Supply of goods under a security or retention of title arrangement pursuant to § 19 (1b) UStG.",
|
|
249
|
+
"steuer.rcGrund.foreign_supplier": "Supply by a business not established in Austria pursuant to § 19 (1) second sentence UStG.",
|
|
250
|
+
"steuer.domestic.text": "The recipient owes and accounts for the VAT. The supply is not VAT-exempt.",
|
|
251
|
+
"steuer.outsideScope.titel": "Outside the scope of Austrian VAT. ",
|
|
252
|
+
"steuer.outsideScope.text": "The place of supply is the recipient's country pursuant to § 3a (6) UStG; no Austrian VAT applies.",
|
|
222
253
|
"pdf.zahlung.titel": "PAYMENT DETAILS",
|
|
223
254
|
"pdf.zahlung.empfaenger": "Payee",
|
|
224
255
|
"pdf.zahlung.iban": "IBAN",
|
|
@@ -268,6 +299,7 @@
|
|
|
268
299
|
"einvoice.befreiung.reverseCharge": "Reverse charge – VAT liability of the recipient",
|
|
269
300
|
"einvoice.befreiung.kleinunternehmer": "VAT exempt — small business pursuant to § 6 (1) no. 27 UStG",
|
|
270
301
|
"einvoice.befreiung.igLieferung": "VAT-exempt intra-Community supply pursuant to Art. 6 (1) UStG",
|
|
302
|
+
"einvoice.befreiung.outsideScope": "Outside the scope of VAT — place of supply abroad (§ 3a (6) UStG)",
|
|
271
303
|
"einvoice.befreiung.ausfuhr": "VAT-exempt export delivery pursuant to § 6 (1) no. 1 UStG",
|
|
272
304
|
"einvoice.zahlbarBis": "Payable by {datum}",
|
|
273
305
|
"einheit.piece": "pcs",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kreiseck/kasseneck-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "RKSV-Registrierkasse fuer JavaScript und TypeScript: signierte Belege, Storno, Kartenzahlung, Bondruck. Austrian fiscal cash register (RKSV) API client.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Kreiseck",
|