VRBL-INV-FR-CIUS-1p0-218
Basic Info
| Rule | The Sub Invoice Line Group expects a maximum of one Sub Invoice Line Document Reference Group used for Associated Invoices. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:SubInvoiceLine
|
| 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