VRBL-INV-FR-CIUS-1p0-56
Basic Info
| Rule | When the Invoice Subtype Code represents a special contract, the Sub Invoice Line Item Manufacturer Party Legal Entity Company ID must exist within the Sub Invoice Line Group. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:SubInvoiceLine
|
| 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
(
boolean(cac:Item/cac:ManufacturerParty/cac:PartyLegalEntity/cbc:CompanyID)
)