OdooWiki OCA HUB

Currency Rate Update: Banxico

currency_rate_update_banxico folder_open OCA/l10n-mexico open_in_new
Financial Management/Configuration License: AGPL-3

This module extends Currency Rate Update with the Banxico exchange rate web service for Mexican companies.

It adds Bank of Mexico as a currency rate provider and supports EUR, CAD, JPY, GBP, and USD rates published by Banxico.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds the Bank of Mexico (Banxico) as a currency rate provider in Odoo, so Mexican companies can automatically download EUR, CAD, JPY, GBP and USD exchange rates from Banxico's web service.

This module extends the Currency Rate Update feature with a new provider option called "Bank of Mexico". Users configure it on the currency rate provider screen, where a new "Banxico Token" field appears and is required when this provider is selected.

Once configured, Odoo can fetch exchange rates from Banxico for EUR, CAD, JPY, GBP and USD. Rates are retrieved for a chosen date range, or for the latest available rate when the start date is today or in the future. Dates marked as "N/E" (not available) by Banxico are skipped, and the downloaded values are converted into Odoo's expected rate format.

A warning message is shown on the provider form when the company's base currency is not MXN, because Banxico publishes rates based on the Mexican peso and other foreign currency rates are recalculated, which may differ from real market rates.

If the web service cannot be reached or returns an error, a clear error message is displayed asking the user to contact their administrator. The module only affects the res.currency.rate.provider model and its form view; it does not add new menus or reports.

Models and fields (1)
  • res.currency.rate.provider · extends an existing modelservice, banxico_token

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-mexico.

terminal Installation and usage

OCA documentation · Odoo 19.0

To enable scheduled currency rates update:

  • Go to Invoicing \> Configuration \> Settings.
  • Ensure Automatic Currency Rates (OCA) is checked.

To configure the Banxico provider:

  • Go to Banxico to generate an API token.
  • Go to Invoicing \> Configuration \> Currency Rates Providers.
  • Create a provider or edit an existing one, select Bank of Mexico as the Source Service, and paste the token in Banxico Token.
  • Select the currencies to update and save the provider.

After configuration, currency rates are updated like any other OCA provider:

  • On the provider form, use Update Rates to fetch rates for a date range.
  • When automatic updates are enabled, the scheduled job refreshes rates according to the provider interval.

If your company currency is not MXN, Banxico rates are still fetched in MXN and recalculated for your base currency. A warning is shown on the provider form in that case.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.