AiondaAionda

Formula reference · Record context and compatibility

CURRENCYRATE

Return units of the corporate currency per one unit of the requested currency.

English · 23 November 2026

Review edition — editorial review is not yet complete.

Back to the function catalog

What it does

Return units of the corporate currency per one unit of the requested currency.

Syntax

CURRENCYRATE(currency_code)

Square brackets mark optional arguments; omit the brackets. Separate arguments with commas, quote text and use a point for decimals.

Arguments, in order

ArgumentMeaning
currency_codeThree-letter ISO currency code, such as "USD". Codes are case-insensitive. The corporate currency defaults to EUR.

Returns: Number.

Worked examples

Example 1

Example context: corporate currency EUR; any shown exchange rates are fixed fictional test values.

Formula

CURRENCYRATE("USD")

Result

0.8

Example 2

Example context: corporate currency EUR; any shown exchange rates are fixed fictional test values.

Formula

100 * CURRENCYRATE("USD")

Result

80

Example 3

Example context: corporate currency EUR; any shown exchange rates are fixed fictional test values.

Formula

CURRENCYRATE("EUR")

Result

1

Quotes in the result indicate text; \n indicates a newline. Date results use ISO notation. The application may display dates and numbers differently according to the selected field type and interface language.

Behaviour and limits

Examples use a fictional fixed rate, not a current quote. Multiply a foreign-currency amount by the returned rate to convert it to the corporate currency. The configured free Frankfurter feed supplies reference rates, not live trading quotes. Feldwerk checks for new rates at most hourly when API requests arrive. The API endpoint GET /api/wechselkurse reports source, oldest included observation date, retrieval time and expiry. On provider failure, the last valid snapshot remains usable until expiry; failed requests can retry after one minute. A snapshot expires after at most 36 hours and never includes observations older than seven days. Missing, unsupported or expired rates return null, never a guessed 1:1 rate. The corporate currency itself always returns 1 when the server context is available. This missing-rate behaviour intentionally differs from systems that return 1 for invalid codes. Rates are evaluated at read time; they do not freeze a historical invoice exchange rate.

Use it with your fields

Replace example values with the relevant field API names when needed. A record formula uses names such as amount; a flow expression uses its context, such as $Datensatz.amount. Use your actual API names and a compatible return type. See expression basics and flows.