Code lists topic
Code lists
The lists the standard points at rather than defines: countries, currencies, units, VAT categories, payment means, and the rest.
Each is extracted from the published validation artefacts, so a list is what the rules actually check against rather than what a reader remembers.
Classes
- CodeValue Code lists
- A value drawn from a published code list.
- InvoiceTypeCode Code lists
- BT-3. What kind of document this is, from UNTDID 1001.
- PaymentMeansCode Code lists
- BT-81. How payment is expected, from UNTDID 4461.
- Scheme Code lists
- The registers an identifier can be issued under.
- UnitCode Code lists
- BT-130 and BT-150. The unit a quantity is counted in, from UN/ECE Recommendation 20 and its Recommendation 21 extension.
Constants
-
attachmentMimeTypes
→ const Set<
String> Code lists - The media types an attachment may carry, which the standard narrows to six.
-
cefEasSchemes
→ const Set<
String> Code lists - The EAS list of electronic address schemes, published by the European Commission.
-
iso3166Countries
→ const Set<
String> Code lists - ISO 3166-1 alpha-2 country codes.
-
iso4217Currencies
→ const Set<
String> Code lists - ISO 4217 alpha-3 currency codes.
-
iso6523Icd
→ const Set<
String> Code lists - ISO 6523 ICD, the schemes an organisation identifier is issued under.
-
uncl5189AllowanceReasons
→ const Set<
String> Code lists - UNCL 5189 allowance reason codes.
-
uncl5305VatCategories
→ const Set<
String> Code lists - UNCL 5305 VAT category codes.
-
unece20UnitCodes
→ const Set<
String> Code lists - UN/ECE Recommendation 20 units of measure, with the Recommendation 21 extension.
-
untdid1001DocumentTypes
→ const Set<
String> Code lists - UNTDID 1001, narrowed to the invoice and credit note codes.
-
untdid1153ReferenceQualifiers
→ const Set<
String> Code lists - UNTDID 1153 reference qualifiers.
-
untdid2005VatPointDateCodes
→ const Set<
String> Code lists - UNTDID 2005, narrowed to the three codes that say when VAT falls due.
-
untdid4451NoteSubjects
→ const Set<
String> Code lists - UNTDID 4451 note subject codes.
-
untdid4461PaymentMeans
→ const Set<
String> Code lists - UNTDID 4461 payment means codes.
-
untdid7143ClassificationSchemes
→ const Set<
String> Code lists - UNTDID 7143 item classification schemes.
-
untdid7161ChargeReasons
→ const Set<
String> Code lists - UNTDID 7161 charge reason codes.
-
vatexExemptionReasons
→ const Set<
String> Code lists - The VATEX list of VAT exemption reasons, published by the European Commission.
Enums
- VatCategory Code lists
- BT-95, BT-102, BT-118 and BT-151. The VAT treatment of an amount, from UNCL 5305.