Exchange rate periods allow you to set custom exchange rates for specific date ranges. This is useful when you need to override the default exchange rates.
Exchange rate periods are only available in the pro plan and require the multicurrency feature to be turned on in your workspace.
Example
{
"id": "w8f46fe3-9c2f-4496-b826-b6b34a4a9fdc",
"fromCurrency": "USD",
"toCurrency": "CAD",
"start": "2024-01-01",
"end": "2024-12-31",
"rate": 0.8,
"createdAt": "2025-02-28T21:13:03.290Z",
}
Attributes
Name | Type | Description |
---|---|---|
id | uuid | The unique identifier for the object. |
fromCurrency | string | The currency code for the source currency. |
toCurrency | string | The currency code for the target currency. |
start | date | The start date for the exchange rate period, in the form YYYY-MM-DD . |
end | date | The end date for the exchange rate period, in the form YYYY-MM-DD . |
rate | number | The exchange rate value. |
createdAt | timestamp | The timestamp when the object was created. |