Attribute '@schemeID' is required in this context.
The ram:ID element is missing the schemeID attribute in the context of the invoice issuer’s tax registration.
The schemeID attribute identifies the scheme of the tax identifier and is part of the tax registration in this context.
No scheme is specified for the invoice issuer’s tax identifier. Add the missing attribute to complete the entry.
- Find
ram:IDin the tax registration ofInvoicerTradeParty. - Add the
schemeIDattribute to that element. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="scheme">123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The rule checks whether the schemeID attribute is present on ram:ID.
This rule applies to the schemeID attribute of ram:ID in the invoice issuer’s tax registration.
rule/@context)assert/@test)