XRechnung 4.0: what changes.

59 fields new, 24 changed, 12 no longer in the model. In this sample invoice: 7 values.

Free, no account, in the browser.

Lieferant GmbH · Lieferantenstraße 20 · 80333 München
Kunden AG Mitte
Kundenstraße 15
69876 Frankfurt
Lieferant GmbH
Lieferantenstraße 20
80333 München
Max@Mustermann.de
Invoice number
471102
Invoice date
15 Nov 2024
Buyer reference
04011000-12345-34

Invoice 471102

Rechnung gemäß Bestellung vom 01.11.2024.

No.DescriptionQtyUnit priceVATAmount
1Trennblätter A420€9.9019%€198.00
2Joghurt Banane50€5.507%€275.00
Net total
€473.00
VAT 7%
€19.25
VAT 19%
€37.62
Total
€529.87
Payment terms
Zahlbar innerhalb 30 Tagen netto bis 15.12.2024, 3% Skonto innerhalb 10 Tagen bis 25.11.2024MovesThe discount becomes its own field. The rest stays text. BT-20 → BG-33, BG-35
Bank details
DE02120300000000202051
BYLADEM1001
VAT ID
201/113/40209
Contact: Max Mustermann
No new data neededXRechnung 4.0.0 preliminary version of 15 September 2026
  • 1 value moves
    Payment terms: the early-payment discount becomes a field of its own.
  • 6 values stay, their model changes
    Buyer reference, tax amounts and others.
  • 66 values unchanged

What applies when.

  1. 15 September 2026

    Preliminary version: the semantic model.

  2. Spring 2027

    KoSIT expects the validation rules and the test suite.

  3. At least until 31 July 2027

    XRechnung 3.0.x stays in force.

  4. Until March 2029

    EN 16931-1:2017 and :2026 apply in parallel.

A check against XRechnung 4.0 is not possible yet: one can say what changes, not whether an invoice will pass.

Five changes you meet first.

  • Early-payment discount becomes its own field.BT-20 0..1 under INVOICEBG-35 0..* under BG-33; BT-20 0..1 under BG-33
  • Third-party payments move into the core.BG-DEX-09 0..* under INVOICE (extension only)BG-34 0..* under BG-22
  • Lines get references and delivery details.—11 new fields under BG-25; delivery per line in BG-37/BG-38 (11 fields)
  • The buyer reference may occur more than once.BT-10 1 under INVOICEBT-10 1..* under INVOICE
  • Payment instructions become optional.BG-16 1 under INVOICEBG-16 0..1 under INVOICE
