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