Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from ram:ID in the manufacturer's tax registration.
The schemeID attribute identifies the scheme of the tax registration identifier. It must be present in this context.
The product manufacturer's tax registration identifier is missing the schemeID attribute. Add the attribute to ram:ID in the registration using the VA scheme.
- Locate the manufacturer's tax registration using the
VAscheme. - Check whether
ram:IDhas aschemeIDattribute. - Generate the invoice again and validate it once more.
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test directly checks whether the schemeID attribute is present on the ram:ID element; this test does not validate its value.
The rule applies to the schemeID attribute of ram:ID in the product manufacturer's tax registration using the VA scheme.
rule/@context)assert/@test)