Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from the ID element. The attribute is required in this context.
The rule requires the tax registration identifier to have a schemeID attribute.
The ID element in the invoicee’s tax registration is missing the schemeID attribute. Add the attribute so the identifier is provided with its required attribute.
- Find
IDin the invoicee’s tax registration. - Add the
schemeIDattribute to theIDelement. - Generate the invoice again and validate it again.
<ram:SpecifiedTaxRegistration> <ram:ID>12345</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="...">12345</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test checks only whether the schemeID attribute is present on the ID element.
The rule applies to ID in the invoicee’s tax registration.
rule/@context)assert/@test)