Codelists
code list is a list of valid values for a given OIOUBL field.
The code lists are widely used in OIOUBL. Partly, to make it easier for users to fill out the fields by use of an options list, and, partly, to secure consistent use of the fields, and thereby enabling validation and attachment of logic to the fields in the individual systems. Hence, the objective is to achieve fully automated processing of the delivered data, and thus minimize the required number of manual workflows.
OIOUBL operates with four code types:
- Static codes, which are embedded in the standard.
- Publicly known codes that can be updated, e.g. ISO 4217.
.
- OIOUBL defined codes that can be updated, e.g. TaxSchemeID.
.
- Mutually agreed codes.
For the Danish OIOUBL adaptation a series of code lists has been prepared, e.g. TaxSchemeID (Ref. K18). OIOUBL code lists are identified by a urn, and are referenced from the attributes of the fields in question. Based on the ID, it can be established which type of code list is being applied, e.g. VAT
In some cases, the reference to a code list must be prefixed by a qualifier (here a scheme-uri is used). This applies, for example, when identifying business parties, in which case a code list specifies the valid IDs that may be used for identification of a party, and the qualifier is used to specify which of the mentioned IDs are used, e.g. DK12345678
|