VRBL-INV-CORE-476

Basic Info

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

Used Template: CountLessEqualOne

Parameter Value
probe = cbc:AllowanceChargeReason

Implementation

count(cbc:AllowanceChargeReason) <= 1