Attribute '@schemeID' is required in this context.
The GlobalID element is missing the schemeID attribute. Without this attribute, the global identifier does not have the scheme marker required by this rule.
schemeID identifies the scheme of the global identifier. This marker associates the GlobalID value with an identification scheme.
The seller’s GlobalID is missing the schemeID marker. Add the attribute so the global identifier includes a scheme designation.
- Find the
GlobalIDelement underItemSellerTradeParty. - Add the
schemeIDattribute to that element. - Regenerate the invoice and validate it again.
Technical details
The XPath checks whether the schemeID attribute is present in the GlobalID context.
The rule applies to the seller’s GlobalID element for an invoice line.
rule/@context)assert/@test)