Rules
Basic Info
|
Rule
|
The Sub Invoice Line Group expects a maximum of one Sub Invoice Line Document Reference Group used for Framework Agreement Number. |
|
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 = 'AVV']
|
| displayName_probe |
= |
%{cac:DocumentReference} used for Framework Agreement Number
|
Implementation
count(cac:DocumentReference[cbc:ID/@schemeID = 'AVV']) <= 1