OdooWiki OCA HUB

L10n Br Account Bank Statement Import Cnab

l10n_br_account_bank_statement_import_cnab folder_open OCA/l10n-brazil open_in_new
Uncategorised License: AGPL-3

Este modulo permite a importação de extratos bancários no formato CNAB (Segmento E).

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Allows importing Brazilian bank statements in CNAB 240 (Segment E) format directly into Odoo, creating bank statement lines with dates, descriptions and amounts.

This module adds the CNAB 240 (Segment E) format to the list of supported bank statement import formats in Odoo. When you import a bank statement file, Odoo will now recognise CNAB files and parse them automatically.

  • The import screen shows "Cnab 240 - Conciliação (Segmento E)" as an available format.
  • The module reads the file, extracts each transaction line, and creates bank statement lines with the date, a description built from the occurrence text, bank history code, history description and document number, and the amount.
  • It also sets the statement name from the account number, the starting balance and the ending balance from the file.
  • If the file cannot be parsed as CNAB, the system falls back to the standard import behaviour.
  • If an error occurs during import, a user-friendly error message is shown.

The module extends account.journal to add the CNAB format to the available import formats, and extends the account.bank.statement.import wizard to handle the parsing. It requires the Python library febraban to be installed; without it, CNAB import is not available.

Depends on

account_bank_statement_import
Models and fields (2)
  • account.journal · extends an existing model
  • account.bank.statement.import · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 12.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 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/l10n-brazil.

terminal Installation and usage

OCA documentation · Odoo 12.0

Este módulo depende dos pacotes Python:

  • febraban https://github.com/starkbank/febraban-python

Não é preciso fazer nada para usa-lo. Apenas se certifique que a conta bancária esta cadastrada e devidamente configurada.

  • Vá para Faturamento> Painel. 1.1 Crie um novo extrato bancário a partir de um diário bancário. 1.2 Clique no botão "Importar".
  • Selecione o arquivo no seu computador.
  • Clique em importar.
  • Revise e reconcile as entradas do extrato bancário.
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.