VRBL-INV-AE-1p0-130

Basic Info

Rule When Payment Means Payment Means Code is '30', the Payee Financial Account ID must exist within the Payment Means Group.
Context /ubl:Invoice/cac:PaymentMeans
Pattern vrbl-invoice-AE-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:PayeeFinancialAccount/cbc:ID

Implementation

(
	not(cbc:PaymentMeansCode = '30')
)
or
(
	boolean(cac:PayeeFinancialAccount/cbc:ID)
)