VRBL-INV-PEPPOL-RS-15

Basic Info

Rule The Allowance Charge Base Amount must be provided when the Allowance Charge Multiplier Factor Numeric is provided.
Context /ubl:Invoice/cac:AllowanceCharge
Pattern vrbl-invoice-peppol-bis3p0-reduced-syntax
Severity fatal

Implementation

(
	boolean(cbc:MultiplierFactorNumeric)
	and
	boolean(cbc:BaseAmount)
)
or
(
	not(boolean(cbc:MultiplierFactorNumeric))
	and
	not(boolean(cbc:BaseAmount))
)