Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from ram:GlobalID. The identification scheme for the global product identifier is therefore not specified.
schemeID identifies the scheme used to interpret the global product identifier. Without the attribute, this classification information is missing.
The global product identifier is missing the information that specifies how it should be interpreted. Add the attribute to the relevant ram:GlobalID.
- Find
ram:GlobalIDinSpecifiedTradeProductfor the affected invoice line. - Add the
schemeIDattribute there. - Generate the invoice again and validate it once more.
<ram:GlobalID>123456</ram:GlobalID>
Technical details
The XPath test checks whether the schemeID attribute exists on the current ram:GlobalID element.
The rule applies to the schemeID attribute of ram:GlobalID in SpecifiedTradeProduct for an invoice line.
rule/@context)assert/@test)