Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from the GlobalID element in BuyerTradeParty.
The buyer’s global identifier must include a scheme identifier so that the identifier can be classified under its intended scheme.
The buyer’s GlobalID element does not include schemeID. You can add this attribute so the identifier specifies its scheme.
- Find
GlobalIDinBuyerTradeParty. - Add the
schemeIDattribute with the scheme identifier belonging to the buyer’s global identifier. - Generate the invoice again and validate it.
Technical details
Within GlobalID, the rule checks whether the schemeID attribute is present.
The rule applies to the schemeID attribute of GlobalID in the buyer details BuyerTradeParty.
rule/@context)assert/@test)