In UBL (and some other formats, like CII and EDIFACT) some objects reference to other objects using well-defined identifiers. For UBL and CII, this identification is done on the <ID> and <Code> elements (UBL uses the same elements as CII for this), in EDIFACT this may be done in a different way.
The <ID> element uses scheme* attributes. The <Code> element uses list* attributes. The identifier resolution starts at UN/ECE 3055, which defines the agencies.
The id of the agency listed in UN/ECE 3055. So ISO will have value 5 and UN/ECE will have value 6. See https://service.unece.org/trade/untdid/d24a/tred/tred3055.htm for all values.
The name of the agency referenced with the id in schemeAgencyID or listAgencyID.
The id of scheme or list defined by the agency.
The name of the scheme or list referenced with the id in schemeID or listID.
When the scheme or list is known, some additional information can be given, like the version id of the scheme or list, or some URIs of the scheme/list or its data.
The data URI of the scheme or list.
The URI of the scheme or list.
The version id of the scheme or list.
| Agency ID | ID | Version ID |
|---|---|---|
5 (ISO) |
ISO 3166-1 2A |
second edition 2006 |
5 (ISO) |
13616 |
2007 |
5 (ISO) |
ISO 4217 3A |
2007-06-18 |
6 (UN/ECE) |
4277 |
D07A |
6 (UN/ECE) |
1225_Acknowledgement |
D07A |
6 (UN/ECE) |
4465 |
D07A |
6 (UN/ECE) |
1001_Billing Document |
D07A |
6 (UN/ECE) |
9651 |
D07A |
6 (UN/ECE) |
9653 |
D07A |
6 (UN/ECE) |
9655 |
D07A |
6 (UN/ECE) |
4053 |
D07A |
6 (UN/ECE) |
1001 |
D07A |
6 (UN/ECE) |
1373 |
D07A |
6 (UN/ECE) |
9657 |
D07A |
6 (UN/ECE) |
9659 |
D07A |
6 (UN/ECE) |
9661 |
D07A |
6 (UN/ECE) |
4431 |
D07A |
6 (UN/ECE) |
4461 |
D07A |
6 (UN/ECE) |
4439 |
D07A |
6 (UN/ECE) |
2475_Payment Terms Event |
D07A |
6 (UN/ECE) |
5375 |
D07A |
6 (UN/ECE) |
9665 |
D07A |
6 (UN/ECE) |
9667 |
D07A |
6 (UN/ECE) |
9669 |
D07A |
6 (UN/ECE) |
9671 |
D07A |
6 (UN/ECE) |
9673 |
D07A |
6 (UN/ECE) |
9675 |
D07A |
6 (UN/ECE) |
9677 |
D07A |
6 (UN/ECE) |
5305 |
D07A |
6 (UN/ECE) |
5153 |
D07A |
6 (UN/ECE) |
2475 |
D07A |
6 (UN/ECE) |
Recommendation 28 |
2007 |
6 (UN/ECE) |
Recommendation 19 |
2 |
Source of these examples: https://unece.org/DAM/uncefact/data/standard/QualifiedDataType_3p0.xsd