Boletos e CNAB de cobrança

l10n_br_account_payment_brcobranca
REPOSITORY
REPOSITORYOCA/l10n-brazil
GIT
GIThttps://github.com/OCA/l10n-brazil.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_account_payment_brcobranca
VERSION
VERSION 6.3.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSRaphaël Valyi, Weblate, OCA-git-bot, Magno Costa, oca-ci, Antonio Neto, Antônio Neto
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-brazil
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:11:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - account_due_list
    - account_due_list_payment_mode
OCA/account-reconcile:
    - account_move_base_import
OCA/bank-payment:
    - account_payment_order
    - account_payment_partner
    - account_payment_mode
OCA/l10n-brazil:
    - l10n_br_account_payment_order
    - l10n_br_base
    - l10n_br_account_due_list
odoo/odoo:
    - base
    - base_setup
    - web
    - base_address_extended
    - account
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES erpbrasil.base
email-validator
num2words
phonenumbers
xlrd
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
O módulo implementa o CNAB, a geração do Boleto, do Arquivo de Remessa e importa o Arquivo de Retorno usando a [Biblioteca BRCobranca](https://github.com/kivanio/brcobranca) através do Micro-Serviço [Boleto_CNAB_API](https://github.com/akretion/boleto_cnab_api).

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
journal_importer_view_form account.journal.form account.journal field Inherits account_move_base_import.journal_importer_view_form
Models touched (7)

New fields (2)
  • import_type Selection
    selection_add=[('cnab400', 'CNAB 400'), ('cnab240', 'CNAB 240')]
  • return_auto_reconcile Boolean
    default=False help='Enable automatic payment return reconciliation.' string='Automatic Reconcile payment returns'
Public methods (1)
  • multi_move_import(self, file_stream, ftype='csv')
    Create multiple bank statements from values given by the parser for the given profile. :param int/long profile_id: ID of the profile used to import the file :param filebuffer file_stream: binary of the provided file :param char: ftype represent the file extension (csv by default) :return: list: list of ids of the created account.bank.statement

New fields (0)

No new fields.

Public methods (1)
  • generate_boleto_pdf(self)

New fields (1)
  • cnab_returned_ref Char
    copy=False string='CNAB Returned Reference'
Public methods (1)
  • send_payment(self)

New fields (0)

No new fields.

Public methods (1)
  • prepare_bank_payment_line(self, bank_name_brcobranca)

New fields (0)

No new fields.

Public methods (2)
  • generate_payment_file(self)
    Returns (payment file as string, filename)
  • generated2uploaded(self)

New fields (0)

No new fields.

Public methods (1)
  • import_statement(self)
    This Function import credit card agency statement

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-brazil
GIT
GIThttps://github.com/OCA/l10n-brazil.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-brazil/tree/14.0/l10n_br_account_payment_brcobranca
VERSION
VERSION 7.2.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSRaphaël Valyi, Renato Lima, GitHub, OCA Transbot, Luis Felipe Miléo, oca-travis, Weblate, OCA-git-bot, Magno Costa, oca-ci, Marcel Savegnago, Diego Paradeda, Neto, Antonio Neto, Antônio Neto, Kaynnan Lemes, CristianoMafraJunior, Felipe, kaynnan, Felipe Motter
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-brazil
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - account_due_list
    - account_due_list_payment_mode
OCA/account-reconcile:
    - account_move_base_import
OCA/bank-payment:
    - account_payment_order
    - account_payment_partner
    - account_payment_mode
OCA/l10n-brazil:
    - l10n_br_account_payment_order
    - l10n_br_base
    - l10n_br_account_due_list
odoo/odoo:
    - base
    - base_setup
    - web
    - base_address_city
    - base_address_extended
    - account
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES erpbrasil.base
email-validator
num2words
phonenumbers
lxml
xlrd
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
journal_importer_view_form account.journal.form account.journal field Inherits account_move_base_import.journal_importer_view_form
Models touched (7)

New fields (2)
  • import_type Selection
    selection_add=[('cnab400', 'CNAB 400'), ('cnab240', 'CNAB 240')]
  • return_auto_reconcile Boolean
    default=False help='Enable automatic payment return reconciliation.' string='Automatic Reconcile payment returns'
Public methods (1)
  • multi_move_import(self, file_stream, ftype='csv')
    Create multiple bank statements from values given by the parser for the given profile. :param int/long profile_id: ID of the profile used to import the file :param filebuffer file_stream: binary of the provided file :param char: ftype represent the file extension (csv by default) :return: list: list of ids of the created account.bank.statement

New fields (0)

No new fields.

Public methods (1)
  • generate_boleto_pdf(self)

New fields (1)
  • cnab_returned_ref Char
    copy=False string='CNAB Returned Reference'
Public methods (1)
  • send_payment(self)

New fields (0)

No new fields.

Public methods (2)
  • modulo11(self, num, base=9, r=0)
  • prepare_bank_payment_line(self, bank_name_brcobranca)

New fields (0)

No new fields.

Public methods (2)
  • generate_payment_file(self)
    Returns (payment file as string, filename)
  • generated2uploaded(self)

New fields (0)

No new fields.

Public methods (1)
  • import_statement(self)
    This Function import credit card agency statement

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-brazil
GIT
GIThttps://github.com/OCA/l10n-brazil.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-brazil/tree/12.0/l10n_br_account_payment_brcobranca
VERSION
VERSION 4.1.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSRaphaël Valyi, Renato Lima, GitHub, oca-travis, OCA-git-bot, Magno Costa, Marcel Savegnago, Neto, netosjb
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-brazil
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - account_due_list
OCA/account-reconcile:
    - account_move_base_import
OCA/bank-payment:
    - account_payment_order
    - account_payment_partner
    - account_payment_mode
OCA/l10n-brazil:
    - l10n_br_account_payment_order
    - l10n_br_base
    - l10n_br_account_due_list
odoo/odoo:
    - base
    - base_setup
    - web
    - base_address_city
    - base_address_extended
    - account
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - base_iban
    - account_cancel
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES erpbrasil.base
num2words
xlrd
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
journal_importer_view_form account.journal.form account.journal field Inherits account_move_base_import.journal_importer_view_form
l10n_br_account_payment_brcobranca_form l10n_br_account.invoice.form account.invoice field Inherits account.invoice_form
Models touched (6)

New fields (2)
  • file_boleto_pdf_id Many2one → ir.attachment
    comodel_name='ir.attachment' copy=False ondelete='restrict' string='Boleto PDF'
  • payment_method_code Char
    related='payment_mode_id.payment_method_id.code'
Public methods (2)
  • gera_boleto_pdf(self)
  • view_boleto_pdf(self)

New fields (2)
  • import_type Selection
    selection_add=[('cnab400', 'CNAB 400'), ('cnab240', 'CNAB 240')]
  • return_auto_reconcile Boolean
    default=False help='Enable automatic payment return reconciliation.' string='Automatic Reconcile payment returns'
Public methods (1)
  • multi_move_import(self, file_stream, ftype='csv')
    Create multiple bank statements from values given by the parser for the given profile. :param int/long profile_id: ID of the profile used to import the file :param filebuffer file_stream: binary of the provided file :param char: ftype represent the file extension (csv by default) :return: list: list of ids of the created account.bank.statement

New fields (0)

No new fields.

Public methods (2)
  • generate_own_number_boleto(self)
    Consulta a API brcobranca e retorna o nosso número completo conforme o impresso no Boleto
  • send_payment(self)

New fields (0)

No new fields.

Public methods (3)
  • generate_payment_file(self)
    Returns (payment file as string, filename)
  • generated2uploaded(self)
  • get_file_name(self, cnab_type)

New fields (0)

No new fields.

Public methods (1)
  • prepare_bank_payment_line(self, bank_name_brcobranca)

New fields (0)

No new fields.

Public methods (1)
  • import_statement(self)
    This Function import credit card agency statement