VRBL-INV-DE-XR-21

Basic Info

Rule For bank card, credit card or debit card the Payee Financial Account Group or Payment Means Payment Mandate Group is not allowed.
Context /ubl:Invoice/cac:PaymentMeans
Pattern vrbl-invoice-de-xr-3p0
Severity fatal

Implementation

not(
	cbc:PaymentMeansCode = '48'
	or
	cbc:PaymentMeansCode = '54'
	or
	cbc:PaymentMeansCode = '55'
)
or
(
	not(boolean(cac:PayeeFinancialAccount))
	and
	not(boolean(cac:PaymentMandate))
)