VRBL-INV-FR-CIUS-1p0-49

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 Registration Name 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:RegistrationName

Implementation

(
	not($isSpecialContract) or not(boolean(cac:SubInvoiceLine))
)
or
(
	boolean(cac:Item/cac:ManufacturerParty/cac:PartyLegalEntity/cbc:RegistrationName)
)