Skip to content
SmartFormular

SmartFormular › SmartFormular E-Invoice Start › Validation rules › BR-DEX-02

BR-DEX-02

A line net amount (BT-131) does not equal the sum of its sub-lines

Validation rule of XRechnung 3.0.2 (KoSIT, Schematron 2.6.0) · Level: Warning

What the message means

A line net amount (BT-131) does not equal the sum of its sub-lines.

What the issuer needs to change

Have the amounts of the line and its sub-lines reconciled.

Fields concerned

  • BG-25 invoice line
  • BT-131 invoice line net amount

Your invoice reports BR-DEX-02? Check it with SmartFormular E-Invoice Start, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.

Check an e-invoice

Origin

Rule set
XRechnung 3.0.2 (KoSIT, Schematron 2.6.0)
Syntax
UBL
Level
Warning

Original rule text

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.

Source: KoSIT, XRechnung Schematron 2.6.0, Apache License 2.0

Technical details for IT

UBL

Context: /ubl:Invoice[$isExtension]
Test: not((every $invoiceline          in /ubl:Invoice/cac:InvoiceLine[ exists (./cac:SubInvoiceLine) ]          satisfies $invoiceline/xs:decimal(cbc:LineExtensionAmount) = sum($invoiceline/cac:SubInvoiceLine/xs:decimal(cbc:LineExtensionAmount))) and         (count( //cac:SubInvoiceLine [count(cac:SubInvoiceLine) > 0 and xs:decimal(cbc:LineExtensionAmount) = sum(cac:SubInvoiceLine/xs:decimal(cbc:LineExtensionAmount))]) = count(//cac:SubInvoiceLine [count(cac:SubInvoiceLine) > 0])))

Related rules

  • BR-DE-30Missing for the direct debit: bank assigned creditor identifier (BT-90)
  • BR-DE-31Missing for the direct debit: debited account identifier (BT-91)
  • BR-DE-TMP-32The invoice gives no actual delivery date (BT-72) and no invoicing period (BG-14 or BG-26 per line)
  • BR-DEX-03A sub-line (BG-DEX-01) does not have exactly one VAT entry (BG-DEX-06)
  • BR-DEX-04The scheme of an identifier is not on the permitted list (ISO 6523)
  • BR-DEX-05The scheme of an identifier is not on the permitted list (ISO 6523)

All validation rules

Technical explanation by SmartFormular, not tax or legal advice. Rules as of 31 August 2026 (KoSIT validator configuration).