Validation message

[BR-42]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140).

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