Attribute '@schemeID' is required in this context.
The legal organization’s ram:ID element has no schemeID attribute. The scheme to which the identifier value belongs is therefore not specified.
The scheme identifies how the legal organization’s identifier is to be interpreted.
The legal organization identifier for the ship-to party is missing its scheme. Add the attribute to the ram:ID element.
- Find
ram:IDunderram:SpecifiedLegalOrganizationfor the ship-to party. - Add the
schemeIDattribute to that element. - Generate the invoice again and validate it.
<ram:SpecifiedLegalOrganization> <ram:ID>123</ram:ID> </ram:SpecifiedLegalOrganization>
<ram:SpecifiedLegalOrganization> <ram:ID schemeID="">123</ram:ID> </ram:SpecifiedLegalOrganization>
Technical details
In the context of ram:SpecifiedLegalOrganization/ram:ID, the check verifies that the schemeID attribute is present.
This rule applies to the ram:ID of the ship-to party’s legal organization within an invoice line.
rule/@context)assert/@test)