---
title: "Exchange rates — React Box documentation"
description: "The official Bank Al-Maghrib rates in React Box: transfer and banknote rates, history chart and a converter for today or any earlier date."
url: https://www.react-box.com/en/docs/exchange
lang: en
---

Foreign exchange

# Exchange rates

React Box tracks the official rates published by Bank Al-Maghrib. They are used to convert your foreign-currency documents, to follow a currency over time, and to alert you when a threshold is crossed.

Updated on October 24, 2026

## What the rates are for

A single source of rates, three distinct uses.

* Consult the official Bank Al-Maghrib rates, updated automatically every business day.
* Convert foreign-currency invoices, purchases and receipts into your organization's currency.
* Watch a currency and get an alert as soon as it crosses the threshold you set.

## The source: Bank Al-Maghrib

The rates come from the quotations published by the Moroccan central bank, fetched several times a day to account for the lag between the value date and the publication time. Every rate is dated: React Box keeps the history, which makes it possible both to draw a curve and to retrieve the exact rate for a given day.

Note

All values are expressed in Moroccan dirham: a rate tells you how much one unit of the foreign currency is worth in MAD.

## The three published rates

Bank Al-Maghrib publishes several rates for the same currency; they do not serve the same purpose.

* Transfer rate  
The reference rate, used for account-to-account operations. It is the one React Box uses for its accounting conversions.
* Banknotes · buy  
The rate at which banks buy foreign banknotes back, so the one you get when exchanging cash.
* Banknotes · sell  
The rate at which banks sell foreign banknotes, so the one you pay to buy cash.

## Consulting the rates

Two complementary tools, available to every organization.

* History chart  
Follow several currencies side by side over one month, three months, six months or a year, and switch between the transfer rate and the banknote rates.
* Converter  
Convert an amount into dirham at the transfer rate of today or of an earlier date, without leaving the page.

## The converter

On the Exchange rates page, on the web and in the mobile app.

* Rate date — today by default. Pick an earlier date to find what an amount was worth on that day; the "Today" button brings you back to the current rate.
* Applied rate — the rate reads "1 EUR = … MAD", together with "Rate as of …": the effective date of the Bank Al-Maghrib rate being used.
* Day without a quote — if no rate was published on the chosen date, a weekend or a public holiday for instance, the converter uses the latest rate published before that date and says so in a note.
* Allowed dates — a future date is not accepted, nor is a date earlier than the first rate React Box has stored.

Note

The converter is for looking things up: it records nothing and never touches the frozen rate of your documents. When no rate has been published for a currency in a long while, the conversion is reported as unavailable rather than computed from an outdated rate.

## Going further

How rates apply to your documents, and how to be warned of a move.

### [Converting amounts](https://www.react-box.com/en/docs/exchange/conversion)

Base currency, frozen rate, documents concerned and unconverted amounts.

Read the page

### [Rate alerts](https://www.react-box.com/en/docs/exchange/alerts)

Thresholds, watched rate, notification channels and daily recap.

Read the page
