Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from the payee’s ram:GlobalID. The rule requires this attribute to be present.
schemeID specifies the scheme of the global identifier. Without this attribute, the identifier’s scheme designation is missing.
The payee’s global identifier is missing schemeID. Add the attribute to ram:GlobalID so that the identifier specifies its scheme.
- Locate
ram:GlobalIDwithinram:PayeeTradeParty. - Add the
schemeIDattribute there. - Generate the invoice again and validate it once more.
<ram:GlobalID>123</ram:GlobalID>
<ram:GlobalID schemeID="ABC">123</ram:GlobalID>
Technical details
The test checks whether the @schemeID attribute is present on the ram:GlobalID context node.
The rule applies to ram:GlobalID within ram:PayeeTradeParty.
rule/@context)assert/@test)