VRBL-INV-EN16931-M-18

Basic Info

Rule The Charge Group must have a Charge Reason or a Charge Reason.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
Pattern vrbl-invoice-en16931-ubl-model
Severity fatal

Implementation

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