Attribute '@schemeID' is required in this context.
The relevant ram:ID has no schemeID attribute. The rule checks this attribute on the seller's VAT identifier registration.
The scheme identifies the type of seller identifier. In this context, VA identifies the VAT identifier.
The seller’s VAT identifier registration is missing the scheme identifier on ram:ID. Adding the attribute can resolve this issue.
- Add the
schemeIDattribute to the relevantram:ID. - Regenerate the invoice and validate it again.
<ram:ID>...</ram:ID>
<ram:ID schemeID="">...</ram:ID>
Technical details
The test checks whether the schemeID attribute is present on the ram:ID selected by the context.
The rule applies to ram:ID within the seller's ram:SpecifiedTaxRegistration when the registration is identified by schemeID="VA".
rule/@context)assert/@test)