---
title: "VAT Exchange Rate API: HMRC, ECB and CBIC Rates for VAT"
description: "Exchange rate API for VAT: HMRC monthly rates, the ECB reference rate for EU VAT and OSS, CBIC customs rates for India GST, plus national central bank rates. The rate in force on the tax point, with its publication date. JSON, CSV, XLSX."
canonical: https://allratestoday.com/vat-exchange-rate-api/
source: AllRatesToday (https://allratestoday.com/) — Markdown mirror of the page above; index of all pages at https://allratestoday.com/llms.txt
generated: 2026-11-23T22:03:08.403Z
---

# VAT Exchange Rate API: HMRC, ECB and CBIC Rates for VAT

Exchange rate API for VAT: HMRC monthly rates, the ECB reference rate for EU VAT and OSS, CBIC customs rates for India GST, plus national central bank rates. The rate in force on the tax point, with its publication date. JSON, CSV, XLSX.

By [Madhushan](https://allratestoday.com/authors/madhushan/), Founder & Lead Developer · Updated 21 Oct 2026

   **The rate your VAT return names, for the date VAT became chargeable.** HMRC monthly rates, the ECB reference rate for EU VAT and OSS, CBIC customs rates for India, and the national rate from [124 central banks and 59 tax and customs authorities](https://allratestoday.com/central-bank-rates-api/institutions/). Every response carries the publication date, so the figure on the return can be traced back to its source.

## Which rate VAT needs, by jurisdiction

VAT is due in the home currency, so a foreign-currency invoice has to be converted at a rate the tax rules accept. The rules name a publisher, not a market price. A summary of the common cases (check your own position with your adviser). The full rules for the EU, UK and Switzerland are in [exchange rates for VAT on foreign-currency invoices](https://allratestoday.com/for-finance-teams/vat-invoice-exchange-rates/).

| Where | Rate commonly used | Source in the API |
| --- | --- | --- |
| United Kingdom | HMRC period (monthly) rate, or the UK market selling rate at the time of supply (VAT Notice 700); HMRC rates for import VAT | [`hmrc`](https://allratestoday.com/tax-authority-rates-api/hmrc/) |
| EU, any member state | Latest ECB reference rate when VAT becomes chargeable, which Art. 91(2) of the VAT Directive requires every member state to accept | [`ecb`](https://allratestoday.com/central-bank-rates-api/ecb/) |
| EU One-Stop Shop (OSS / IOSS) | ECB rate on the last day of the tax period (Art. 366) | [`ecb`](https://allratestoday.com/central-bank-rates-api/ecb/) |
| Poland | NBP average rate from the last business day before the tax point (VAT Act, Art. 31a) | [`nbp`](https://allratestoday.com/central-bank-rates-api/nbp/) |
| Czechia, Hungary, Sweden, Denmark | The national central bank's rate under national rules, or the ECB rate | [`cnb`](https://allratestoday.com/central-bank-rates-api/cnb/), [`mnb`](https://allratestoday.com/central-bank-rates-api/mnb/), [`riksbank`](https://allratestoday.com/central-bank-rates-api/riksbank/), [`dnb`](https://allratestoday.com/central-bank-rates-api/dnb/) |
| Switzerland | Import VAT on the customs value at the BAZG rate | [`bazg`](https://allratestoday.com/tax-authority-rates-api/bazg/) |
| India (GST) | Goods: the CBIC-notified customs rate (CGST Rule 34). Services: the rate under generally accepted accounting principles, often RBI/FBIL | [`cbic`](https://allratestoday.com/tax-authority-rates-api/cbic/), [`rbi`](https://allratestoday.com/central-bank-rates-api/rbi/) |

For India specifically, the [GST invoice exchange rate guide](https://allratestoday.com/blog/gst-invoice-exchange-rate-india/) walks through goods and services separately.

## The rate in force on the tax point

VAT normally fixes the rate at the chargeable event (the tax point, usually the date of supply), which is not always the invoice date. Ask for that date and the API returns the table that was in force then: the latest publication on or before it. HMRC publishes monthly, CBIC every fortnight, the ECB every TARGET business day; the lookup is the same for all of them.

```
# The HMRC rate in force on the tax point (paid plans)
curl "https://allratestoday.com/api/v1/central-bank/hmrc/2026-10-15?source=GBP&target=USD" \
  -H "Authorization: Bearer art_live_your_key"
```

```
{
  "bank": "hmrc",
  "requested_date": "2026-10-15",
  "rate_date": "2026-10-01",
  "published_on_requested_date": false,
  "source": "GBP",
  "target": "USD",
  "rate": 1.3456,
  "rate_type": "monthly",
  "derived": false,
  "method": "published"
}
```

`rate_date` is the publication the rate comes from, and `published_on_requested_date` shows whether a table was published that day. Keep both with the invoice. In Python, as part of an invoicing flow:

```
import requests

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

def vat_rate(source, invoice_currency, home_currency, tax_point):
    """Rate in force on the tax point, plus the evidence to keep with the invoice."""
    r = requests.get(
        f"{API}/{source}/{tax_point}",
        params={"source": invoice_currency, "target": home_currency},
        headers=HEADERS,
    ).json()
    return r["rate"], {"source": r["bank"], "rate_date": r["rate_date"], "type": r["rate_type"]}

# EU VAT on a USD invoice, German taxpayer, ECB rate (Art. 91(2) VAT Directive)
rate, evidence = vat_rate("ecb", "USD", "EUR", "2026-10-14")
vat_base_eur = round(12_500 * rate, 2)
```

## What an auditor will ask for

- **Who published the rate.** Every response names the institution (`bank`) and the type of rate (`rate_type`: monthly, reference, import, export).
- **Which publication it came from.** `rate_date` is the institution's publication date, not the time you fetched it.
- **That it was not altered.** Rates are served unmodified. Anything computed from a table, such as a cross rate, is flagged `derived: true` with the `method`.
- **The whole period at once.** Month-end and quarter-end runs can download a source's history as [JSON, CSV, XML or XLSX](https://allratestoday.com/docs/) to attach to the working papers.

How the tables are collected and checked is described in the [official rates methodology](https://allratestoday.com/official-rates-methodology/).

## In your accounting system

Step-by-step guides load these rates straight into [Dynamics 365 Business Central](https://allratestoday.com/docs/integrations/business-central/), [SAP](https://allratestoday.com/docs/integrations/sap/), [Xero](https://allratestoday.com/docs/integrations/xero/), [QuickBooks](https://allratestoday.com/docs/integrations/quickbooks/) and [Odoo](https://allratestoday.com/docs/integrations/odoo/). Business Central's exchange rate service can pass the key as `?api_key=`, since it cannot send headers.

## Frequently asked questions

### Which exchange rate do I use for VAT?

The one your tax authority names. In the UK that is usually the HMRC period rate or the UK market selling rate at the time of supply (VAT Notice 700). In the EU, Article 91(2) of the VAT Directive lets every business use the latest ECB rate at the time VAT becomes chargeable, alongside the national rule. Non-euro member states such as Poland use their central bank's rate under national law. India's GST valuation rules point to the CBIC customs rate for goods.

### Which rate does the EU One-Stop Shop (OSS) use?

Article 366 of the VAT Directive: the ECB rate published on the last day of the tax period, or the next rate published if there is none that day. Request the ECB table for that date and the API returns the rate in force.

### What if no rate was published on the tax point?

Dated requests return the table in force on that date: the most recent publication on or before it. The response shows both requested_date and rate_date, and published_on_requested_date tells you whether they match, so a weekend or holiday is visible in your records.

### Is the rate changed or rounded?

No. Published rates are served as the institution published them, with its publication date. Where a pair has to be computed from a table (for example a cross rate), the response marks it derived: true and states the method.

## Use the rate the tax rules name

Latest tables are free with a link. Dated lookups and history come with every paid plan; finance teams use the Business plan.

 [See the Business plan](https://allratestoday.com/pricing/#official) [Tax authority rates](https://allratestoday.com/tax-authority-rates-api/)

## Related

  [Tax Authority Rates APIHMRC, BAZG, US Treasury, CBIC](https://allratestoday.com/tax-authority-rates-api/) [Central Bank Exchange Rate API124 central banks](https://allratestoday.com/central-bank-rates-api/) [For Finance TeamsMonth-end, audit, ERP](https://allratestoday.com/for-finance-teams/) [ERP IntegrationsBusiness Central, SAP, Xero, QuickBooks, Odoo](https://allratestoday.com/docs/integrations/) [GST Invoice Exchange RateIndia: goods vs services](https://allratestoday.com/blog/gst-invoice-exchange-rate-india/) [Plans & PricingFree to 1M requests/month](https://allratestoday.com/pricing/)
