VRBL-INV-FR-CIUS-1p0-162
Basic Info
|
Rule
|
When the Invoice Subtype Code represents a prepaid invoice, the Due Date must exist within the Invoice. |
|
Context
|
/ubl:Invoice
|
|
Pattern
|
vrbl-invoice-fr-cius-1p0 |
|
Severity
|
warning |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cbc:DueDate
|
Implementation
(
not(contains($VRBL-CL-FR-InvoiceSubtypeCode-Prepaid, concat(' ', substring-after(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:InvoiceSubtypeCode, $VRBL-FR-Prefix), ' ')))
)
or
(
boolean(cbc:DueDate)
)