VRBL-INV-DK-OIOUBL-2p0-96

Basic Info

Rule When the Payment Means Payment Means Code is "42", the Payment Means Credit Account Group must not be provided.
Context /ubl:Invoice/cac:PaymentMeans/cbc:PaymentMeansCode
Pattern vrbl-invoice-dk-oioubl-2p0
Severity fatal

Implementation

not(. = '42')
or
not(boolean(../cac:CreditAccount))