Value of '@schemeID' is not allowed.
The value of schemeID on GlobalID is not included in the code list defined for this attribute. An empty value is exempt from this test.
The identification scheme for a global identifier must use a value defined in the code list for schemeID, unless the value is empty.
The schemeID value on the buyer agent’s global identifier is not included in the code list for this attribute. Using a value listed there resolves this issue.
- Find
GlobalIDinBuyerAgentTradeParty. - Check the
schemeIDattribute value against the code list defined for it. - Replace a value that is not listed with an allowed value.
- Generate the invoice again and validate it once more.
Technical details
The test accepts an empty $codeValue11 value or a value included in the enumeration of code list ID 11.
The rule applies to the schemeID attribute of the GlobalID element in BuyerAgentTradeParty.
rule/@context)assert/@test)