Attribute '@schemeID' is required in this context.
The affected ram:ID is missing the @schemeID attribute. The rule checks whether this attribute is present.
The scheme identifies the type of identifier. The value VA here denotes a VAT identifier.
The scheme of the seller’s VAT identifier for an invoice line is being checked. You can add the missing information to ram:ID.
- Find the affected seller identifier in
ram:SpecifiedTaxRegistration. - Check whether
ram:IDhas the@schemeIDattribute. - Generate the invoice again and validate it.
Technical details
The test checks only whether the @schemeID attribute is present on the context node. The Rule Context already selects ram:ID elements with @schemeID="VA".
The rule applies to ram:ID in a seller ram:SpecifiedTaxRegistration for an invoice line when @schemeID has the value VA.
rule/@context)assert/@test)