Attribute '@listID' is required in this context.
The ram:ClassCode in the product classification is missing the listID attribute.
listID identifies the code list from which the product classification code originates.
The product classification does not specify which code list is used for ram:ClassCode. You can resolve this by adding that information to the invoice.
- Add the
listIDattribute toram:ClassCode. - Regenerate the invoice and validate it again.
<ram:ClassCode>...</ram:ClassCode>
<ram:ClassCode listID="...">...</ram:ClassCode>
Technical details
The @listID test checks only whether the attribute is present.
The rule applies to ram:ClassCode within the product classification of an invoice line.
rule/@context)assert/@test)