Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from ram:GlobalID. The scheme used for the identifier is therefore not specified.
The schemeID attribute identifies the scheme of the global identifier provided in ram:GlobalID. Without this attribute, the scheme is not stated.
The schemeID attribute is missing from the invoicer’s ram:GlobalID. Add the identifier so that the identifier’s scheme is stated.
- Locate
ram:GlobalIDunderInvoicerTradeParty. - Add the
schemeIDattribute to the element. - Generate the invoice again and validate it.
<ram:GlobalID>123456789</ram:GlobalID>
<ram:GlobalID schemeID="">123456789</ram:GlobalID>
Technical details
The test directly checks whether @schemeID is present on ram:GlobalID.
The rule applies to the invoicer’s ram:GlobalID element under InvoicerTradeParty.
rule/@context)assert/@test)