PintLint

Rules / IBR-065

The Item classification identifier must have a Scheme identifier

The Item classification identifier (ibt-158) must have a Scheme identifier.

Fails

<cbc:ItemClassificationCode>
  <!-- no @listID -->
</cbc:ItemClassificationCode>

Fix

Add @listID to cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode.

Schematron
Context
cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode | cac:CreditNoteLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode
Test
exists(@listID)

Official text: The Item classification identifier (ibt-158) MUST have a Scheme identifier.

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check your invoice for this rule