Any scheme identifier in <name/> MUST be coded using one of the ISO 6523 ICD list.
The schemeID of an affected GlobalID is not in the ISO 6523 ICD extension list or contains whitespace. The value must be a single identifier included in that list.
The ISO 6523 ICD list defines codes for identification schemes. A code from this list allows the identifier scheme to be identified unambiguously.
For a GlobalID, schemeID is not a valid single identifier from the ISO 6523 ICD list. Replace it with an identifier included in that list and containing no spaces.
- Find the affected
GlobalIDand note the value ofschemeID. - Replace the value with an identifier from the ISO 6523 ICD list that contains no spaces.
- Generate the invoice again and validate it once more.
Technical details
The test normalizes @schemeID, requires it to contain no spaces, and checks membership in $ISO-6523-ICD-EXT-CODES. GlobalID elements inside SpecifiedTradeProduct and ShipToTradeParty are excluded.
The rule applies to GlobalID elements with schemeID in the extension context, except when they belong to SpecifiedTradeProduct or ShipToTradeParty.
rule/@context)assert/@test)