How to fix 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.
XRechnung rule from the KoSIT XRechnung 3.0 schematron (German CIUS of EN 16931). It applies only to invoices whose specification identifier (BT-24) is XRechnung. Such files are checked against EN 16931 and the KoSIT XRechnung rules instead of the full Peppol BIS rule set. Check your file with the XRechnung validator.
What this rule checks
XRechnung extension invoices can use sub invoice lines (BG-DEX-01). The Invoice line net amount (BT-131) of a line that has sub lines should equal the sum of the net amounts of its direct sub lines.
Referenced business terms
This rule references the following EN 16931 business terms. Click through for the full definition, the UBL XPath and the cardinality.
How to fix it
Recalculate cbc:LineExtensionAmount on each cac:InvoiceLine and cac:SubInvoiceLine so it equals the sum of cbc:LineExtensionAmount of its direct cac:SubInvoiceLine children.
Related rules
Validate your invoice
Upload your corrected invoice to check it passes BR-DEX-02 and all other EN 16931 and XRechnung (BR-DE) rules. Free, instant, no signup.