VRBL-INV-FR-CIUS-1p0-50
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 Manufacturer Party Legal Entity Company ID must exist within the Invoice Line Group. |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-fr-cius-1p0 |
| Severity | warning |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:Item/cac:ManufacturerParty/cac:PartyLegalEntity/cbc:CompanyID
|
Implementation
(
not($isSpecialContract) or not(boolean(cac:SubInvoiceLine))
)
or
(
boolean(cac:Item/cac:ManufacturerParty/cac:PartyLegalEntity/cbc:CompanyID)
)