Attribute '@schemeID' is required in this context.
The required @schemeID attribute is missing from ram:GlobalID. Without this attribute, the global product identifier lacks the scheme designation required in this context.
The @schemeID attribute identifies the scheme of the global product identifier and is mandatory in this context.
The global product identifier is missing the information about which scheme is used. Add the required @schemeID attribute to ram:GlobalID.
- Find
ram:GlobalIDin the invoice line’s product details. - Add the
@schemeIDattribute. - Generate the invoice again and validate it once more.
<ram:GlobalID>…</ram:GlobalID>
<ram:GlobalID schemeID="…">…</ram:GlobalID>
Technical details
The test requires the @schemeID attribute to be present on ram:GlobalID.
The rule applies to ram:GlobalID in the product details of an invoice line.
rule/@context)assert/@test)