> ## Documentation Index
> Fetch the complete documentation index at: https://gobl-regime-code.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ExchangeRate

ExchangeRate contains data on the rate to be used when converting amounts from one currency into another.

## Schema ID

`https://gobl.org/draft-0/currency/exchange-rate`

## Properties

| Title  | Property | Type                                    | Req. | Description                                                                                                                                                                         |
| ------ | -------- | --------------------------------------- | ---- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| From   | `from`   | [currency.Code](/draft-0/currency/code) | true | Currency code this will be converted from.                                                                                                                                          |
| To     | `to`     | [currency.Code](/draft-0/currency/code) | true | Currency code this exchange rate will convert into.                                                                                                                                 |
| At     | `at`     | [cal.DateTime](/draft-0/cal/date_time)  |      | At represents the effective date and time at which the exchange rate is determined by the source. The time may be zero if referring to a specific day only.                         |
| Source | `source` | [cbc.Key](/draft-0/cbc/key)             |      | Source key provides a reference to the source the exchange rate was obtained from. Typically this will be determined by an application used to update exchange rates automatically. |
| Amount | `amount` | [num.Amount](/draft-0/num/amount)       | true | How much is 1 of the "from" currency worth in the "to" currency.                                                                                                                    |
