Message

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

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