BR-CO-24: Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT
Severity: fatal · Syntax: CII, UBL
Official message
Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both.
What this means
The official message is: Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. This page does not add a further obligation.
Typical cause
The assertion in the context above failed for this file.
How to fix it
Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.
Business term
BG-28, BT-144, BT-145
Related rules
Context and assertion
UBL //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
CII //ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'true']
UBL
exists(cbc:AllowanceChargeReason) or exists(cbc:AllowanceChargeReasonCode)CII
(../ram:Reason) or (../ram:ReasonCode)
Check a file now, free of charge
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate