CAMT Format Bank Statements Import

account_bank_statement_import_camt
REPOSITORY
REPOSITORYOCA/bank-statement-import
GIT
GIThttps://github.com/OCA/bank-statement-import.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-statement-import/tree/10.0/account_bank_statement_import_camt
VERSION
VERSION 1.1.6
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSAlexis de Lattre, Stefan Rijnhart, eLBati, Holger Brunn, Pedro M. Baeza, GitHub, Andrea, Stéphane Bidoul (ACSONE), OCA Transbot, Emanuel Cino, Moises Lopez - https://www.vauxoo.com/, oca-travis, OCA-git-bot, oleksandrpaziuk
WEBSITE
WEBSITEhttps://github.com/OCA/bank-statement-import
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_bank_statement_import
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
account_bank_statement_import_view account.bank.statement.import ul Inherits account_bank_statement_import.account_bank_statement_import_view
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (8)
  • add_value_from_node(self, ns, node, xpath_str, obj, attr_name, join_str=None)
    Add value to object from first or all nodes found with xpath. If xpath_str is a list (or iterable), it will be seen as a series of search path's in order of preference. The first item that results in a found node will be used to set a value.
  • check_version(self, ns, root)
    Validate validity of camt file.
  • get_balance_amounts(self, ns, node)
    Return opening and closing balance. Depending on kind of balance and statement, the balance might be in a different kind of node: OPBD = OpeningBalance PRCD = PreviousClosingBalance ITBD = InterimBalance (first ITBD is start-, second is end-balance) CLBD = ClosingBalance
  • parse(self, data)
    Parse a camt.052 or camt.053 or camt.054 file.
  • parse_amount(self, ns, node)
    Parse element that contains Amount and CreditDebitIndicator.
  • parse_entry(self, ns, node, transaction=None)
    Parse an Ntry node and yield transactions
  • parse_statement(self, ns, node)
    Parse a single Stmt node.
  • parse_transaction_details(self, ns, node, transaction)
    Parse TxDtls node.
REPOSITORY
REPOSITORYOCA/bank-statement-import
GIT
GIThttps://github.com/OCA/bank-statement-import.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-statement-import/tree/9.0/account_bank_statement_import_camt
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSStefan Rijnhart, Pedro M. Baeza, GitHub, Andrea, OCA Transbot, Stefan Rijnhart (Opener), oca-travis, Weblate, OCA-git-bot, Louis Bettens
WEBSITE
WEBSITEhttps://github.com/OCA/bank-statement-import
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_bank_statement_import
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
account_bank_statement_import_view account.bank.statement.import ul Inherits account_bank_statement_import.account_bank_statement_import_view
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (8)
  • add_value_from_node(self, ns, node, xpath_str, obj, attr_name, join_str=None)
    Add value to object from first or all nodes found with xpath. If xpath_str is a list (or iterable), it will be seen as a series of search path's in order of preference. The first item that results in a found node will be used to set a value.
  • check_version(self, ns, root)
    Validate validity of camt file.
  • get_balance_amounts(self, ns, node)
    Return opening and closing balance. Depending on kind of balance and statement, the balance might be in a different kind of node: OPBD = OpeningBalance PRCD = PreviousClosingBalance ITBD = InterimBalance (first ITBD is start-, second is end-balance) CLBD = ClosingBalance
  • parse(self, data)
    Parse a camt.052 or camt.053 file.
  • parse_amount(self, ns, node)
    Parse element that contains Amount and CreditDebitIndicator.
  • parse_entry(self, ns, node)
    Parse an Ntry node and yield transactions
  • parse_statement(self, ns, node)
    Parse a single Stmt node.
  • parse_transaction_details(self, ns, node, transaction)
    Parse TxDtls node.
REPOSITORY
REPOSITORYOCA/bank-statement-import
GIT
GIThttps://github.com/OCA/bank-statement-import.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-statement-import/tree/8.0/account_bank_statement_import_camt
VERSION
VERSION 0.5.1
CATEGORY
CATEGORYBanking addons
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSStéphane Bidoul, Ronald Portier, eLBati, Holger Brunn, Pedro M. Baeza, Ronald Portier (Therp BV), OCA Transbot, Rudolf Schnapka, Stefan Rijnhart (Opener), oca-travis, Weblate, OCA-git-bot, Tom Blauwendraat
WEBSITE
WEBSITEhttps://github.com/OCA/bank-statement-import
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-statement-import:
    - account_bank_statement_import
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (12)
  • add_value_from_node(self, node, xpath_str, obj, attr_name, join_str=None, default=None)
    Add value to object from first or all nodes found with xpath. If xpath_str is a list (or iterable), it will be seen as a series of search path's in order of preference. The first item that results in a found node will be used to set a value.
  • check_version(self, root)
    Validate validity of camt file.
  • default_transaction_data(self, node, transaction)
  • get_balance_type_node(self, node, balance_type)
    :param node: BkToCstmrStmt/Stmt/Bal node :param balance type: one of 'OPBD', 'PRCD', 'ITBD', 'CLBD'
  • get_end_balance(self, node)
    Find the (only) balance node with code ClosingBalance, or the second (and last) balance node with code InterimBalance in the case of continued pagination. :param node: BkToCstmrStmt/Stmt/Bal node
  • get_start_balance(self, node)
    Find the (only) balance node with code OpeningBalance, or the only one with code 'PreviousClosingBalance' or the first balance node with code InterimBalance in the case of preceeding pagination. :param node: BkToCstmrStmt/Stmt/Bal node
  • parse(self, data)
    Parse a camt.052 or camt.053 file.
  • parse_amount(self, node)
    Parse element that contains Amount and CreditDebitIndicator. First try to get debit/credit and amount from transaction details. If not possible, try to get them from ancester element entry. Function is also called for statement opening balance! Therefore also search for amount anywhere in node, if not found elsewhere.
  • parse_entry(self, node, transaction)
    Parse transaction (entry) node.
  • parse_statement(self, node)
    Parse a single Stmt node.
  • parse_transaction_details(self, node, transaction)
    Parse transaction details (message, party, account...).
  • xpath(self, node, expr)
    Wrap namespaces argument into call to Element.xpath(): self.xpath(node, './ns:Acct/ns:Id')