VRBL-INV-HU-1p0-11
Basic Info
|
Rule
|
The Invoice Document Reference ID and Invoice Document Reference Issue Date must exist when the Invoice Document Reference Prepayment Amount is provided. |
|
Context
|
/ubl:Invoice/cac:BillingReference/cac:InvoiceDocumentReference
|
|
Pattern
|
vrbl-invoice-hu-1p0 |
|
Severity
|
fatal |
Implementation
not(boolean(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceDocumentReferenceExtension/vrbl:InvoicedPrepaymentAmount))
or
(
boolean(cbc:IssueDate)
and
boolean(cbc:ID)
)