Rules / IBR-065
IBR-065 error
The Item classification identifier must have a Scheme identifier
The Item classification identifier (ibt-158) must have a Scheme identifier.
Fails
<cbc:ItemClassificationCode>
<!-- @listID is missing -->
</cbc:ItemClassificationCode>
Fix
Add @listID inside 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.