VRBL-INV-IT-1p2-40

Basic Info

Rule When used for the main invoice, the Additional Billing Document Reference Issue Date must exist within the Additional Billing Document Reference Group.
Context /ubl:Invoice/cac:BillingReference/cac:AdditionalDocumentReference
Pattern vrbl-invoice-it-1p2
Severity fatal

Used Template: Exists

Parameter Value
probe = cbc:IssueDate

Implementation

(
	not(cbc:ID/@schemeID = concat($VRBL-IT-Prefix, 'ZZZ'))
)
or
(
	boolean(cbc:IssueDate)
)