VRBL-INV-FR-CIUS-1p0-60
Basic Info
| Rule | When the Invoice Subtype Code represents a special contract and the Invoice Line Group contains a Sub Invoice Line Group, the Invoice Line Invoice Document Reference ID must be unique among Invoice Line Group entries. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID
|
| Pattern | vrbl-invoice-fr-cius-1p0 |
| Severity | warning |
Implementation
not($isSpecialContract) or not(boolean(../../../cac:SubInvoiceLine))
or
count(/ubl:Invoice/cac:InvoiceLine[cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID = current()])=1