All 59 new fields
IDNameCardinality and place
BG-33PAYMENT TERMS0..* under INVOICE
BG-34CHARGES ON BEHALF OF A THIRD PARTY0..* under BG-22
BG-35EARLY PAYMENT DISCOUNT0..* under BG-33
BG-36LATE PAYMENT PENALTY0..* under BG-33
BG-37INVOICE LINE DELIVERY INFORMATION0..1 under BG-25
BG-38INVOICE LINE DELIVER TO ADDRESS0..1 under BG-37
BG-39LINE-LEVEL PRECEDING INVOICE REFERENCE0..* under BG-25
BT-166Invoice issue time0..1 under INVOICE
BT-167VAT accounting currency exchange rate0..1 under INVOICE
BT-170Discount end date1 under BG-35
BT-171Discount percentage0..1 under BG-35
BT-172Discount amount0..1 under BG-35
BT-173Document Level Allowance Exemption reason text0..1 under BG-20
BT-174Document Level Allowance VAT exemption reason and specification0..1 under BG-20
BT-175Document Level Charge or tax Exemption reason text0..1 under BG-21
BT-176VAT exemption reason and specification code of the document Level Charge0..1 under BG-21
BT-177Document level non VAT tax code0..1 under BG-21
BT-179Charge amount collected on behalf of a third party1 under BG-34
BT-180Charges specification1 under BG-34
BT-181Penalty start date1 under BG-36
BT-182Penalty yearly interest percentage0..1 under BG-36
BT-183Penalty amount0..1 under BG-36
BT-184VAT breakdown currency0..1 under BG-23
BT-185Invoice line deliver to party name0..1 under BG-37
BT-186Invoice line deliver to location Identifier0..1 under BG-37
BT-187Invoice line actual delivery date0..1 under BG-37
BT-188Invoice line purchase order reference0..1 under BG-25
BT-189Invoice line despatch advice reference0..1 under BG-25
BT-190Invoice line despatch advice line reference0..1 under BG-25
BT-191Invoice line receiving advice reference0..1 under BG-25
BT-192Invoice line receiving advice line reference0..1 under BG-25
BT-193Invoice line tax type code0..1 under BG-28
BT-194Invoiced item Exemption reason text0..1 under BG-30
BT-195Invoiced item VAT exemption reason and specification code0..1 under BG-30
BT-196Goods/services code0..1 under BG-31
BT-197Delivery note reference0..1 under INVOICE
BT-198Invoice line delivery note reference0..1 under BG-25
BT-199Invoice line delivery note line reference0..1 under BG-25
BT-200Invoice line sales order reference0..1 under BG-25
BT-201Invoice line sales order line reference0..1 under BG-25
BT-202Preceding Invoice type code0..1 under BG-3
BT-203Invoice line deliver to address line 10..1 under BG-38
BT-204Invoice line deliver to address line 20..1 under BG-38
BT-205Invoice line deliver to address line 30..1 under BG-38
BT-206Invoice line deliver to city0..1 under BG-38
BT-207Invoice line deliver to post code0..1 under BG-38
BT-208Invoice line deliver to country subdivision0..1 under BG-38
BT-209Invoice line deliver to country code1 under BG-38
BT-210VAT breakdown goods/services code0..1 under BG-23
BT-211Item attribute code0..1 under BG-32
BT-212Item attribute value unit of measure code0..1 under BG-32
BT-213Document level allowance goods/services code0..1 under BG-20
BT-214Document level charge goods/services code0..1 under BG-21
BT-215Debited account payment service provider identifier0..1 under BG-19
BT-216Debited account name0..1 under BG-19
BT-217Line-level preceding invoice reference1 under BG-39
BT-218Line-level preceding invoice issue date0..1 under BG-39
BT-219Line-level preceding invoice type code0..1 under BG-39
BT-220Line-level preceding invoice line reference0..1 under BG-39
All 24 changed fields
IDNameWhat changes
BG-16PAYMENT INSTRUCTIONS
Cardinality: 1 → 0..1
BG-21DOCUMENT LEVEL CHARGES AND TAXES
Name: DOCUMENT LEVEL CHARGES → DOCUMENT LEVEL CHARGES AND TAXES
BG-26INVOICE LINE PERIOD
Parent: BG-25 → BG-37
BG-28INVOICE LINE CHARGES AND TAXES
Name: INVOICE LINE CHARGES → INVOICE LINE CHARGES AND TAXES
BG-32ITEM ATTRIBUTE
Name: ITEM ATTRIBUTES → ITEM ATTRIBUTE
BT-10Buyer reference
Data type: Text → Identifier
Cardinality: 1 → 1..*
BT-20Payment term text
Parent: INVOICE → BG-33
Name: Payment terms → Payment term text
BT-46Buyer Identifier
Cardinality: 0..1 → 0..*
BT-99Document level charge or tax amount
Name: Document level charge amount → Document level charge or tax amount
BT-100Document level charge or tax base amount
Name: Document level charge base amount → Document level charge or tax base amount
BT-101Document level charge or tax percentage
Name: Document level charge percentage → Document level charge or tax percentage
BT-102VAT category code of the document level charge or tax
Name: Document level charge VAT category code → VAT category code of the document level charge or tax
BT-103VAT rate of the document level charge or tax
Name: Document level charge VAT rate → VAT rate of the document level charge or tax
BT-104Document level charge or tax reason
Name: Document level charge reason → Document level charge or tax reason
BT-111Invoice total VAT amount in VAT accounting currency
Name: Invoice total VAT amount in accounting currency → Invoice total VAT amount in VAT accounting currency
BT-117VAT category tax amount
Cardinality: 1 → 0..1
BT-119VAT category rate
Cardinality: 1 → 0..1
BT-121VAT exemption reason and specification code
Name: VAT exemption reason code → VAT exemption reason and specification code
BT-132Invoice line purchase order line reference
Name: Referenced purchase order line reference → Invoice line purchase order line reference
BT-141Invoice line charge or tax amount
Name: Invoice line charge amount → Invoice line charge or tax amount
BT-142Invoice line charge or tax base amount
Name: Invoice line charge base amount → Invoice line charge or tax base amount
BT-143Invoice line charge or tax percentage
Name: Invoice line charge percentage → Invoice line charge or tax percentage
BT-144Invoice line charge or tax reason
Name: Invoice line charge reason → Invoice line charge or tax reason
BT-160Item attribute name
Cardinality: 1 → 0..1
The 12 fields no longer in the model

