Attribute '@listID' is required in this context.
The listID attribute is missing from ram:ClassCode. The attribute is required in this context.
The list identifier states which code list the classification code belongs to. Without this attribute, the code's list association is not fully specified.
The product's classification code is missing its list identifier. Add the missing attribute so the code's list association is specified.
- Locate the affected
ram:ClassCodeinDesignatedProductClassification. - Add the
listIDattribute to the element. - Regenerate the invoice and validate it again.
<ram:DesignatedProductClassification> <ram:ClassCode>123</ram:ClassCode> </ram:DesignatedProductClassification>
<ram:DesignatedProductClassification> <ram:ClassCode listID="...">123</ram:ClassCode> </ram:DesignatedProductClassification>
Technical details
The test directly checks whether the listID attribute is present on ram:ClassCode.
The rule applies to ram:ClassCode within DesignatedProductClassification of an invoice-line product.
rule/@context)assert/@test)