Skip to content

Warning

BR-DEX-02: Line amount should equal the sum of its sub lines

In short

Warning: worth checking.

BR-DEX-02 means the net amount of an invoice line (BT-131) differs from the sum of the net amounts of the sub lines directly below it. It is only a warning and the invoice is still accepted, but you should fix it by making the line amount exactly that sum.

On this page

What it means

A line that is split into sub lines (XRechnung extension, BG-DEX-01) should have a net amount (BT-131) equal to the sum of the net amounts of the sub lines directly under it. The same applies to a sub line that has sub lines of its own. The comparison is exact, with no tolerance for rounding.

Why it matters

This is a warning, so the file is not rejected. A mismatch still means the line and its parts disagree. The sub lines are there to explain how the line amount is made up, and a recipient who adds them up gets a different figure and may query the invoice.

How to fix it

Add up the net amounts of the sub lines under the line and compare the result with the net amount of the line. Correct whichever is wrong: a sub line amount (quantity times price, less any discount) or the amount of the line above it. If sub lines are nested, repeat this at each level.

The rule as published

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.

Business terms: BG-25, BT-131

Where this rule applies

Rule set Version
XRechnung 3.0 (UBL) 3.0.2
XRechnung 3.0 (UBL credit note) 3.0.2
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether BR-DEX-02 still fails, and which other rules do.

Updated 6 November 2026