VRBL-INV-PT-2p1-7

Basic Info

Rule When the Invoice Type Code equal to 383 or ND must contain Billing Reference Group.
Context /ubl:Invoice
Pattern vrbl-invoice-pt-2p1
Severity fatal

Implementation

not(cbc:InvoiceTypeCode = '383') and not(cbc:InvoiceTypeCode = 'ND') or boolean(cac:BillingReference)