VRBL-INV-PT-2p1-270

Basic Info

Rule For Payment Means Type Code = VRBL:PT:MB, the Remittance Information and the Payment Means ATM Payment Entity must be filled.
Context /ubl:Invoice/cac:PaymentMeans
Pattern vrbl-invoice-pt-2p1
Severity fatal

Implementation

not(cbc:PaymentMeansCode = 'VRBL:PT:MB')
or
boolean(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:PaymentMeansExtension/vrbl:ATMPaymentEntity) and boolean(cbc:PaymentID)