VRBL-INV-FR-CIUS-1p0-14
Basic Info
|
Rule
|
When the Invoice Line Group does not contain a Sub Invoice Line Group and the Invoice Line Information Only Indicator is not true, the Invoice Line Quantity must exist within the Invoice Line Group. |
|
Context
|
/ubl:Invoice/cac:InvoiceLine
|
|
Pattern
|
vrbl-invoice-fr-cius-1p0-min |
|
Severity
|
fatal |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cbc:InvoicedQuantity
|
Implementation
(
boolean(cac:SubInvoiceLine) or (boolean(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceLineExtension/vrbl:InformationOnlyIndicator) and cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceLineExtension/vrbl:InformationOnlyIndicator='true')
)
or
(
boolean(cbc:InvoicedQuantity)
)