OdooWiki OCA HUB

Bank from IBAN

base_bank_from_iban folder_open OCA/community-data-files open_in_new
Localization License: AGPL-3

This module adds a code to bank definition for using it as matching for filling the bank from the IBAN bank account number. It uses the existing by country bank mapping in standard Odoo (), taken from ISO 3166-1 -\> IBAN template, as described here:

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Automatically fills in the bank of a bank account from its IBAN number, creating or completing the bank record when needed. It also adds a bank code field to banks so they can be matched by IBAN.

This module saves typing when registering a bank account: when a user enters an IBAN, Odoo looks up the bank behind that IBAN and fills it in automatically.

Where it appears: - On bank records, a new "code" field is shown next to the bank name, both in the form and in the list view. - On partner bank accounts, when the account type is IBAN and the account number is entered, the bank is looked up and set, and the IBAN is reformatted in a clean, uppercase form. - In the bank account setup wizard used to create a bank account, entering the IBAN also fills the bank.

Automatic behaviour: - When a bank account is saved with an IBAN but no bank, the module reads the IBAN, finds the country and the bank code, and searches for a matching bank by code and country. - If a matching bank exists, any empty details (name, BIC, code, country) are completed; if none exists, a new bank record is created. - If the IBAN is invalid or the bank cannot be identified, nothing is filled in and no error is raised.

It touches the bank model res.bank, the partner bank account model res.partner.bank and the bank setup wizard account.setup.bank.manual.config.

Depends on

base_iban

Required by other modules

Models and fields (3)
  • res.bank · extends an existing modelcode
  • res.partner.bank · extends an existing model
  • account.setup.bank.manual.config · extends an existing model

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: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/community-data-files.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Go to Contacts \> Configuration \> Bank Accounts \> Banks.
  • Create or modify a bank.
  • Put the corresponding code for that bank in the field "Code".

To use this module, you need to:

  • Go to Partner
  • Click Bank Account(s) in "Invoicing" page.
  • Create/modify IBAN bank account.
  • When you put the bank account number, module extracts bank digits from the format of the country, and try to match an existing bank by country and code.
  • If there's a match, the bank is selected automatically.

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.