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