# Exchange rates

> The table in which the Central Bank (TCMB) daily rates are stored — the Günün Kurları (Rates of the Day) and Para Birimi Geçmişi (Currency History) views, manual rate entry, requesting rates from TCMB and where a rate is used.

URL: https://erpdocs.corexlogic.com/en/finans/ekranlar/doviz-kurlari

- **Type:** Screen
- **Module:** Finance
- **Menu path:** Finans › Genel Muhasebe › Döviz Kurları (Finance › General Ledger › Exchange Rates)
- **Screen route:** `/erp/accounting/exchange-rates`
- **Required permission:** `erp-accounting-exchange-rates.view (görme) · .create (Kur Gir, Kuru Düzelt, TCMB'den Getir)`

The exchange rates used by documents and accounting are stored in this table. The rates are fetched automatically from the
daily publication of the Central Bank of the Republic of Türkiye (TCMB); they can also be entered manually. Invoices,
journal entries, exchange rate valuation and exchange rate differences read the rate from this table without going to TCMB.
A manually entered rate overrides the TCMB rate of that day and is shown with the **Elle** (Manual) badge.

Exchange rates are a separate feature in the **Pre-Accounting** section of Module Management; they are used even when the
General Ledger package is off. The view permission is part of the read baseline of all operational roles; entering rates and
requesting them from TCMB requires `create`.

## Views

The window's title bar has **Yenile** (Refresh) and, if you have the `create` permission, **TCMB'den Getir** (Fetch from TCMB)
and **Kur Gir** (Enter Rate). Above the list there are two views: **Günün Kurları** (Rates of the Day) and **Para Birimi
Geçmişi** (Currency History). The number next to it reads "N para birimi" (N currencies) in the daily table and "N gün"
(N days) in the history.

