VRBL-INV-EN16931-M-117

Basic Info

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

Implementation

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