Value of '@schemeID' is not allowed.
The value of the schemeID attribute in ram:ID is neither empty nor included in the designated code list.
The scheme code identifies the system or type of the seller’s legal identifier. An allowed code enables this identifier to be interpreted consistently.
A scheme code is specified for the seller’s legal identifier, but it does not match the designated code list. You can adjust the value in ram:ID or leave the attribute empty.
- Check the value of the
schemeIDattribute inram:IDunderram:SpecifiedLegalOrganization. - Use a value included in the designated code list or leave the attribute empty.
- Generate the invoice again and validate it.
<ram:SpecifiedLegalOrganization> <ram:ID schemeID="NOT-A-CODE">123456</ram:ID> </ram:SpecifiedLegalOrganization>
<ram:SpecifiedLegalOrganization> <ram:ID schemeID="">123456</ram:ID> </ram:SpecifiedLegalOrganization>
Technical details
The test accepts an empty value or a value present in the code list identified as 16.
The rule applies to the schemeID attribute of ram:ID within the seller’s ram:SpecifiedLegalOrganization.
rule/@context)assert/@test)