Validation message

[BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98).

UBL

Context

1

/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

Rule

1

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

CII

Context

1

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

Rule

1

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

Used in business terms