VRBL-INV-PEPPOL-PINT-127

Basic Info

Rule Each Invoice Line Invoice Line Charge Group must have a Invoice Line Charge Reason or a Invoice Line Charge Reason Code.
Context /ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
Pattern vrbl-invoice-peppol-pint
Severity fatal

Implementation

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