Attribute '@schemeID' is required in this context.
The ram:GlobalID element is missing its required schemeID attribute. Without this attribute, the identifier scheme designation required in this context is missing.
The schemeID attribute identifies the scheme to which the global identifier belongs. This association is needed to identify the identifier’s scheme.
The schemeID attribute is missing from the ultimate delivery recipient’s ram:GlobalID. You can complete the identifier by providing this attribute.
- Find
ram:GlobalIDin the ultimate delivery recipient details. - Add the
schemeIDattribute to this element. - Generate the invoice again and validate it once more.
<ram:GlobalID>123456</ram:GlobalID>
<ram:GlobalID schemeID="...">123456</ram:GlobalID>
Technical details
The rule checks whether the schemeID attribute is present on the ram:GlobalID context node.
The rule applies to the ultimate delivery recipient’s global identifier ram:GlobalID in ram:UltimateShipToTradeParty.
rule/@context)assert/@test)