/
iso4217.go
324 lines (322 loc) · 10 KB
/
iso4217.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
// Licensed to The Moov Authors under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. The Moov Authors licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
// Generated on 2021-03-23T11:08:18Z by adam, any modifications will be overwritten
package iso4217
var currencyCodes = map[string]bool{
"AFN": true, // Afghani
"EUR": true, // Euro
"ALL": true, // Lek
"DZD": true, // Algerian Dinar
"USD": true, // US Dollar
"AOA": true, // Kwanza
"XCD": true, // East Caribbean Dollar
"ARS": true, // Argentine Peso
"AMD": true, // Armenian Dram
"AWG": true, // Aruban Florin
"AUD": true, // Australian Dollar
"AZN": true, // Azerbaijan Manat
"BSD": true, // Bahamian Dollar
"BHD": true, // Bahraini Dinar
"BDT": true, // Taka
"BBD": true, // Barbados Dollar
"BYN": true, // Belarusian Ruble
"BZD": true, // Belize Dollar
"XOF": true, // CFA Franc BCEAO
"BMD": true, // Bermudian Dollar
"INR": true, // Indian Rupee
"BTN": true, // Ngultrum
"BOB": true, // Boliviano
"BOV": true, // Mvdol
"BAM": true, // Convertible Mark
"BWP": true, // Pula
"NOK": true, // Norwegian Krone
"BRL": true, // Brazilian Real
"BND": true, // Brunei Dollar
"BGN": true, // Bulgarian Lev
"BIF": true, // Burundi Franc
"CVE": true, // Cabo Verde Escudo
"KHR": true, // Riel
"XAF": true, // CFA Franc BEAC
"CAD": true, // Canadian Dollar
"KYD": true, // Cayman Islands Dollar
"CLP": true, // Chilean Peso
"CLF": true, // Unidad de Fomento
"CNY": true, // Yuan Renminbi
"COP": true, // Colombian Peso
"COU": true, // Unidad de Valor Real
"KMF": true, // Comorian Franc
"CDF": true, // Congolese Franc
"NZD": true, // New Zealand Dollar
"CRC": true, // Costa Rican Colon
"HRK": true, // Kuna
"CUP": true, // Cuban Peso
"CUC": true, // Peso Convertible
"ANG": true, // Netherlands Antillean Guilder
"CZK": true, // Czech Koruna
"DKK": true, // Danish Krone
"DJF": true, // Djibouti Franc
"DOP": true, // Dominican Peso
"EGP": true, // Egyptian Pound
"SVC": true, // El Salvador Colon
"ERN": true, // Nakfa
"SZL": true, // Lilangeni
"ETB": true, // Ethiopian Birr
"FKP": true, // Falkland Islands Pound
"FJD": true, // Fiji Dollar
"XPF": true, // CFP Franc
"GMD": true, // Dalasi
"GEL": true, // Lari
"GHS": true, // Ghana Cedi
"GIP": true, // Gibraltar Pound
"GTQ": true, // Quetzal
"GBP": true, // Pound Sterling
"GNF": true, // Guinean Franc
"GYD": true, // Guyana Dollar
"HTG": true, // Gourde
"HNL": true, // Lempira
"HKD": true, // Hong Kong Dollar
"HUF": true, // Forint
"ISK": true, // Iceland Krona
"IDR": true, // Rupiah
"XDR": true, // SDR (Special Drawing Right)
"IRR": true, // Iranian Rial
"IQD": true, // Iraqi Dinar
"ILS": true, // New Israeli Sheqel
"JMD": true, // Jamaican Dollar
"JPY": true, // Yen
"JOD": true, // Jordanian Dinar
"KZT": true, // Tenge
"KES": true, // Kenyan Shilling
"KPW": true, // North Korean Won
"KRW": true, // Won
"KWD": true, // Kuwaiti Dinar
"KGS": true, // Som
"LAK": true, // Lao Kip
"LBP": true, // Lebanese Pound
"LSL": true, // Loti
"ZAR": true, // Rand
"LRD": true, // Liberian Dollar
"LYD": true, // Libyan Dinar
"CHF": true, // Swiss Franc
"MOP": true, // Pataca
"MKD": true, // Denar
"MGA": true, // Malagasy Ariary
"MWK": true, // Malawi Kwacha
"MYR": true, // Malaysian Ringgit
"MVR": true, // Rufiyaa
"MRU": true, // Ouguiya
"MUR": true, // Mauritius Rupee
"XUA": true, // ADB Unit of Account
"MXN": true, // Mexican Peso
"MXV": true, // Mexican Unidad de Inversion (UDI)
"MDL": true, // Moldovan Leu
"MNT": true, // Tugrik
"MAD": true, // Moroccan Dirham
"MZN": true, // Mozambique Metical
"MMK": true, // Kyat
"NAD": true, // Namibia Dollar
"NPR": true, // Nepalese Rupee
"NIO": true, // Cordoba Oro
"NGN": true, // Naira
"OMR": true, // Rial Omani
"PKR": true, // Pakistan Rupee
"PAB": true, // Balboa
"PGK": true, // Kina
"PYG": true, // Guarani
"PEN": true, // Sol
"PHP": true, // Philippine Peso
"PLN": true, // Zloty
"QAR": true, // Qatari Rial
"RON": true, // Romanian Leu
"RUB": true, // Russian Ruble
"RWF": true, // Rwanda Franc
"SHP": true, // Saint Helena Pound
"WST": true, // Tala
"STN": true, // Dobra
"SAR": true, // Saudi Riyal
"RSD": true, // Serbian Dinar
"SCR": true, // Seychelles Rupee
"SLL": true, // Leone
"SGD": true, // Singapore Dollar
"XSU": true, // Sucre
"SBD": true, // Solomon Islands Dollar
"SOS": true, // Somali Shilling
"SSP": true, // South Sudanese Pound
"LKR": true, // Sri Lanka Rupee
"SDG": true, // Sudanese Pound
"SRD": true, // Surinam Dollar
"SEK": true, // Swedish Krona
"CHE": true, // WIR Euro
"CHW": true, // WIR Franc
"SYP": true, // Syrian Pound
"TWD": true, // New Taiwan Dollar
"TJS": true, // Somoni
"TZS": true, // Tanzanian Shilling
"THB": true, // Baht
"TOP": true, // Pa'anga
"TTD": true, // Trinidad and Tobago Dollar
"TND": true, // Tunisian Dinar
"TRY": true, // Turkish Lira
"TMT": true, // Turkmenistan New Manat
"UGX": true, // Uganda Shilling
"UAH": true, // Hryvnia
"AED": true, // UAE Dirham
"USN": true, // US Dollar (Next day)
"UYU": true, // Peso Uruguayo
"UYI": true, // Uruguay Peso en Unidades Indexadas (UI)
"UYW": true, // Unidad Previsional
"UZS": true, // Uzbekistan Sum
"VUV": true, // Vatu
"VES": true, // Bolívar Soberano
"VND": true, // Dong
"YER": true, // Yemeni Rial
"ZMW": true, // Zambian Kwacha
"ZWL": true, // Zimbabwe Dollar
"XBA": true, // Bond Markets Unit European Composite Unit (EURCO)
"XBB": true, // Bond Markets Unit European Monetary Unit (E.M.U.-6)
"XBC": true, // Bond Markets Unit European Unit of Account 9 (E.U.A.-9)
"XBD": true, // Bond Markets Unit European Unit of Account 17 (E.U.A.-17)
"XTS": true, // Codes specifically reserved for testing purposes
"XXX": true, // The codes assigned for transactions where no currency is involved
"XAU": true, // Gold
"XPD": true, // Palladium
"XPT": true, // Platinum
"XAG": true, // Silver
"AFA": true, // Afghani
"FIM": true, // Markka
"ALK": true, // Old Lek
"ADP": true, // Andorran Peseta
"ESP": true, // Spanish Peseta
"FRF": true, // French Franc
"AOK": true, // Kwanza
"AON": true, // New Kwanza
"AOR": true, // Kwanza Reajustado
"ARA": true, // Austral
"ARP": true, // Peso Argentino
"ARY": true, // Peso
"RUR": true, // Russian Ruble
"ATS": true, // Schilling
"AYM": true, // Azerbaijan Manat
"AZM": true, // Azerbaijanian Manat
"BYB": true, // Belarusian Ruble
"BYR": true, // Belarusian Ruble
"BEC": true, // Convertible Franc
"BEF": true, // Belgian Franc
"BEL": true, // Financial Franc
"BOP": true, // Peso boliviano
"BAD": true, // Dinar
"BRB": true, // Cruzeiro
"BRC": true, // Cruzado
"BRE": true, // Cruzeiro
"BRN": true, // New Cruzado
"BRR": true, // Cruzeiro Real
"BGJ": true, // Lev A/52
"BGK": true, // Lev A/62
"BGL": true, // Lev
"BUK": true, // Kyat
"HRD": true, // Croatian Dinar
"CYP": true, // Cyprus Pound
"CSJ": true, // Krona A/53
"CSK": true, // Koruna
"ECS": true, // Sucre
"ECV": true, // Unidad de Valor Constante (UVC)
"GQE": true, // Ekwele
"EEK": true, // Kroon
"XEU": true, // European Currency Unit (E.C.U)
"GEK": true, // Georgian Coupon
"DDM": true, // Mark der DDR
"DEM": true, // Deutsche Mark
"GHC": true, // Cedi
"GHP": true, // Ghana Cedi
"GRD": true, // Drachma
"GNE": true, // Syli
"GNS": true, // Syli
"GWE": true, // Guinea Escudo
"GWP": true, // Guinea-Bissau Peso
"ITL": true, // Italian Lira
"ISJ": true, // Old Krona
"IEP": true, // Irish Pound
"ILP": true, // Pound
"ILR": true, // Old Shekel
"LAJ": true, // Pathet Lao Kip
"LVL": true, // Latvian Lats
"LVR": true, // Latvian Ruble
"LSM": true, // Loti
"ZAL": true, // Financial Rand
"LTL": true, // Lithuanian Litas
"LTT": true, // Talonas
"LUC": true, // Luxembourg Convertible Franc
"LUF": true, // Luxembourg Franc
"LUL": true, // Luxembourg Financial Franc
"MGF": true, // Malagasy Franc
"MVQ": true, // Maldive Rupee
"MLF": true, // Mali Franc
"MTL": true, // Maltese Lira
"MTP": true, // Maltese Pound
"MRO": true, // Ouguiya
"MXP": true, // Mexican Peso
"MZE": true, // Mozambique Escudo
"MZM": true, // Mozambique Metical
"NLG": true, // Netherlands Guilder
"NIC": true, // Cordoba
"PEH": true, // Sol
"PEI": true, // Inti
"PES": true, // Sol
"PLZ": true, // Zloty
"PTE": true, // Portuguese Escudo
"ROK": true, // Leu A/52
"ROL": true, // Old Leu
"STD": true, // Dobra
"CSD": true, // Serbian Dinar
"SKK": true, // Slovak Koruna
"SIT": true, // Tolar
"RHD": true, // Rhodesian Dollar
"ESA": true, // Spanish Peseta
"ESB": true, // "A" Account (convertible Peseta Account)
"SDD": true, // Sudanese Dinar
"SDP": true, // Sudanese Pound
"SRG": true, // Surinam Guilder
"CHC": true, // WIR Franc (for electronic)
"TJR": true, // Tajik Ruble
"TPE": true, // Timor Escudo
"TRL": true, // Old Turkish Lira
"TMM": true, // Turkmenistan Manat
"UGS": true, // Uganda Shilling
"UGW": true, // Old Shilling
"UAK": true, // Karbovanet
"SUR": true, // Rouble
"USS": true, // US Dollar (Same day)
"UYN": true, // Old Uruguay Peso
"UYP": true, // Uruguayan Peso
"VEB": true, // Bolivar
"VEF": true, // Bolivar Fuerte
"VNC": true, // Old Dong
"YDD": true, // Yemeni Dinar
"YUD": true, // New Yugoslavian Dinar
"YUM": true, // New Dinar
"YUN": true, // Yugoslavian Dinar
"ZRN": true, // New Zaire
"ZRZ": true, // Zaire
"ZMK": true, // Zambian Kwacha
"ZWC": true, // Rhodesian Dollar
"ZWD": true, // Zimbabwe Dollar (old)
"ZWN": true, // Zimbabwe Dollar (new)
"ZWR": true, // Zimbabwe Dollar
"XFO": true, // Gold-Franc
"XRE": true, // RINET Funds Code
"XFU": true, // UIC-Franc
}