List Hacienda v4.4 supported ISO 4217 currency codes
GET
/v1/catalogs/currencies
const url = 'https://api.emite.cr/v1/catalogs/currencies';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.emite.cr/v1/catalogs/currenciesThe ISO 4217 codes Hacienda v4.4 accepts as a document currency (CodigoMonedaType in the XSD; 168 codes, alphabetical). They are the values the API accepts for the company's enabledCurrencies, an invoice's currency and the currency of an item price. Public (no credentials) and cacheable for a day: the list changes only with a new XSD version.
Responses
Section titled “Responses”Media typeapplication/json
object
codes
required
ISO 4217 codes Hacienda v4.4 accepts as a document currency (CodigoMonedaType), in alphabetical order.
Array<string>
Example
{ "codes": [ "AED", "AFN", "ALL" ]}