Message

Each document or line level allowance SHALL have an allowance reason text or an allowance reason code.

Context
/ubl:OrderChange/cac:AllowanceCharge |/ubl:OrderChange/cac:OrderLine/cac:LineItem/cac:AllowanceCharge
Test
exists(cbc:AllowanceChargeReason) or exists(cbc:AllowanceChargeReasonCode)
Usage
/ ubl:OrderChange / cac:AllowanceCharge / cbc:AllowanceChargeReasonCode
/ ubl:OrderChange / cac:AllowanceCharge / cbc:AllowanceChargeReason
/ ubl:OrderChange / cac:OrderLine / cac:LineItem / cac:AllowanceCharge / cbc:AllowanceChargeReasonCode
/ ubl:OrderChange / cac:OrderLine / cac:LineItem / cac:AllowanceCharge / cbc:AllowanceChargeReason