Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from ram:ID. This attribute must be present in this context.
schemeID indicates which identification scheme applies to the tax registration identifier. Without this attribute, the identifier’s scheme is not specified.
The schemeID attribute is missing from ram:ID in the buyer’s tax representative’s tax registration. Add this attribute to complete the identification of the tax registration identifier.
- Locate
ram:IDinram:SpecifiedTaxRegistrationfor the buyer’s tax representative. - Add the
schemeIDattribute toram:ID. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration> <ram:ID>123456</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="SCHEME">123456</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The XPath test checks whether the schemeID attribute is present on the context node ram:ID.
The rule applies to the schemeID attribute of ram:ID in ram:SpecifiedTaxRegistration for the buyer’s tax representative.
rule/@context)assert/@test)