VRBL-INV-EN16931-M-111

Basic Info

Rule Each Invoice Line Allowance Group must contain an Invoice Line Allowance Reason or an Invoice Line Allowance Reason Code, or both.
Context /ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']
Pattern vrbl-invoice-en16931-ubl-model
Severity fatal

Implementation

boolean(cbc:AllowanceChargeReason) or boolean(cbc:AllowanceChargeReasonCode)