Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 184 additions & 0 deletions packages/data/config/currencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
{
"_comment": "ISO 4217 currency codes (active + recently withdrawn, e.g. HRK, for historical document support) and common currency symbols for monetary amount detection.",
"codes": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTN",
"BWP",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
Comment thread
jan-kubica marked this conversation as resolved.
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"INR",
"IQD",
"IRR",
"ISK",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLE",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 ZWG (Zimbabwe Gold) missing; ZWL is withdrawn

ZWL (Zimbabwean Dollar, 4th) was formally withdrawn when Zimbabwe introduced the Zimbabwe Gold (ZWG) in April 2024 — roughly the same timeline as HRK. As of today ZWG is the active ISO 4217 code for Zimbabwe, yet it is absent from the codes array while its superseded predecessor ZWL is present.

Since the intent is "active + recently withdrawn for historical document support", ZWG should be added to the list as an active currency, and ZWL should ideally be documented alongside HRK in the _comment field to make clear it is a recently withdrawn entry (or removed if only HRK-era withdrawals are in scope).

Suggested fix:

Suggested change
"YER",
"ZWG",
"ZWL"

And update _comment to reference ZWL alongside HRK, e.g.:

"_comment": "ISO 4217 currency codes (active + recently withdrawn, e.g. HRK, ZWL, for historical document support) and common currency symbols for monetary amount detection."

"ZAR",
"ZMW",
"ZWL"
],
"symbols": [
Comment thread
jan-kubica marked this conversation as resolved.
"$",
"£",
"¥",
"৳",
"₡",
"₦",
"₩",
"₪",
"₫",
"€",
"₭",
"₮",
"₱",
"₲",
"₴",
"₵",
"₸",
"₹",
"₺",
"₼",
"₽",
"₾"
]
}
Comment thread
jan-kubica marked this conversation as resolved.