Attribute '@schemeID' is required in this context.
The ram:GlobalID element has no schemeID attribute. The scheme used to identify the global product identifier is therefore missing.
The scheme associates the global product identifier with an identification system. Without it, the identifier cannot be classified unambiguously.
The global product identifier is missing the information that specifies its identification scheme. Add the attribute so the identifier can be classified.
- Locate
ram:GlobalIDin the referenced product on the invoice line. - Add the
schemeIDattribute with the identification scheme being used. - Generate the invoice again and validate it again.
<ram:GlobalID>12345</ram:GlobalID>
<ram:GlobalID schemeID="…">12345</ram:GlobalID>
Technical details
The test checks whether the schemeID attribute is present on ram:GlobalID.
This rule applies to ram:GlobalID within a referenced product on an invoice line.
rule/@context)assert/@test)