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 identifier is not fully designated in this context.
The ram:ID in the seller’s FC tax registration is missing the schemeID attribute. Add the attribute to complete the information.
- Locate
ram:IDin the seller’s tax registration withschemeID="FC". - 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="FC">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="FC".
rule/@context)assert/@test)