Extractos bancarios españoles (Norma 43)

l10n_es_bank_statement
REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/7.0/l10n_es_bank_statement
VERSION
VERSION 3.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Spanish localization team
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Spanish localization team
COMMITTERS
COMMITTERSAlexandre Fayolle, Pedro M. Baeza, Stéphane Bidoul (ACSONE), Alejandro Santana, Omar (Pexego), OCA Transbot, Launchpad Translations on behalf of openerp-spain-team, Hugo Santos
WEBSITE
WEBSITEhttps://launchpad.net/openerp-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-reconcile:
    - account_statement_base_import
    - account_statement_ext
    - account_statement_base_completion
OCA/l10n-spain:
    - l10n_es
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - base_vat
    - base_iban
    - l10n_es
    - report_webkit
    - account_voucher
    - account_report_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extractos bancarios españoles (Norma 43)
========================================

Importación y tratamiento de los extractos bancarios españoles que siguen la
norma/cuaderno 43 de la 'Asociación Española de la Banca'. Puede consultarse la
especificación del formato aquí_.

.. _aquí: http://goo.gl/2zzlmu

**AVISO:** Este módulo requiere de varios módulos del repositorio de código:

https://github.com/OCA/bank-statement-reconcile
    

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_bank_statement_form_c43 account.bank.statement.c43.form account.bank.statement xpath Inherits account.view_bank_statement_form
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • get_from_caixabank_rules(self, cr, uid, st_line, context=None)
    Match the partner based on several criteria extracted from reverse engineer of CaixaBank C43 files. If more than one partner is matched, raise the ErrorTooManyPartner error. :param dict st_line: read of the concerned account.bank.statement.line :return: A dict of value that can be passed directly to the write method of the statement line or {} {'partner_id': value, 'account_id' : value, ...}
  • get_from_generic_c43_rules(self, cr, uid, st_line, context=None)
    Match the partner based on invoice amount.. If more than one partner is matched, raise the ErrorTooManyPartner error. :param dict st_line: read of the concerned account.bank.statement.line :return: A dict of value that can be passed directly to the write method of the statement line or {} {'partner_id': value, 'account_id' : value, ...}
  • get_from_santander_rules(self, cr, uid, st_line, context=None)
    Match the partner based on several criteria extracted from reverse engineer of Banco Santander C43 files. If more than one partner is matched, raise the ErrorTooManyPartner error. :param dict st_line: read of the concerned account.bank.statement.line :return: A dict of value that can be passed directly to the write method of the statement line or {} {'partner_id': value, 'account_id' : value, ...}

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • prepare_statement_lines_vals(self, cr, uid, parser_vals, statement_id, context)
    Complete values filling default account for each type of C43 operation.
REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/6.1/l10n_es_bank_statement
VERSION
VERSION 2.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Pexego, Acysos, NaN·tic, Zikzakmedia
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Pexego, Acysos, NaN·tic, Zikzakmedia
COMMITTERS
COMMITTERSAlexandre Fayolle, Pedro M. Baeza, Omar (pexego), Alejandro Santana, iker, Mikel
WEBSITE
WEBSITEwww.zikzakmedia.com / www.pexego.es / www.acysos.com / www.nan-tic.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:04:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - nan_account_bank_statement
OCA/l10n-spain:
    - l10n_es
odoo/odoo:
    - account
    - base_setup
    - base
    - product
    - process
    - decimal_precision
    - analytic
    - board
    - edi
    - email_template
    - mail
    - base_tools
    - account_voucher
    - base_vat
    - base_iban
    - l10n_es
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Module for the importation of Spanish bank statements following the C43 normative of the 'Asociación Española de la Banca'.
    
    Adds a wizard to the bank statements to perform the importation. The imported file gets attached to the given bank statement.
    It allows to define default accounting codes for the concepts defined in the C43 bank statement file.

    The search of the entries to reconcile (and partner) is done like this:
        1) Unreconciled entries with the given reference and amount. The reference is taken from the 'conceptos' or 'referencia2' fields of the statement.
        2) Unreconciled entries with (a partner with) the given VAT number and amount.
           These fields are tested to find a valid spanish VAT:
              - First 9 characters of 'referencia1' (Banc Sabadell)
              - First 9 characters of 'conceptos' (La Caixa)
              - Characters [21:30] of 'conceptos' (Caja Rural del Jalón)
        3) Unreconciled entries with the given amount.

    If no partner is found, the default account defined for the concept is used.

    The module also adds a wizard in Financial Management/Configuration/C43 bank statements to import the default statement concepts, that must be run after creating the spanish chart of accounts (l10n_es module).
    

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
c43_file_import_wizard l10n.es.bank.statement.c43.import.form l10n.es.bank.statement.import.c43.wizard form New
extractos_import_wizard l10n.es.extractos.import.form l10n.es.extractos.import.wizard form New
view_bank_statement_form_ES1 account.bank.statement.form.ES1 account.bank.statement xpath Inherits account.view_bank_statement_form
view_bank_statement_form_ES2 account.bank.statement.form.ES2 account.bank.statement xpath Inherits account.view_bank_statement_form
view_bank_statement_form_ES3 account.bank.statement.form.ES3 account.bank.statement xpath Inherits account.view_bank_statement_form
view_bank_statement_form_ES4 account.bank.statement.form.ES4 account.bank.statement xpath Inherits account.view_bank_statement_form
view_extractos_concepto l10n.es.extractos.concepto.form l10n.es.extractos.concepto form New
view_extractos_concepto_tree l10n.es.extractos.concepto.tree l10n.es.extractos.concepto tree New
Models touched (0)

No models found for this module.