VRBL-INV-DK-OIOUBL-2p0-86

Basic Info

Rule When the Payment Means Payment Means Code is "50", the Payment Means Instruction Note can only be provided if the Payment Means Payment ID is '01'.
Context /ubl:Invoice/cac:PaymentMeans/cbc:PaymentMeansCode
Pattern vrbl-invoice-dk-oioubl-2p0
Severity fatal

Implementation

not(. = '50')
or
(
	../cbc:PaymentID = '01'
	or
	not(boolean(../cbc:InstructionNote))
)