VRBL-INV-SA-1p2-68

Basic Info

Rule The Allowance Group must have Allowance Reason Code.
Context /ubl:Invoice/cac:AllowanceCharge
Pattern vrbl-invoice-sa-1p2
Severity fatal

Implementation

not(string(cbc:ChargeIndicator) = 'true') or string-length(cbc:AllowanceChargeReasonCode)>0