gobl 0.12.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -9
  3. data/data/regimes/it.json +13 -0
  4. data/data/regimes/us.json +20 -0
  5. data/lib/generated/gobl/bill/charge.rb +6 -1
  6. data/lib/generated/gobl/bill/delivery.rb +1 -1
  7. data/lib/generated/gobl/bill/discount.rb +1 -1
  8. data/lib/generated/gobl/bill/document_reference.rb +1 -1
  9. data/lib/generated/gobl/bill/invoice.rb +1 -1
  10. data/lib/generated/gobl/bill/line.rb +1 -1
  11. data/lib/generated/gobl/bill/line_charge.rb +1 -1
  12. data/lib/generated/gobl/bill/line_discount.rb +1 -1
  13. data/lib/generated/gobl/bill/ordering.rb +1 -1
  14. data/lib/generated/gobl/bill/outlay.rb +1 -1
  15. data/lib/generated/gobl/bill/payment.rb +1 -1
  16. data/lib/generated/gobl/bill/preceding.rb +1 -1
  17. data/lib/generated/gobl/bill/tax.rb +1 -1
  18. data/lib/generated/gobl/bill/totals.rb +1 -1
  19. data/lib/generated/gobl/cal/date.rb +1 -1
  20. data/lib/generated/gobl/cal/period.rb +1 -1
  21. data/lib/generated/gobl/cbc/code.rb +1 -1
  22. data/lib/generated/gobl/cbc/key.rb +1 -1
  23. data/lib/generated/gobl/cbc/meta.rb +1 -1
  24. data/lib/generated/gobl/cbc/note.rb +9 -4
  25. data/lib/generated/gobl/cbc/stamp.rb +1 -1
  26. data/lib/generated/gobl/currency/code.rb +1 -1
  27. data/lib/generated/gobl/currency/exchange_rate.rb +1 -1
  28. data/lib/generated/gobl/document.rb +1 -1
  29. data/lib/generated/gobl/dsig/digest.rb +1 -1
  30. data/lib/generated/gobl/dsig/signature.rb +1 -1
  31. data/lib/generated/gobl/envelope.rb +1 -1
  32. data/lib/generated/gobl/header.rb +2 -2
  33. data/lib/generated/gobl/i18n/string.rb +1 -1
  34. data/lib/generated/gobl/l10n/code.rb +1 -1
  35. data/lib/generated/gobl/l10n/country_code.rb +38 -38
  36. data/lib/generated/gobl/note/message.rb +1 -1
  37. data/lib/generated/gobl/org/address.rb +1 -1
  38. data/lib/generated/gobl/org/coordinates.rb +1 -1
  39. data/lib/generated/gobl/org/email.rb +1 -1
  40. data/lib/generated/gobl/org/identity.rb +1 -1
  41. data/lib/generated/gobl/org/image.rb +1 -1
  42. data/lib/generated/gobl/org/inbox.rb +1 -1
  43. data/lib/generated/gobl/org/item.rb +1 -1
  44. data/lib/generated/gobl/org/name.rb +1 -1
  45. data/lib/generated/gobl/org/party.rb +1 -1
  46. data/lib/generated/gobl/org/person.rb +1 -1
  47. data/lib/generated/gobl/org/registration.rb +9 -1
  48. data/lib/generated/gobl/org/telephone.rb +1 -1
  49. data/lib/generated/gobl/org/unit.rb +1 -1
  50. data/lib/generated/gobl/org/website.rb +1 -1
  51. data/lib/generated/gobl/pay/advance.rb +1 -1
  52. data/lib/generated/gobl/pay/card.rb +1 -1
  53. data/lib/generated/gobl/pay/credit_transfer.rb +1 -1
  54. data/lib/generated/gobl/pay/direct_debit.rb +1 -1
  55. data/lib/generated/gobl/pay/due_date.rb +1 -1
  56. data/lib/generated/gobl/pay/instructions.rb +11 -11
  57. data/lib/generated/gobl/pay/online.rb +1 -1
  58. data/lib/generated/gobl/pay/terms.rb +2 -2
  59. data/lib/generated/gobl/tax/category.rb +1 -1
  60. data/lib/generated/gobl/tax/category_total.rb +1 -1
  61. data/lib/generated/gobl/tax/combo.rb +1 -1
  62. data/lib/generated/gobl/tax/identity.rb +1 -1
  63. data/lib/generated/gobl/tax/identity_type.rb +1 -1
  64. data/lib/generated/gobl/tax/key_definition.rb +1 -1
  65. data/lib/generated/gobl/tax/preceding_definitions.rb +1 -1
  66. data/lib/generated/gobl/tax/rate.rb +1 -1
  67. data/lib/generated/gobl/tax/rate_total.rb +1 -1
  68. data/lib/generated/gobl/tax/rate_total_surcharge.rb +1 -1
  69. data/lib/generated/gobl/tax/rate_value.rb +1 -1
  70. data/lib/generated/gobl/tax/regime.rb +6 -1
  71. data/lib/generated/gobl/tax/scenario.rb +1 -1
  72. data/lib/generated/gobl/tax/scenario_set.rb +1 -1
  73. data/lib/generated/gobl/tax/set.rb +1 -1
  74. data/lib/generated/gobl/tax/tag.rb +1 -1
  75. data/lib/generated/gobl/tax/total.rb +1 -1
  76. data/lib/generated/gobl/tax/zone.rb +1 -1
  77. data/lib/generated/gobl/uuid/uuid.rb +1 -1
  78. data/lib/gobl/version.rb +1 -1
  79. metadata +6 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01ff1f5f1952b457c0e3f6cae8413700de5ed91f07d8e3b7b8460f9dbd18c98d
