Attribute '@schemeID' is required in this context.
The @schemeID attribute is missing from ram:URIID. The rule checks whether the attribute is present.
The scheme indicates which identifier type the URI identifier belongs to.
The seller party’s URI identifier for an invoice line has no scheme information. You can add this information directly to ram:URIID.
- Find
ram:URIIDwithinram:URIUniversalCommunication. - Add the
@schemeIDattribute toram:URIID. - Generate the invoice again and validate it.
<ram:URIID>https://example.com</ram:URIID>
<ram:URIID schemeID="...">https://example.com</ram:URIID>
Technical details
The test checks only whether the @schemeID attribute is present on ram:URIID.
The rule applies to ram:URIID within ram:URIUniversalCommunication of the seller party for an invoice line.
rule/@context)assert/@test)