Validation message

[BR-CO-23]-Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.

UBL

Context

1

//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

Rule

1

exists(cbc:AllowanceChargeReason) or exists(cbc:AllowanceChargeReasonCode)

CII

Context

1

//ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'false']

Rule

1

(../ram:Reason) or (../ram:ReasonCode)

Used in business terms