VRBL-INV-FR-CIUS-1p0-214

Basic Info

Rule The Invoice Line Group expects a maximum of one Invoice Line Document Reference Group used for Associated Invoices.
Context /ubl:Invoice/cac:InvoiceLine
Pattern vrbl-invoice-fr-cius-1p0
Severity warning

Used Template: CountLessEqualOne

Parameter Value
probe = cac:DocumentReference[cbc:ID/@schemeID = 'AFL']
displayName_probe = %{cac:DocumentReference} used for Associated Invoices

Implementation

count(cac:DocumentReference[cbc:ID/@schemeID = 'AFL']) <= 1