fatalEN 16931EN 16931 business ruleCIIUBLBT-158
The Item classification identifier (BT-158) shall have a Scheme identifier.
The Item classification identifier (BT-158) has no scheme identifier.
Add listID to the item's CommodityClassification code, e.g. STI for CPV, MP for UNSPSC, TSP for a supplier's own classification.
CII — context //ram:DesignatedProductClassification
normalize-space(ram:ClassCode/@listID) != '' or not (ram:ClassCode)
UBL — context cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode | cac:CreditNoteLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode
exists(@listID)
Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.