VRBL-INV-IN-1p0-127

Basic Info

Rule When used for the HSN Code, the Item Classification Code must contain only digits.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode
Pattern vrbl-invoice-in-1p0
Severity fatal

Implementation

not(@listID = 'HS') 
or 
translate(normalize-space(.), '0123456789', '') = ''