# CurrencyCodes

> A currency of the administration with its current exchange rate.

Subject: Reference data.

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.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/CurrencyCodes` |
| Key | `administration_id`, `currency_code_abbreviation` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS |
| Write licenses | FINANCIEEL, BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/CurrencyCodes?$filter=administration_id eq 1&$select=currency_code_abbreviation,currency_code_id,date_create,date_update&$top=50
GET https://odata-api.fledge.nl/v2-8/CurrencyCodes(administration_id=1,currency_code_abbreviation='{currency_code_abbreviation}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `currency_code_abbreviation` (key) | String, not null | Valutakode. The currency code, such as EUR or USD. |
| `currency_code_id` | Int32 | Valutanummer. The currency number other tables use; some use the abbreviation instead. |
| `date_create` | Date | Datum wijzig. Despite its name, the date of the last change. |
| `date_update` | Date | Datum aanmaak. Despite its name, the date it was created. |
| `description` | String | Omschrijving |
| `general_ledger_rate_difference` | String | Grtboek verschil: Grootboekrekeningnummer koersverschil |
| `general_ledger_revaluation` | String | Grtboek herw.: Grootboekrekeningnummer herwaardering |
| `is_economic_monetary_union` | Boolean | EMU valuta (ja/nee). An EMU currency; the app then ignores the unit. |
| `is_local` | Boolean | Lokale valuta (ja/nee). The administration's home currency. |
| `exchange_rate` | Decimal | Koers. Foreign currency per unit of local currency; foreign = local × exchange_rate ÷ unit. |
| `rounding` | Decimal | Afronding. The step amounts round to, such as 0.01. |
| `unit` | Int32 | Koerseenheid. The number of local currency units the rate is for (koerseenheid). |
| `user_creation` | Int32 | User aanmaak |
| `modified_by_user_id` | Int32 | User wijzig |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)

---

Source: https://docs.fledge.nl/en/api/reference/CurrencyCodes
