The currency-codes package is 4 years out-of-date and looks like it is dead. The ISO 4217 standard has had many updates since that time, but the package does not reflect them.
That could result in this package throwing errors when trying to find the decimal value of legitimate currencies that currency-codes does not know about.