Faktura

BR-DEX-09

fatalXRechnung 3.0.2 (Germany)profileUBLBT-112BT-113BT-114BT-115

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).

Why it fails

The amount due for payment does not equal total with VAT minus paid amount plus rounding, once third-party payments are taken into account.

How to fix it

In the extension, third-party payment amounts also reduce what is due. Recompute BT-115 including them. See BR-CO-16 for the base formula.

What the validator checks

UBL — context

(round((xs:decimal(cbc:PayableAmount) - $payableroundingamount) * 10 * 10) div 100) = (round((xs:decimal(cbc:TaxInclusiveAmount) - $prepaidamount + $thirdpartyprepaidamount) * 10 * 10) div 100)

Related rules

Part of BR-DEX — XRechnung extension.

Validate an invoice against this rule →