VRBL-INV-MX-1p0-76
Basic Info
| Rule | The Delivery Terms ID must exist within the Invoice. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-mx-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:DeliveryTerms/cbc:ID
|
Implementation
(
not(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:ExportTypeCode = concat($VRBL-MX-Prefix,'02'))
)
or
(
boolean(cac:DeliveryTerms/cbc:ID)
)