VRBL-INV-FR-CIUS-1p0-51
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 Country Identification Code 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:PostalAddress/cac:Country/cbc:IdentificationCode
|
Implementation
(
not($isSpecialContract) or not(boolean(cac:SubInvoiceLine))
)
or
(
boolean(cac:Item/cac:ManufacturerParty/cac:PostalAddress/cac:Country/cbc:IdentificationCode)
)