Rules / IBR-188-AE
The scheme identifier must be HS when Item classification identifier is provided
The scheme identifier (ibt-158-1) must be HS when Item classification identifier (ibt-158) is provided.
Fails when this is false
not(cac:CommodityClassification/cbc:ItemClassificationCode) or cac:CommodityClassification/cbc:ItemClassificationCode/@listID = "HS"The schematron test, verbatim. Context: cac:Item
Fix
Change the data so the condition below holds. It reads cac:CommodityClassification, cbc:ItemClassificationCode, @listID. Paste the invoice into the validator to see the exact element that fails.