gobl 0.13.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/data/regimes/it.json +13 -0
  3. data/data/regimes/pt.json +69 -0
  4. data/data/regimes/us.json +20 -0
  5. data/lib/generated/gobl/bill/charge.rb +1 -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 +1 -1
  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 +1 -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 +1 -1
  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 +1 -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/extensions/bill/invoice_helper.rb +56 -0
  79. data/lib/gobl/extensions/bill/scenario_summary.rb +25 -0
  80. data/lib/gobl/version.rb +1 -1
  81. data/lib/gobl.rb +1 -0
  82. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f70d1bbc2e695f02fa1e1536d695cb4679ed14241a741086a634f13750cf87a
4
- data.tar.gz: 4df73f1d2afbd910ecbb9e22aaf1731753d3bfff86343d735edf32273c2d36c6
3
+ metadata.gz: 780ae6767cacd14ffee20e56cf54fe7717b4f4ce76fe298709910fc04c53bb3b
4
+ data.tar.gz: 3af8d8bbb1f70068115f36f6e264e609133e0791b213a4785be9cc2db7a5e046
5
5
  SHA512:
6
- metadata.gz: 6f9891ae52a7b6f46f8e60248c28fe57b9cbe5deff0fb542fb89097deeffbdc6bedee84902d237b0153c74ba74bade31ee6b8d5e3c561a967f32a8bb32440c91
7
- data.tar.gz: 875e7d964d16bebff30a576a81e161f962e5a9cfa70bd18542e05966cfe68c92084075fcb2cf25c398151ece68a95cd8017eb62fd326ecf641ded2e309b381f3
6
+ metadata.gz: 7b37e007b00340a53df6bb721085f792038bc1168cc794741df707befb793abf6f2f1cc3b9b883505cf40b7ad10b32fcbedd0a818d529e5904b1e91ffd6445a6
7
+ data.tar.gz: 80263b62bce2dd2e1fae02d2af6141facd8264c68da2ee4ee5f2d9bd4371fee959d42d5f436d4ed12d05c91d391186a6b55906f7602f06b84e51aa3e9f29b21a
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",
data/data/regimes/pt.json CHANGED
@@ -128,6 +128,75 @@
128
128
  }
129
129
  ],
130
130
  "currency": "EUR",
131
+ "tags": [
132
+ {
133
+ "key": "invoice-receipt",
134
+ "name": {
135
+ "en": "Invoice-receipt",
136
+ "pt": "Fatura-recibo"
137
+ }
138
+ },
139
+ {
140
+ "key": "simplified",
141
+ "name": {
142
+ "en": "Simplified invoice",
143
+ "pt": "Fatura simplificada"
144
+ }
145
+ }
146
+ ],
147
+ "scenarios": [
148
+ {
149
+ "schema": "bill/invoice",
150
+ "list": [
151
+ {
152
+ "type": [
153
+ "standard"
154
+ ],
155
+ "meta": {
156
+ "at-invoice-type": "FT"
157
+ }
158
+ },
159
+ {
160
+ "type": [
161
+ "standard"
162
+ ],
163
+ "tags": [
164
+ "simplified"
165
+ ],
166
+ "meta": {
167
+ "at-invoice-type": "FS"
168
+ }
169
+ },
170
+ {
171
+ "type": [
172
+ "standard"
173
+ ],
174
+ "tags": [
175
+ "invoice-receipt"
176
+ ],
177
+ "meta": {
178
+ "at-invoice-type": "FR"
179
+ }
180
+ },
181
+ {
182
+ "type": [
183
+ "debit-note"
184
+ ],
185
+ "meta": {
186
+ "at-invoice-type": "ND"
187
+ }
188
+ },
189
+ {
190
+ "type": [
191
+ "credit-note"
192
+ ],
193
+ "meta": {
194
+ "at-invoice-type": "NC"
195
+ }
196
+ }
197
+ ]
198
+ }
199
+ ],
131
200
  "preceding": {
132
201
  "types": [
133
202
  "credit-note"
@@ -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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.)',