VRBL-INV-NL-1p0-8

Basic Info

Rule If a Invoice Line Order Reference Position Number is used, the Order Reference Number must be provided.
Context /ubl:Invoice
Pattern vrbl-invoice-nl-1p0
Severity fatal

Implementation

not($NLSupplierCountry = 'NL')
or
not(boolean(cac:InvoiceLine/cac:OrderLineReference/cbc:LineID))
or
boolean(cac:OrderReference/cbc:ID)