VRBL-INV-PT-2p1-270
Basic Info
| Rule | For Payment Means Payment Means Code = VRBL:PT:MB, the Payment Means Payment ID and the Payment Means Payment Means Extension ATMPayment 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)