4
- data.tar.gz: 5bf384ff04e77aa7304fcd7b99f7c9cc0dbd50fa0ca060753575bfe569023d18
3
+ metadata.gz: dfea0d56efe6b8768eeb6bb8f0b24ba06f3cb0a92d20bd1b4a82d26eb8ad9339
4
+ data.tar.gz: 134bd9649596f3abda61cfde20ce93792ff934c824daaf88fe49b10799c2d8bf
5
5
  SHA512:
6
- metadata.gz: 4b64bbc22b727558079e18f90ac10a9cbdf0150f057590887830cc59c5ab9274d8c20f7fbdfd854cff42c70aba8ef46e800a23699315f65f8d5f5391925e1ef3
7
- data.tar.gz: 96cc1e1548d7be6dd012cc0c2a2f69a1a4255749329b1f1b994c4de49e48131972aee27bab6260f7c98211f356b8b38aa5db4518efb13dbff9981ef59877ff0b
6
+ metadata.gz: a7e6c54e26240d2b44af093e5e9582b82c3dc8997e100752997f0b56cb3d132c0d3b5ccfd441306ae97aae8bac91b2545d13f9cee2a5fe36a985599990a3822e
7
+ data.tar.gz: 99a36744e2b6485bad7810377eecd01a01694381f29a58e785f68fda4b0d9aa2ddd363448292fdb7b8476c0737b3af349db62098ec66a1f98aadffedfb424721
data/README.md CHANGED
@@ -12,18 +12,18 @@ Ruby library for reading, producing, manipulating and operating over [GOBL][3] d
12
12
 
13
13
  ### Features
14
14
 
