VRBL-INV-DE-XR-19

Basic Info

Rule For credit transfer or SEPA credit transfer no Payment Means Card Account Group or Payment Means Payment Mandate Group is allowed.
Context /ubl:Invoice/cac:PaymentMeans
Pattern vrbl-invoice-de-xr-3p0
Severity fatal

Implementation

not(
	cbc:PaymentMeansCode = '30'
	or
	cbc:PaymentMeansCode = '58'
)
or
(
	not(boolean(cac:CardAccount))
	and
	not(boolean(cac:PaymentMandate))
)