VRBL-INV-PT-2p1-271

Basic Info

Rule For Payment Means Payment Means Code = VRBL:PT:DUC, the Payment Means Payment ID must be filled.
Context /ubl:Invoice/cac:PaymentMeans
Pattern vrbl-invoice-pt-2p1
Severity fatal

Implementation

not(cbc:PaymentMeansCode = 'VRBL:PT:DUC')
or
boolean(cbc:PaymentID)