How to fix BR-DEX-09
Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) - Paid amount (BT-113) + Rounding amount (BT-114) + Σ Third party payment amount (BT-DEX-002).
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
In an XRechnung extension invoice, the Amount due for payment (BT-115) must equal Invoice total with VAT (BT-112) minus Paid amount (BT-113) plus Rounding amount (BT-114) plus the sum of third party payments (BT-DEX-002).
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 cac:LegalMonetaryTotal → cbc:PayableAmount as TaxInclusiveAmount − PrepaidAmount + PayableRoundingAmount + the sum of cac:PrepaidPayment → cbc:PaidAmount, rounded to two decimals.
Related rules
Validate your invoice
Upload your corrected invoice to check it passes BR-DEX-09 and all other EN 16931 and XRechnung (BR-DE) rules. Free, instant, no signup.