Attribute '@schemeID' is required in this context.
The required @schemeID attribute is missing from ram:ID in ram:SpecifiedTaxRegistration.
@schemeID identifies the scheme used to interpret the tax identifier.
The buyer agent’s tax identifier has no @schemeID. Add the missing attribute to specify the identifier’s scheme.
- Locate
ram:IDin the buyer agent’sram:SpecifiedTaxRegistration. - Add the required
@schemeIDattribute toram:ID. - Regenerate the invoice and validate it again.
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="...">123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test checks whether the @schemeID attribute is present on the context node.
The checked attribute is @schemeID on ram:ID in ram:SpecifiedTaxRegistration of the buyer agent.
rule/@context)assert/@test)