Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Accounting
  3. BAM FX Rates (Community) v 19.0
  4. Sales Conditions FAQ

BAM FX Rates (Community)

by Softarena https://www.softarena.ma
Odoo

$ 80.00

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 241
Technical Name currency_rate_bam_community
LicenseLGPL-3
Websitehttps://www.softarena.ma
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 241
Technical Name currency_rate_bam_community
LicenseLGPL-3
Websitehttps://www.softarena.ma
  • Description
  • Documentation

Bank Al-Maghrib — Community edition

Updates exchange rates in Odoo from the official Bank Al-Maghrib API (Cours Virement). Designed for databases that do not include the Enterprise Live Currency application (currency_rate_live).

Key features

  • Settings UI: API URL, Ocp-Apim-Subscription-Key, timeout, and an automatic update toggle.
  • Automation: optional daily cron for companies with auto-update enabled.
  • Manual run: Update now button on settings.
  • Parsing: supports the official JSON list format and a legacy JSON object shape as fallback.

Requirements

  • Odoo 19.0 with Accounting.
  • Multi-currency enabled (standard Accounting settings).
  • External service: a valid Bank Al-Maghrib API subscription key (Azure API Management).
  • Network: outbound HTTPS access to the configured API endpoint.

How to obtain an API subscription key

To use Bank Al-Maghrib web services, you must register on the official developer portal. The portal states that users need to subscribe free of charge for an API key to access the services.

  1. Create an account on the API portal

    Open the developer helpdesk portal at https://apihelpdesk.centralbankofmorocco.ma (copy this address into your browser) and click Sign up. Complete the registration form and validate your e-mail address.

  2. Log in and subscribe to a product

    After your account is active, sign in and select the product that matches the service you need (for example, Foreign exchange market / Marché des changes for transfer / virement rates). Developer documentation explains that you obtain unique keys through Bank Al-Maghrib’s developer services portal.

  3. Retrieve your key

    Once subscribed to the product, a subscription key is generated in your developer area (often a primary and a secondary key). You must send this key on every API call using the HTTP header Ocp-Apim-Subscription-Key, or using the subscription-key query parameter; otherwise the API typically responds with 401 Unauthorized.

With that key, you can query the CoursVirement endpoint for transfer rates and paste the same value into Odoo’s Ocp-Apim-Subscription-Key field in settings.

Odoo Apps compliance note

This module is meant for Community-style deployments without currency_rate_live. If you use Odoo Enterprise with Live Currency, use the companion Enterprise provider module from the same publisher for the supported workflow.

Screenshot (illustrative)

Example configuration screen for Bank Al-Maghrib Community rates

Support

For purchase-related issues and configuration help, contact: helpdesk@softarena.ma

BAM FX Rates (Community)

Overview

This module updates res.currency.rate using the official Bank Al-Maghrib API, for databases without the Enterprise Live Currency application (currency_rate_live).

Requirements

  • Odoo 19.0
  • Module: account
  • Multi-currency enabled
  • A valid Bank Al-Maghrib API subscription key (Ocp-Apim-Subscription-Key)
  • HTTPS egress to the Bank Al-Maghrib API host

Configuration

Settings → Accounting → Currencies: configure URL, key, timeout, enable automatic updates if desired, and use Update now for a manual run.

Support

See the support field in __manifest__.py (Odoo Apps).

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with