Attribute '@schemeID' is required in this context.
The required @schemeID attribute is missing from the tax registration’s ram:ID.
@schemeID identifies the scheme used for the tax registration identifier. The rule requires this attribute on ram:ID.
@schemeID is missing from ram:ID in the buyer’s tax registration. Add this attribute so the identifier specifies its scheme.
- Check
ram:IDin the buyer’sram:SpecifiedTaxRegistration. - Add the
@schemeIDattribute toram:ID. - Regenerate the invoice and validate it again.
<ram:SpecifiedTaxRegistration> <ram:ID>12345</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="value">12345</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The XPath checks whether the @schemeID attribute is present on the current ram:ID.
The rule applies to the @schemeID attribute of ram:ID within the buyer’s ram:SpecifiedTaxRegistration.
rule/@context)assert/@test)