/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.
Svar
PublicCurrencyResponse[]
| 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. |
Standardfel:
401
403
Felhantering
Exempel
curl "https://api.erp.fluit.cloud/preview/reference/currencies" \
-H "X-Api-Key: fluit_live_sk_..."
[
{
"code": "string",
"decimalPlaces": 2,
"exchangeRate": "299.00",
"isBase": true,
"name": "Acme AB",
"symbol": "string"
}
]
Bas-URL https://api.erp.fluit.cloud/preview. Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.