VRBL-INV-MY-1p0-109
Basic Info
|
Rule
|
The Invoice Line Group expects one Invoice Line Commodity Classification Code used for Category of Products or Services. |
|
Context
|
/ubl:Invoice/cac:InvoiceLine/cac:Item
|
|
Pattern
|
vrbl-invoice-my-1p0 |
|
Severity
|
fatal |
Used Template: CountEqualsOne
| Parameter |
|
Value |
| probe |
= |
cac:CommodityClassification/cbc:ItemClassificationCode[@listID = concat($VRBL-MY-Prefix, 'CLASS')]
|
| displayName_probe |
= |
%{cac:CommodityClassification/cbc:ItemClassificationCode} used for Category of Products or Services
|
Implementation
count(cac:CommodityClassification/cbc:ItemClassificationCode[@listID = concat($VRBL-MY-Prefix, 'CLASS')]) = 1