VRBL-INV-CORE-299

Basic Info

Rule The Allowance Group expects a maximum of one Allowance Reason.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']
Pattern vrbl-invoice-core
Severity fatal

Used Template: CountLessEqualOne

Parameter Value
probe = cbc:AllowanceChargeReason

Implementation

count(cbc:AllowanceChargeReason) <= 1