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).
What does this rule mean?
The amount due (BT-115) does not reconcile once third-party payments are taken into account.
In the Extension: BT-115 = BT-112 − BT-113 + BT-114 + the sum of the third-party payment amounts (BT-DEX-002).
- BT-112
- Invoice total amount with VAT
- BT-113
- Paid amount
- BT-114
- Rounding amount
- BT-115
- Amount due for payment
Official rule message (standard)
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).
Official rule message from the standard.
Where the rule applies
Syntax: UBL
Affected element (XPath):
cac:LegalMonetaryTotal[$isExtension]
Technical test
The rule passes when this Schematron expression holds true:
(round((xs:decimal(cbc:PayableAmount) - $payableroundingamount) * 10 * 10) div 100) = (round((xs:decimal(cbc:TaxInclusiveAmount) - $prepaidamount + $thirdpartyprepaidamount) * 10 * 10) div 100)How to fix it
A missing or incorrect business entry only you can supply. Add or correct it, then re-check.
Check the grand total, paid amount, rounding and the third-party payments against each other.
Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.
Check an e-invoice here
Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.