15
- * Dedicated Ruby classes for each GOBL structure with typed attributes
16
- * [Object instantiation from nested hashes and arrays of attributes](#instantiating-structures)
17
- * [Object serialization/deserialization to/from JSON GOBL data](#serializing-to-and-deserializing-from-json)
18
- * [Idiomatic value objects with enumerations support](#handling-value-objects-and-enumerations)
19
- * Access to operations in the [GOBL CLI][4] service: [build, validate and sign](#running-operations)
20
- * [Full API reference documentation][1]
15
+ - Dedicated Ruby classes for each GOBL structure with typed attributes
16
+ - [Object instantiation from nested hashes and arrays of attributes](#instantiating-structures)
17
+ - [Object serialization/deserialization to/from JSON GOBL data](#serializing-to-and-deserializing-from-json)
18
+ - [Idiomatic value objects with enumerations support](#handling-value-objects-and-enumerations)
19
+ - Access to operations in the [GOBL CLI][4] service: [build, validate and sign](#running-operations)
20
+ - [Full API reference documentation][1]
21
21
 
22
22
  ### Documentation
23
23
 
24
- * [User guide](#user-guide)
25
- * [API reference][6]
26
- * [GOBL documentation][2]
24
+ - [User guide](#user-guide)
25
+ - [API reference][6]
26
+ - [GOBL documentation][2]
27
27
 
28
28
  ## User guide
29
29
 
@@ -249,3 +249,10 @@ The library is fully documented using YARD. You can spin up a YARD server with t
249
249
  [4]: https://github.com/invopop/gobl.cli
250
250
  [5]: https://www.rubydoc.info/gems/gobl/GOBL/Operations
251
251
  [6]: https://www.rubydoc.info/gems/gobl/index
252
+
253
+ ### Releases
254
+
255
+ When releasing a new version of the GOBL Ruby library:
256
+
257
+ 1. Update lib/gobl/version.rb and commit the change (no need to push)
258
+ 2. Run `rake release` which generates the tag, pushes everything to github and rubygems
data/data/regimes/it.json CHANGED
@@ -670,6 +670,19 @@
670
670
  }
671
671
  }
672
672
  ],
673
+ "charge_types": [
674
+ {
675
+ "key": "stamp-duty",
676
+ "name": {
677
+ "en": "Stamp Duty",
678
+ "it": "Imposta di bollo"
679
+ },
680
+ "desc": {
681
+ "en": "A fixed-price tax applied to the production, request or presentation of certain documents: civil, commercial, judicial and extrajudicial documents, on notices, on posters.",
682
+ "it": "Un'imposta applicata alla produzione, richiesta o presentazione di determinati documenti: atti civili, commerciali, giudiziali ed extragiudiziali, sugli avvisi, sui manifesti."
683
+ }
684
+ }
685
+ ],
673
686
  "tags": [
674
687
  {
675
688
  "key": "freelance",
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "https://gobl.org/draft-0/tax/regime",
3
+ "name": {
4
+ "en": "United States of America"
5
+ },
6
+ "country": "US",
7
+ "currency": "USD",
8
+ "categories": [
9
+ {
10
+ "code": "ST",
11
+ "name": {
12
+ "en": "Sales Tax"
13
+ },
14
+ "desc": {
15
+ "en": "Sales Tax"
16
+ },
17
+ "rates": []
18
+ }
19
+ ]
20
+ }
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -18,6 +18,11 @@ module GOBL
18
18
  # @return [GOBL::UUID::UUID]
19
19
  property :uuid, GOBL::UUID::UUID
20
20
 
21
+ # @!attribute [r] key
22
+ # Key for grouping or identifying charges for tax purposes.
23
+ # @return [GOBL::CBC::Key]
24
+ property :key, GOBL::CBC::Key
25
+
21
26
  # @!attribute [r] i
22
27
  # Line number inside the list of discounts (calculated).
23
28
  # @return [Integer]
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -21,10 +21,10 @@ module GOBL
21
21
  'dangerous-goods' => 'Dangerous goods additional information',
22
22
  'ack' => 'Acknowledgement Description',
23
23
  'rate' => 'Rate additional information',
24
- 'reason' => 'Reason',
25
- 'dispute' => 'Dispute',
24
+ 'reason' => 'Explanation of something relevant to the document',
25
+ 'dispute' => 'Details on a dispute.',
26
26
  'customer' => 'Customer remarks',
27
- 'glossary' => 'Glossary',
27
+ 'glossary' => 'Glossary of terms',
28
28
  'customs' => 'Customs declaration information',
29
29
  'general' => 'General information',
30
30
  'handling' => 'Handling instructions',
@@ -63,6 +63,11 @@ module GOBL
63
63
  # @return [String]
64
64
  property :text, String
65
65
  validates_presence_of :text
66
+
67
+ # @!attribute [r] meta
68
+ # Additional information about the note
69
+ # @return [GOBL::CBC::Meta]
70
+ property :meta, GOBL::CBC::Meta
66
71
  end
67
72
  end
68
73
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -25,7 +25,7 @@ module GOBL
25
25
  validates_presence_of :dig
26
26
 
27
27
  # @!attribute [r] stamps
28
- # Seals of approval from other organisations.
28
+ # Seals of approval from other organisations that can only be added to non-draft envelopes.
29
29
  # @return [Array<GOBL::CBC::Stamp>]
30
30
  property :stamps, [GOBL::CBC::Stamp]
31
31
 
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.8
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -29,10 +29,10 @@ module GOBL
29
29
  'AR' => 'Argentina',
30
30
  'AM' => 'Armenia',
31
31
  'AW' => 'Aruba',
32
- 'AU' => 'Australia',
32
+ 'AU' => 'Australia',
33
33
  'AT' => 'Austria',
34
34
  'AZ' => 'Azerbaijan',
35
- 'BS' => 'Bahamas (the)',
35
+ 'BS' => 'Bahamas',
36
36
  'BH' => 'Bahrain',
37
37
  'BD' => 'Bangladesh',
38
38
  'BB' => 'Barbados',
@@ -42,13 +42,13 @@ module GOBL
42
42
  'BJ' => 'Benin',
43
43
  'BM' => 'Bermuda',
44
44
  'BT' => 'Bhutan',
45
- 'BO' => 'Bolivia (Plurinational State of)',
45
+ 'BO' => 'Bolivia, Plurinational State of',
46
46
  'BQ' => 'Bonaire, Sint Eustatius and Saba',
47
47
  'BA' => 'Bosnia and Herzegovina',
48
48
  'BW' => 'Botswana',
49
49
  'BV' => 'Bouvet Island',
50
50
  'BR' => 'Brazil',
51
- 'IO' => 'British Indian Ocean Territory (the)',
51
+ 'IO' => 'British Indian Ocean Territory',
52
52
  'BN' => 'Brunei Darussalam',
53
53
  'BG' => 'Bulgaria',
54
54
  'BF' => 'Burkina Faso',
@@ -57,18 +57,18 @@ module GOBL
57
57
  'KH' => 'Cambodia',
58
58
  'CM' => 'Cameroon',
59
59
  'CA' => 'Canada',
60
- 'KY' => 'Cayman Islands (the)',
61
- 'CF' => 'Central African Republic (the)',
60
+ 'KY' => 'Cayman Islands',
61
+ 'CF' => 'Central African Republic',
62
62
  'TD' => 'Chad',
63
63
  'CL' => 'Chile',
64
64
  'CN' => 'China',
65
65
  'CX' => 'Christmas Island',
66
- 'CC' => 'Cocos (Keeling) Islands (the)',
66
+ 'CC' => 'Cocos (Keeling) Islands',
67
67
  'CO' => 'Colombia',
68
- 'KM' => 'Comoros (the)',
69
- 'CG' => 'Congo (the Democratic Republic of the)',
70
- 'CD' => 'Congo (the)',
71
- 'CK' => 'Cook Islands (the)',
68
+ 'KM' => 'Comoros',
69
+ 'CG' => 'Congo',
70
+ 'CD' => 'Congo, Democratic Republic of the',
71
+ 'CK' => 'Cook Islands',
72
72
  'CR' => 'Costa Rica',
73
73
  'CI' => 'Côte dIvoireIvoire',
74
74
  'HR' => 'Croatia',
@@ -79,7 +79,7 @@ module GOBL
79
79
  'DK' => 'Denmark',
80
80
  'DJ' => 'Djibouti',
81
81
  'DM' => 'Dominica',
82
- 'DO' => 'Dominican Republic (the)',
82
+ 'DO' => 'Dominican Republic',
83
83
  'EC' => 'Ecuador',
84
84
  'EG' => 'Egypt',
85
85
  'SV' => 'El Salvador',
@@ -88,16 +88,16 @@ module GOBL
88
88
  'EE' => 'Estonia',
89
89
  'SZ' => 'Eswatini',
90
90
  'ET' => 'Ethiopia',
91
- 'FK' => 'Falkland Islands (the)',
92
- 'FO' => 'Faroe Islands (the)',
91
+ 'FK' => 'Falkland Islands',
92
+ 'FO' => 'Faroe Islands',
93
93
  'FJ' => 'Fiji',
94
94
  'FI' => 'Finland',
95
95
  'FR' => 'France',
96
96
  'GF' => 'French Guiana',
97
97
  'PF' => 'French Polynesia',
98
- 'TF' => 'French Southern Territories (the) ',
98
+ 'TF' => 'French Southern Territories',
99
99
  'GA' => 'Gabon',
100
- 'GM' => 'Gambia (the)',
100
+ 'GM' => 'Gambia',
101
101
  'GE' => 'Georgia',
102
102
  'DE' => 'Germany',
103
103
  'GH' => 'Ghana',
@@ -121,7 +121,7 @@ module GOBL
121
121
  'IS' => 'Iceland',
122
122
  'IN' => 'India',
123
123
  'ID' => 'Indonesia',
124
- 'IR' => 'Iran (Islamic Republic of)',
124
+ 'IR' => 'Iran, Islamic Republic of',
125
125
  'IQ' => 'Iraq',
126
126
  'IE' => 'Ireland',
127
127
  'IM' => 'Isle of Man',
@@ -134,11 +134,11 @@ module GOBL
134
134
  'KZ' => 'Kazakhstan',
135
135
  'KE' => 'Kenya',
136
136
  'KI' => 'Kiribati',
137
- 'KP' => 'Korea (the Democratic Peoples Republic of)s Republic of)',
138
- 'KR' => 'Korea (the Republic of)',
137
+ 'KP' => 'Korea, Democratic Peoples Republic ofs Republic of',
138
+ 'KR' => 'Korea, Republic of',
139
139
  'KW' => 'Kuwait',
140
140
  'KG' => 'Kyrgyzstan',
141
- 'LA' => 'Lao Peoples Democratic Republic (the)s Democratic Republic (the)',
141
+ 'LA' => 'Lao Peoples Democratic Republics Democratic Republic',
142
142
  'LV' => 'Latvia',
143
143
  'LB' => 'Lebanon',
144
144
  'LS' => 'Lesotho',
@@ -155,14 +155,14 @@ module GOBL
155
155
  'MV' => 'Maldives',
156
156
  'ML' => 'Mali',
157
157
  'MT' => 'Malta',
158
- 'MH' => 'Marshall Islands (the)',
158
+ 'MH' => 'Marshall Islands',
159
159
  'MQ' => 'Martinique',
160
160
  'MR' => 'Mauritania',
161
161
  'MU' => 'Mauritius',
162
162
  'YT' => 'Mayotte',
163
163
  'MX' => 'Mexico',
164
- 'FM' => 'Micronesia (Federated States of)',
165
- 'MD' => 'Moldova (the Republic of)',
164
+ 'FM' => 'Micronesia, Federated States of',
165
+ 'MD' => 'Moldova, Republic of',
166
166
  'MC' => 'Monaco',
167
167
  'MN' => 'Mongolia',
168
168
  'ME' => 'Montenegro',
@@ -173,15 +173,15 @@ module GOBL
173
173
  'NA' => 'Namibia',
174
174
  'NR' => 'Nauru',
175
175
  'NP' => 'Nepal',
176
- 'NL' => 'Netherlands (the)',
176
+ 'NL' => 'Netherlands',
177
177
  'NC' => 'New Caledonia',
178
178
  'NZ' => 'New Zealand',
179
179
  'NI' => 'Nicaragua',
180
- 'NE' => 'Niger (the)',
180
+ 'NE' => 'Niger',
181
181
  'NG' => 'Nigeria',
182
182
  'NU' => 'Niue',
183
183
  'NF' => 'Norfolk Island',
184
- 'MP' => 'Northern Mariana Islands (the)',
184
+ 'MP' => 'Northern Mariana Islands',
185
185
  'NO' => 'Norway',
186
186
  'OM' => 'Oman',
187
187
  'PK' => 'Pakistan',
@@ -191,7 +191,7 @@ module GOBL
191
191
  'PG' => 'Papua New Guinea',
192
192
  'PY' => 'Paraguay',
193
193
  'PE' => 'Peru',
194
- 'PH' => 'Philippines (the)',
194
+ 'PH' => 'Philippines',
195
195
  'PN' => 'Pitcairn',
196
196
  'PL' => 'Poland',
197
197
  'PT' => 'Portugal',
@@ -199,7 +199,7 @@ module GOBL
199
199
  'QA' => 'Qatar',
200
200
  'RE' => 'Réunion',
201
201
  'RO' => 'Romania',
202
- 'RU' => 'Russian Federation (the)',
202
+ 'RU' => 'Russian Federation',
203
203
  'RW' => 'Rwanda',
204
204
  'BL' => 'Saint Barthélemy',
205
205
  'SH' => 'Saint Helena, Ascension and Tristan da Cunha',
@@ -227,17 +227,17 @@ module GOBL
227
227
  'SS' => 'South Sudan',
228
228
  'ES' => 'Spain',
229
229
  'LK' => 'Sri Lanka',
230
- 'SD' => 'Sudan (the)',
230
+ 'SD' => 'Sudan',
231
231
  'SR' => 'Suriname',
232
232
  'SJ' => 'Svalbard and Jan Mayen',
233
233
  'SE' => 'Sweden',
234
234
  'CH' => 'Switzerland',
235
- 'SY' => 'Syrian Arab Republic (the)',
235
+ 'SY' => 'Syrian Arab Republic',
236
236
  'TW' => 'Taiwan (Province of China)',
237
237
  'TJ' => 'Tajikistan',
238
238
  'TZ' => 'Tanzania, the United Republic of',
239
239
  'TH' => 'Thailand',
240
- 'TL' => 'Timor-Leste',
240
+ 'TL' => 'Timor-Leste',
241
241
  'TG' => 'Togo',
242
242
  'TK' => 'Tokelau',
243
243
  'TO' => 'Tonga',
@@ -245,18 +245,18 @@ module GOBL
245
245
  'TN' => 'Tunisia',
246
246
  'TR' => 'Türkiye',
247
247
  'TM' => 'Turkmenistan',
248
- 'TC' => 'Turks and Caicos Islands (the)',
248
+ 'TC' => 'Turks and Caicos Islands',
249
249
  'TV' => 'Tuvalu',
250
250
  'UG' => 'Uganda',
251
251
  'UA' => 'Ukraine',
252
- 'AE' => 'United Arab Emirates (the)',
253
- 'GB' => 'United Kingdom of Great Britain and Northern Ireland (the)',
254
- 'US' => 'United States of America (the)',
255
- 'UM' => 'United States Minor Outlying Islands (the)',
252
+ 'AE' => 'United Arab Emirates',
253
+ 'GB' => 'United Kingdom',
254
+ 'US' => 'United States of America',
255
+ 'UM' => 'United States Minor Outlying Islands',
256
256
  'UY' => 'Uruguay',
257
257
  'UZ' => 'Uzbekistan',
258
258
  'VU' => 'Vanuatu',
259
- 'VE' => 'Venezuela (Bolivarian Republic of)',
259
+ 'VE' => 'Venezuela, Bolivarian Republic of',
260
260
  'VN' => 'Viet Nam',
261
261
  'VG' => 'Virgin Islands (British)',
262
262
  'VI' => 'Virgin Islands (U.S.)',