VRBL-INV-DK-OIOUBL-2p0-87

Basic Info

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

Implementation

not(. = '93')
or
(
	../cbc:PaymentID = '73'
	or
	../cbc:PaymentID = '75'
	or
	not(boolean(../cbc:InstructionNote))
)