OdooWiki OCA HUB

Account Reconcile Match Regex

account_reconcile_match_regex folder_open OCA/account-reconcile open_in_new
Uncategorised License: AGPL-3

This modules allows to transform the different fields to improve the matching of invoices.

It works with Community and Enterprise Editions.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a regular expression field to reconciliation models so Odoo can extract the invoice number from a payment reference and use it to match bank statement lines with invoices.

This module extends the reconciliation models used in the bank reconciliation screen. On each reconciliation model form, a new field called "match_invoice_regex" is added right after the matching order field. There you can enter a regular expression (a search pattern) that tells Odoo how to find the invoice number inside the payment reference text.

When Odoo tries to match a bank statement line, it normally compares the line's text values with the invoice. With this module, if a regular expression is set on the reconciliation model, Odoo also applies that pattern to the available text values and adds every captured group it finds to the list of values used for matching. If the pattern has no groups, the whole matched text is used instead.

  • Users configure the pattern once per reconciliation model.
  • No new menus or reports are created; the change appears inside the existing reconciliation model configuration form.
  • The behaviour only activates when the field is filled in; otherwise matching works exactly as before.

The module touches the account.reconcile.model model and its matching logic, so it affects automatic bank reconciliation in the Accounting app.

Depends on

account
Models and fields (1)
  • account.reconcile.model · extends an existing modelmatch_invoice_regex

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/account-reconcile.

terminal Installation and usage

OCA documentation · Odoo 16.0
  • Access Reconcile Models
  • On an invoice matching rule, add a regex match
  • From now on, the match will be used for searching and obtaining the information to find

For example, if we set "Fattura (.*)", and we receive a settlment with the following label "Fattura INV/21/12323", Odoo will transform it to INV/21/12323 and search for this exact text.

No verified information in OCA: Installation, Configuration.

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.