DEV Community

allratestoday
allratestoday

Posted on

AED and SAR are both pegged to the dollar. So why don't the CBUAE and SAMA tables agree?

Here's a puzzle that comes up in every Gulf group with a Dubai entity and a Riyadh entity.

The dirham is pegged at 3.6725 per US dollar. The riyal is pegged at 3.75. Both pegs have held for decades. So the dirham-riyal rate should be fixed at 3.6725 / 3.75 = 0.979333, and any other currency should convert consistently through the dollar.

Then you pull the official tables from the Central Bank of the UAE (CBUAE) and the Saudi Central Bank (SAMA) for the same day, and nothing quite lines up.

The dirham-riyal rate isn't the peg ratio

From each bank's own table on 25 November 2026:

Official figure Peg ratio Difference
CBUAE: SAR → AED 0.97889 0.979333 −0.045%
SAMA: AED → SAR 1.02096 1.021103 −0.014%

Small, but not zero, and not the same in both directions. Each bank prices the other's currency off its own market snapshot rather than dividing the two pegs. On a SAR 10 million intercompany balance, 0.045% is AED 4,400 of difference that someone in consolidation has to explain.

The euro is a bigger gap, and it's mostly about timing

Divide each bank's EUR rate by its own peg and you get the euro-dollar rate it used. Next to the ECB's daily reference rate:

Date CBUAE EUR/AED ÷ 3.6725 SAMA EUR/SAR ÷ 3.75 ECB EUR/USD
Fri 20 Nov 1.0993 1.0982 1.0990
Mon 23 Nov 1.0931 1.0982 1.0939
Tue 24 Nov 1.0967 1.0896 1.0963
Wed 25 Nov 1.0941 1.0970 1.0935
Thu 26 Nov (later today) 1.0948 (later today)

Two different clocks:

  • CBUAE is based on rates prevailing at 6pm UAE time and publishes Monday to Friday. Its numbers track the same day's market: the 25 November table (1.0941) sits right next to the ECB's 1.0935.
  • SAMA dates a table for every calendar day, and its table dated D usually reflects the previous trading day. The SAMA table dated 25 November (1.0970) looks like the 24th's market; the 26th (1.0948) looks like the 25th. SAMA's Saturday, Sunday and Monday tables are identical.

So on any given date, the "official euro" in Dubai and Riyadh can be a full trading day apart. On 24 November, that was 1.0967 against 1.0896, a 0.65% gap. On a EUR 1 million balance, that's a lot more than rounding.

Which table to use where

The honest answer is that each entity follows its own country's rules, and the group deals with the difference at consolidation.

  • UAE entity, VAT. Article 69 of the UAE VAT law points to the Central Bank of the UAE rate on the date of supply. Use the CBUAE table.
  • Saudi entity, VAT. The VAT Implementing Regulations point to the daily rate prescribed by SAMA on the date the tax becomes due. Use the SAMA table, on its own date, without shifting it to "fix" the lag.
  • Customs in either country. The GCC Common Customs Law converts at the rate in the bulletins of the competent authority on the declaration date, which in practice means that country's central bank.
  • Group consolidation. This is a policy choice. Pick one source for translating both entities into the group currency (often the parent's central bank, or one market-rate feed for everything) and write it down. What doesn't work is translating the Saudi books at SAMA and the UAE books at CBUAE and expecting intercompany balances to eliminate cleanly.

Pulling both tables from one place

Neither bank has a public API; both show their tables on web pages. AllRatesToday reads both and serves them in the same shape, so the code for one works for the other:

const KEY = process.env.ALLRATES_KEY;
const get = (bank, src, tgt) =>
  fetch(`https://allratestoday.com/api/v1/central-bank/${bank}/latest?source=${src}&target=${tgt}`, {
    headers: { Authorization: `Bearer ${KEY}` },
  }).then((r) => r.json());

const [uae, ksa] = await Promise.all([get('cbuae', 'EUR', 'AED'), get('sama', 'EUR', 'SAR')]);

const eurUsdUae = uae.rate / 3.6725;
const eurUsdKsa = ksa.rate / 3.75;
console.log(uae.rate_date, eurUsdUae.toFixed(4), ksa.rate_date, eurUsdKsa.toFixed(4));
console.log('gap', ((eurUsdKsa / eurUsdUae - 1) * 100).toFixed(2) + '%');
Enter fullscreen mode Exit fullscreen mode

Running that daily and alerting above some threshold (say 0.3%) is a cheap way to see the days when the two entities' euro balances will move differently, before month-end rather than after.

The latest tables are free with an API key (register); past dates and history are on paid plans. The other four GCC central banks (Qatar, Kuwait, Bahrain, Oman) are served the same way if your group is wider than two countries.

Further reading: CBUAE exchange rate API and SAMA exchange rate API.

Top comments (0)