Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from the ram:ID element.
The schemeID attribute identifies the scheme of the tax identifier. Without this attribute, the VAT identifier is not fully designated in this context.
The ram:ID in the seller’s VA tax registration is missing the schemeID attribute. Add the attribute to complete the information.
- Locate
ram:IDin the seller’s tax registration withschemeID="VA". - Add the
schemeIDattribute toram:ID. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The XPath condition checks whether the schemeID attribute is present on the ram:ID element.
The rule applies to ram:ID inside the seller’s ram:SpecifiedTaxRegistration with schemeID="VA".
rule/@context)assert/@test)