/reference/currencies
List currencies
Returns all configured currencies. Use the code field as currencyCode in order creation. Reference lists are bounded configuration data and are returned unpaginated. Responses carry a weak ETag; pass it back in If-None-Match to get 304 Not Modified while the list is unchanged.
Svar
PublicCurrencyResponse[]
-
ETag— Weak validator for this representation. Pass it back in If-None-Match to get 304 Not Modified while the record is unchanged.
| Fält | Typ | Beskrivning |
|---|---|---|
code
|
string · nullable | ISO 4217 currency code, e.g. `SEK`, `EUR`. |
decimalPlaces
|
integer | Number of decimal places used when displaying amounts in this currency. |
exchangeRate
|
decimal | Exchange rate relative to the tenant base currency. Serialised as a decimal string. |
isBase
|
boolean | Whether this is the tenant's base / accounting currency. |
name
|
string · nullable | Display name of the currency, e.g. `Swedish Krona`. |
symbol
|
string · nullable | Currency symbol, e.g. `kr`, `€`. Null if not configured. |
-
ETag— Weak validator for this representation. Pass it back in If-None-Match to get 304 Not Modified while the record is unchanged.
Standardfel:
401
403
Felhantering
Exempel
curl "https://api.fluit.cloud/preview/reference/currencies"
[
{
"code": "string",
"decimalPlaces": 2,
"exchangeRate": "299.00",
"isBase": true,
"name": "Acme AB",
"symbol": "string"
}
]
Bas-URL https://api.fluit.cloud/preview. Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.