BR-DEX-02: Sum of sub-lines does not match
BR-DEX-02 means: The net amount of a line (BT-131) should equal the sum of the net amounts of its direct sub-lines (BG-DEX-01). This is a warning.
Warning. The invoice stays formally valid. Some recipients still reject it; it is worth fixing.
Typical cause
Rounding per sub-line instead of on the sum, or discounts booked only on the parent line.
How to fix BR-DEX-02
Calculate the parent line's amount from its sub-lines. Show discounts and surcharges in the sub-lines.
The DEX rules apply only to the XRechnung Extension (identifier with #conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 in BT-24). The Extension allows sub-lines, third-party payments and further attachments. Many recipients accept only the standard XRechnung; ask first whether the Extension is accepted.
Original message of the checker
[BR-DEX-02] Der Wert von "Invoice line net amount" (BT-131) einer "INVOICE LINE" (BG-25) oder einer "SUB INVOICE LINE" (BG-DEX-01) soll der Summe der "Invoice line net amount" (BT-131) der direkt darunterliegenden "SUB INVOICE LINE" (BG-DEX-01) entsprechen.
Wording from KoSIT's published validation configuration (XRechnung 3.0.2), which is in German.
You only received the invoice?
Then you have nothing to repair: the error is on the sender's side. Ask for a corrected invoice and name the code BR-DEX-02. The free check writes the text for you.
Related codes
Information, not legal or tax advice.