VRBL-INV-IN-1p0-117
Basic Info
| Rule | When used for the HSN Code, the allowed maximum number of characters for the Invoice Line Commodity Classification Code is 8. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode
|
| Pattern | vrbl-invoice-in-1p0 |
| Severity | fatal |
Used Template: MaximumStringLength
| Parameter | Value | |
|---|---|---|
| probe | = |
.
|
| length | = |
8
|
Implementation
(
not(@listID = 'HS')
)
or
(
string-length(normalize-space(.)) <= 8
)