All 12 are fields of the extension (BG-DEX, BT-DEX). No extension has been published for 4.0 yet; whether these fields return there is open. The third-party payment (BG-DEX-09) has a place in the core in 4.0: BG-34.

IDNameBefore
BG-DEX-01SUB INVOICE LINE0..* under BG-DEX-01
BG-DEX-02SUB INVOICE LINE ITEM INFORMATION1 under BG-DEX-01
BG-DEX-03SUB INVOICE LINE ALLOWANCES0..* under BG-DEX-01
BG-DEX-04SUB INVOICE LINE CHARGES0..* under BG-DEX-01
BG-DEX-05SUB INVOICE LINE PERIOD0..1 under BG-DEX-01
BG-DEX-06SUB INVOICE LINE VAT INFORMATION1 under BG-DEX-01
BG-DEX-07SUB INVOICE LINE PRICE DETAILS1 under BG-DEX-01
BG-DEX-08SUB INVOICE LINE ITEM ATTRIBUTES0..* under BG-DEX-02
BG-DEX-09THIRD PARTY PAYMENT0..* under INVOICE
BT-DEX-001Third party payment type1 under BG-DEX-09
BT-DEX-002Third party payment amount1 under BG-DEX-09
BT-DEX-003Third party payment description1 under BG-DEX-09
Business rules

Counted are the information elements (BT) and groups (BG) of the semantic model. The business rules come on top: 39 new rules, 34 removed, 9 with a changed text.

New (39)

BR-66 BR-67 BR-68 BR-69 BR-70 BR-71 BR-72 BR-73 BR-74 BR-75 BR-76 BR-CO-28 BR-CO-29 BR-CO-30 BR-CO-31 BR-CO-32 BR-CO-33 BR-CO-34 BR-CO-35 BR-CO-36 BR-CO-38 BR-CO-39 BR-CO-40 BR-CO-42 BR-CO-43 BR-CO-44 BR-CO-45 BR-CO-46 BR-DE-32 BR-DE-33 BR-DE-34 BR-DE-35 BR-DE-36 BR-DE-37 BR-DE-38 BR-DE-N-1 BR-N-2 BR-N-3 BR-N-4

Removed (34)

BR-CO-17 BR-DE-12 BR-DE-14 BR-DE-16 BR-DE-17 BR-DE-18 BR-DE-23 BR-DE-24 BR-DE-25 BR-DEX-01 BR-DEX-02 BR-DEX-03 BR-DEX-04 BR-DEX-05 BR-DEX-06 BR-DEX-07 BR-DEX-08 BR-DEX-09 BR-DEX-10 BR-DEX-11 BR-DEX-12 BR-DEX-13 BR-DEX-14 BR-IG-10 BR-IP-10 BR-O-2 BR-O-3 BR-O-4 BR-O-11 BR-O-12 BR-O-13 BR-O-14 BR-S-10 BR-Z-10

Text changed (9)

BR-23 BR-DE-1 BR-DE-15 BR-DE-19 BR-DE-20 BR-DE-21 BR-DE-26 BR-DE-30 BR-DE-31

Of the removed rules, 14 belong to the extension (BR-DEX). For 166 more rules the text is now English instead of German. Whether the content changed with it cannot be compared mechanically.

Sources

The two official KoSIT specifications were compared. The checksums (SHA-256) show which files they were:

XRechnung 3.0.2: XRechnung-v3.0.2.pdf
2e10f3330e79bcd34a4084f2cb3e40e5011403f5df02eb6ecbfb9a5a70658220

XRechnung 4.0.0: XRechnung-4.0.0-Vorversion-2026-09-15.pdf
747f402ae8125b5044c65bdd1b5cde306f189394512c0e7e2d87dc7bb76851c8

For software vendors and implementers

The same sheet for up to 50 of your invoices. €199 excl. VAT, once.

To the report