![Exchange rates](https://erpdocs.corexlogic.com/en/en/img/screens/finans/doviz-kurlari.png)
1. Daily rates · currency history
2. Documents read the buying rate
3. CBRT or manual
4. Fetch from CBRT · enter a rate

### Günün Kurları (Rates of the Day)

The rates of a single day. If the **Kur günü** (Rate Date) filter is empty, the latest rate day opens; a future day cannot be selected.

| Column | Description |
|---|---|
| **Kod** (Code) | The three-letter code of the currency. The installation's currencies (in the order under Yönetim › Özelleştirme › Genel › Para Birimleri — Administration › Customization › General › Currencies) are at the top and in bold; the others are alphabetical. |
| **Para birimi** (Currency) | The Turkish name of the currency. |
| **Birim** (Unit) | How many units the rate is for (100 for currencies such as JPY). |
| **Döviz alış** (Buying) · **Döviz satış** (Selling) | The TL equivalent of **Birim** units of foreign currency. |
| **Kaynak** (Source) | **TCMB** or **Elle** (Manual). Hover over the **Elle** badge to see who entered the rate and when. |

The row's **İşlemler** (Actions) menu has **Kuru Düzelt** (Correct Rate) (with the `create` permission).

If there is no rate on the selected day, the screen tells you why and suggests moving to the previous publication day: "… için kur yok — TCMB hafta sonu ve tatilde yayın yapmaz; belgeler önceki yayın gününün kurunu kullanır." (There is no rate for … — TCMB does not publish on weekends and holidays; documents use the rate of the previous publication day.) The **… kurlarını göster** (Show the rates of …) link below it opens that day.

### Para Birimi Geçmişi (Currency History)

The days of a single currency, newest day first, paged.

- **Filters:** **Para birimi** (Currency; the codes stored on the latest rate day; if none is selected, the installation's first foreign currency), **Başlangıç** (From), **Bitiş** (To).
- **Columns:** **Kur günü** (Rate Date), **Birim**, **Döviz alış**, **Döviz satış**, **Kaynak**; on the row **Kuru Düzelt**.

## Entering and correcting a rate

The **Kur Gir** (Enter Rate) window: "Elle girilen kur o günün TCMB kurunu ezer; belgeler kuru bu tablodan okur." (A manually entered rate overrides the TCMB rate of that day; documents read the rate from this table.)

| Field | Description |
|---|---|
| **Kur günü** (Rate Date) | Required. |
| **Para birimi** (Currency) | Required. The installation's currencies; the local currency (TRY) is not in the list, its rate is not kept. |
| **Birim** (Unit) | Required, between 1 and 100000. "Kur bu kadar birimin TL karşılığıdır (JPY için 100)." (The rate is the TL equivalent of this many units (100 for JPY).) |
| **Döviz alış** (Buying) | "Faturanın yasal kuru döviz alıştır." (The legal rate of the invoice is the buying rate.) Greater than zero, at most 6 decimals. |
| **Döviz satış** (Selling) | Greater than zero, at most 6 decimals. At least one of buying and selling must be entered. |

**Kaydet** (Save) writes the rate: "… kuru kaydedildi." (The … rate was saved.) Its source becomes **Elle**.

To correct an existing rate, select **Kuru Düzelt** from the row's **İşlemler** menu. The window opens the same fields; **Kur günü** and **Para birimi** are locked. A corrected TCMB rate also becomes **Elle**.

## Requesting rates from TCMB

With the default setting, TCMB rates are fetched automatically every hour: the missing days of the last ten days are queried, and today's rate arrives after TCMB's publication time (16:00). To get a missing day without waiting, click **TCMB'den Getir** (Fetch from TCMB).

The **TCMB'den Kur Getir** (Fetch Rates from TCMB) window: "İstek kuyruğa yazılır; kurlar TCMB'den alınınca listeye düşer. Aynı gün ikinci kez sorulmaz, elle girilen kur ezilmez." (The request is written to a queue; when the rates are received from TCMB they appear in the list. The same day is not queried a second time, and a manually entered rate is not overridden.) Select the **Kur günü** (Rate Date) and click **İste** (Request): "… kurları istendi — birkaç dakika içinde listeye düşer." (The … rates were requested — they will appear in the list within a few minutes.) The screen does not wait for the result; check after a few minutes with **Yenile** (Refresh).

- A future date cannot be requested; TCMB does not publish on weekends and holidays.
- If fetching from TCMB is turned off in the installation, the request is rejected; enter the rates manually.

## Where a rate is used

Documents and accounting read the rate from this table and use the **buying rate** (döviz alış). If there is no rate on the requested day, the system goes back at most ten days and takes the rate of the nearest publication day; if there is no rate in that range either, no rate is invented.

| Place | How |
|---|---|
| Outgoing invoice draft | On a foreign-currency invoice, the **Kur** (Rate) field is proposed from the stored rate when the draft is opened; **Öner** (Suggest) re-reads the buying rate of the invoice date. If there is no rate: "Bu tarih için saklanan kur yok — Döviz Kurları'nda TCMB'den getirin ya da elle girin." (There is no stored rate for this date — fetch it from TCMB in Exchange Rates or enter it manually.) |
| Foreign-currency line of a journal entry | If the rate is left blank, the buying rate of the entry's document date; the line's TRY amount is calculated on the server. If there is no rate, the entry is not saved: "… satır: … için … kuru yok — kuru girin." (Line …: there is no … rate for … — enter the rate.) |
| Automatic journal entry of documents | If the document carries no rate, the rate of the document day. If no rate is found, the event waits in **Muhasebeleşmemiş Olaylar** (Unposted Accounting Events); retry after you have entered the rate. |
| Exchange rate valuation | The buying rate of the valuation day. |
| Exchange rate difference | The difference between the buying rate of the payment day and the rate of the invoice. |
| VAT report | A foreign-currency invoice reference without a rate is converted to TRY at the rate of the invoice day. |

## Good to know

- A manually entered rate is not overridden by the next TCMB fetch. If you want to return to TCMB's value, type the value manually; the source stays **Elle**.
- If a rate already exists for the day and currency entered with **Kur Gir**, no new row is created; the existing rate is corrected.

## Common messages

| Message | Cause and solution |
|---|---|
| "Kur günü zorunlu." (Rate date is required.) | No day was selected in the window. |
| "Para birimi üç harfli kod olmalı (USD, EUR…)." (Currency must be a three-letter code (USD, EUR…).) | No currency was selected. |
| "Yerel para biriminin kuru girilmez." (No rate is entered for the local currency.) | A rate cannot be entered for TRY. |
| "Birim 1 ile 100000 arasında olmalı." (Unit must be between 1 and 100000.) | Correct the unit. |
| "Döviz alış ya da satış kurundan en az biri girilmeli." (At least one of the buying or selling rate must be entered.) | Both rates are empty. |
| "Döviz alış sıfırdan büyük ve en çok 6 ondalık olmalı." (Buying rate must be greater than zero and have at most 6 decimals.) | Correct the rate (the same message with "Döviz satış" for selling). |
| "… günü için … kuru zaten var ya da bu arada değişti — sayfayı yenileyip satırdaki Kuru Düzelt ile girin." (The … rate for … already exists or changed in the meantime — refresh the page and enter it with Correct Rate on the row.) | You entered a rate with **Kur Gir** for a day that already has a rate, or the rate changed while you were correcting it (manual correction or TCMB refresh). Refresh the page and enter it with **Kuru Düzelt** from the row. |
| "İleri tarihin kuru yok." (There is no rate for a future date.) | A future day was requested from TCMB. |
| "TCMB'den kur alma kapalı (ExchangeRates:TcmbEnabled) — kuru elle girin." (Fetching rates from TCMB is turned off (ExchangeRates:TcmbEnabled) — enter the rate manually.) | The TCMB connection is turned off in the installation. Enter the rate with **Kur Gir**. |
| "Bu gün için kur yok." (There is no rate for this day.) | No rate is stored on the selected day; move to the previous publication day or request the rate. |

## Related

- [Journal entries](https://erpdocs.corexlogic.com/en/finans/ekranlar/yevmiye-fisleri) · [Unposted accounting events](https://erpdocs.corexlogic.com/en/finans/ekranlar/muhasebelesmemis-olaylar)
- [Period-end closing](https://erpdocs.corexlogic.com/en/finans/ekranlar/donem-sonu-kapanisi) · [Performing exchange rate valuation](https://erpdocs.corexlogic.com/en/finans/islemler/kur-degerlemesi-yapma)
- [Calculating exchange rate differences](https://erpdocs.corexlogic.com/en/finans/islemler/kur-farki-hesaplama) · [Outgoing e-Invoices](https://erpdocs.corexlogic.com/en/finans/ekranlar/giden-e-faturalar)
