BR-CO-16 — Amount due for payment is wrong (BT-115)
- Standard: EN16931
- Severity: fatal
- Business Terms: BT-115, BT-112, BT-113, BT-114
Meaning
"Amount due for payment" (BT-115) = "Invoice total amount with VAT" (BT-112) - "Paid amount" (BT-113) + "Rounding amount" (BT-114).
Possible causes
- BT-115 (PayableAmount) does not correctly account for the prepaid amount (BT-113) or the rounding amount (BT-114).
How to fix it
- Set BT-115 (cbc:PayableAmount) to BT-112 − BT-113 + BT-114.
Affected fields
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount/ubl:Invoice/cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PrepaidAmount/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableRoundingAmount
Example (invalid invoice)
invalid/BR-CO-16/ubl-inv-payable-mismatch.xml