A currency of the administration with its current exchange rate. One row has is_local true: the home currency. There is no rate history; documents keep their own rate.

Label in Fledge: Vreemde valuta

URLhttps://odata-api.fledge.nl/v2-8/CurrencyCodes
Keyadministration_idcurrency_code_abbreviation
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASIS
Write licensesFINANCIEELBEHEER
ScopesFLEDGE_PORTAL

Example requests

A page of rows, with only the fields you need. See Authentication for the token.

curl -G "https://odata-api.fledge.nl/v2-8/CurrencyCodes" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=currency_code_abbreviation,currency_code_id,date_create,date_update' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/CurrencyCodes');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'currency_code_abbreviation,currency_code_id,date_create,date_update');
url.searchParams.set('$top', '50');

const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();
var url = "https://odata-api.fledge.nl/v2-8/CurrencyCodes" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("currency_code_abbreviation,currency_code_id,date_create,date_update"),
    "$top=" + Uri.EscapeDataString("50"));

http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);

One row by its key:

GET https://odata-api.fledge.nl/v2-8/CurrencyCodes(administration_id=1,currency_code_abbreviation='{currency_code_abbreviation}')

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
currency_code_abbreviationkeyStringValutakode

The currency code, such as EUR or USD.

currency_code_idInt32Valutanummer

The currency number other tables use; some use the abbreviation instead.

date_createDateDatum wijzig

Despite its name, the date of the last change.

date_updateDateDatum aanmaak

Despite its name, the date it was created.

descriptionStringOmschrijving
general_ledger_rate_differenceStringGrtboek verschil: Grootboekrekeningnummer koersverschil
general_ledger_revaluationStringGrtboek herw.: Grootboekrekeningnummer herwaardering
is_economic_monetary_unionBooleanEMU valuta (ja/nee)

An EMU currency; the app then ignores the unit.

is_localBooleanLokale valuta (ja/nee)

The administration's home currency.

exchange_rateDecimalKoers

Foreign currency per unit of local currency; foreign = local × exchange_rate ÷ unit.

roundingDecimalAfronding

The step amounts round to, such as 0.01.

unitInt32Koerseenheid

The number of local currency units the rate is for (koerseenheid).

user_creationInt32User aanmaak
modified_by_user_idInt32User wijzig

Relations

Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.

NavigationEntity set
AdministrationAdministrationsone
Wingman