Attribute '@schemeID' is required in this context.
The ID element in the tax registration is missing the schemeID attribute.
schemeID identifies the scheme of the tax registration ID. Without this attribute, the scheme information required in this context is missing.
The scheme information is missing from the sales agent’s tax registration ID. Add the schemeID attribute to the ID element.
- Open the
IDelement in the sales agent’sSpecifiedTaxRegistration. - Add the
schemeIDattribute to that element. - Regenerate the invoice and validate it again.
<ram:SpecifiedTaxRegistration> <ram:ID>...</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="...">...</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The rule checks whether the schemeID attribute is present on the contextual ID element; it does not check a specific attribute value.
The rule applies to the schemeID attribute of ID in the sales agent’s SpecifiedTaxRegistration.
rule/@context)assert/@test)