Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from ram:GlobalID. As a result, the scheme for the global identifier is not specified.
The schemeID attribute identifies the scheme used to interpret the sales agent’s global identifier.
The sales agent’s global identifier does not specify which identifier scheme is used. Add the schemeID attribute to ram:GlobalID.
- Locate
ram:GlobalIDfor the sales agent. - Add the
schemeIDattribute to this element. - Generate the invoice again and validate it once more.
Technical details
The rule checks whether the schemeID attribute is present in the ram:GlobalID context.
The rule applies to the sales agent’s ram:GlobalID in SalesAgentTradeParty.
rule/@context)assert/@test)