Attribute '@schemeID' is required in this context.
The ram:URIID element for the payee’s URI communication details does not have a schemeID attribute.
The schemeID attribute identifies the scheme of the URI identifier and is required in this XML context.
The payee’s URI details are missing the schemeID attribute. Add this attribute to the ram:URIID element.
- Locate the
ram:URIIDelement withinram:URIUniversalCommunication. - Add the
schemeIDattribute toram:URIID. - Regenerate the invoice and validate it again.
<ram:URIID>...</ram:URIID>
<ram:URIID schemeID="...">...</ram:URIID>
Technical details
The XPath test checks whether the schemeID attribute is present on the context element ram:URIID.
The rule applies to the ram:URIID of the payee’s URI communication details in ram:PayeeTradeParty.
rule/@context)assert/@test)