DEV Community

chathuranga basnayaka
chathuranga basnayaka

Posted on

TCMB Buying or Selling Rate? Converting Foreign-Currency Invoices for Turkish VAT

Every Turkish accounting integration hits the same question sooner or later: TCMB publishes four numbers per currency each day (forex buying, forex selling, banknote buying and banknote selling), so which one goes on the invoice, the VAT return and the month-end revaluation?

On 25 November 2026, USD/TRY was 50.5531 (forex buying) and 50.6441 (forex selling). On a USD 100,000 invoice that's TRY 9,100 of difference in the VAT base, so it's worth getting right.

This post covers what the rules say, as interpreted in Turkish accounting practice, and how to fetch the right figure. It's not tax advice: check edge cases with your mali müşavir.

VAT: forex buying rate on the date of the taxable event

Under Article 26 of the VAT Law (3065 sayılı KDV Kanunu) and section III/A-1.1 of the VAT General Implementation Communiqué (KDV Genel Uygulama Tebliği), when the consideration is in foreign currency:

  1. If the buyer and seller agreed a rate (a "cari kur"), that rate is used.
  2. Otherwise, the amount is converted at TCMB's forex buying rate (döviz alış kuru) valid on the day the VAT liability arises (vergiyi doğuran olay).

So the default is the buying rate, not the selling rate, and the date is the taxable event's date, which is not necessarily the invoice's issue date or the payment date.

Exchange differences come later. If the price is in foreign currency and is paid after the taxable event, an exchange difference in the seller's favour is part of the VAT base, and it's invoiced separately. For invoices to customers abroad, practice sources note that no exchange-difference invoice or VAT arises.

Revaluation: VUK Article 280

For valuing foreign-currency items at period end, Article 280 of the Tax Procedure Law (Vergi Usul Kanunu) refers to the exchange rate (borsa rayici). Türkiye has no foreign-exchange exchange (kambiyo borsası), so the Ministry of Treasury and Finance sets the rates to use. In practice:

  • Foreign-currency receivables, payables and other holdings: TCMB forex buying rate.
  • Foreign cash on hand (kasa): TCMB banknote buying rate (efektif alış).
  • Year-end: the Ministry announces the rates in a VUK General Communiqué, based on TCMB's rates for the last business day.

For IFRS/TFRS reporting, practitioners differ. Some use the forex buying rate throughout; others use buying for monetary assets and selling for monetary liabilities. Pick one policy and document it.

Where the selling rate appears

The selling rate isn't the default anywhere above, but you'll still see it:

  • In contracts, where parties often agree "TCMB döviz satış kuru" as their cari kur. If they agreed it, it overrides the default for VAT.
  • In bank-to-customer conversions, which happen at a bank's own board (usually well outside TCMB's buy/sell band).
  • In some liability-side revaluation policies, as above.

Fetch the right rate in code

The AllRatesToday TCMB endpoint returns TCMB's forex buying and selling rates as type: "buy" and type: "sell", per 1 unit of the foreign currency (TCMB quotes some currencies, like JPY, per 100; the API divides those for you):

import requests

API = "https://allratestoday.com/api/v1/central-bank/tcmb"
H = {"Authorization": "Bearer art_live_your_key"}

def tcmb_rate(ccy, on=None, kind="buy"):
    """TCMB forex buying (default) or selling rate, ccy -> TRY.
    on=None -> latest table; on='YYYY-MM-DD' -> the table in force that day (paid plans)."""
    path = f"{API}/{on}" if on else f"{API}/latest"
    r = requests.get(path, params={"source": ccy, "target": "TRY", "type": kind}, headers=H)
    r.raise_for_status()
    d = r.json()
    return d["rate"], d["rate_date"]

rate, rate_date = tcmb_rate("USD", on="2026-11-25")       # forex buying, for VAT
vat_base_try = round(100_000 * rate, 2)
print(rate_date, rate, vat_base_try)                       # 2026-11-25 50.5531 5055310.0
Enter fullscreen mode Exit fullscreen mode

Two details matter for audit trails:

  • Weekends and holidays. Ask for a Saturday or a bayram day and the dated endpoint returns the last table published on or before it, with rate_date saying which and published_on_requested_date: false. Store rate_date, not just the date you asked for.
  • Banknote rates. The API carries TCMB's forex buying and selling rates only, not the banknote (efektif) columns. If you revalue physical cash at the efektif buying rate, take that column from TCMB's own bulletin.

A quick checklist

  • [ ] Default VAT conversion: forex buying rate on the taxable event's date, unless a cari kur was agreed.
  • [ ] Store the rate, the TCMB date it came from, and whether it was an agreed rate.
  • [ ] Month-end receivables and payables: forex buying; cash: banknote buying.
  • [ ] Year-end: use the rates announced in that year's VUK General Communiqué.
  • [ ] Exchange differences after the taxable event: separate invoice, and VAT where the rules apply.

Links

TCMB rates are the official indicative rates of the Central Bank of the Republic of Türkiye. Check how they apply to your case with your accountant or tax adviser.

Top comments (0)