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