Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from ram:ID. Without this attribute, the scheme for the tax registration identifier is not specified.
The schemeID attribute identifies the scheme to which the tax registration identifier belongs.
The tax registration identifier in an invoice line’s ship-to address is missing its scheme identifier. You can correct the invoice by adding schemeID to ram:ID.
- Add the
schemeIDattribute toram:IDinsideram:SpecifiedTaxRegistration. - Generate the invoice again and validate it.
<ram:ID>...</ram:ID>
<ram:ID schemeID="...">...</ram:ID>
Technical details
In the context of ram:ID, the rule checks whether the schemeID attribute is present.
The rule applies to ram:ID inside ram:SpecifiedTaxRegistration of an invoice line’s ship-to address.
rule/@context)assert/@test)