VRBL-INV-DK-OIOUBL-2p0-88

Basic Info

Rule When the Payment Means Payment Means Code is "31", "42" or "50", the Payee Financial Account ID must be provided.
Context /ubl:Invoice/cac:PaymentMeans/cbc:PaymentMeansCode
Pattern vrbl-invoice-dk-oioubl-2p0
Severity fatal

Implementation

not(
	. = '31'
	or
	. = '42'
	or
	. = '50'
)
or
boolean(../cac:PayeeFinancialAccount/cbc:ID)