VRBL-INV-PEPPOL-PINT-124

Basic Info

Rule The Invoice Line Allowance Group must have an Invoice Line Allowance Amount.
Context /ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']
Pattern vrbl-invoice-peppol-pint
Severity fatal

Implementation

boolean(cbc:Amount)
or
not(boolean(/ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']))