VRBL-INV-DK-OIOUBL-2p0-89

Basic Info

Rule When the Payment Means Payment Means Code is "31", the Payment Means Payment Channel Code must be either 'IBAN' or 'ZZZ'.
Context /ubl:Invoice/cac:PaymentMeans/cbc:PaymentChannelCode
Pattern vrbl-invoice-dk-oioubl-2p0
Severity fatal

Implementation

not(boolean(../cbc:PaymentMeansCode))
or
../cbc:PaymentMeansCode != '31'
or
. = 'IBAN'
or
. = 'ZZZ'