account.bank.statement.line: fields, relations and API
The account.bank.statement.line model ("Bank Statement Line") is a persistent model declared by the Invoicing module, then extended by 3 other modules. It exposes 33 fields, 27 of them declared directly on the model; 4 fields from other models point to it. Below you will find every field with its technical name, type, label and relations, followed by an Odoo 19 JSON-2 API call.
Model identity
- Technical name
account.bank.statement.line- Label
- Bank Statement Line
- Type
- Persistent (models.Model)
- SQL table
account_bank_statement_line- Origin module
- Invoicing (
account) - Extended by
- account_payment, point_of_sale, pos_hr
- Default order (_order)
internal_index desc- Delegation (_inherits)
- account.move: fields of this model are also available, through
move_id
Model fields
27 own fields, 0 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.
33 of 33 fields shown
| Technical name | Label | Type | Details |
|---|---|---|---|
| account_number | Bank Account Number | char | |
| amount | Amount | monetary | |
| amount_currency | Amount in Currency The amount expressed in an optional other currency if it is a multi-currency entry. | monetary | computed, stored |
| amount_residual | Residual Amount | float | computed, stored |
| company_id | Company | many2one | required related: |
| country_code | Country Code | char | related: |
| currency_id | Journal Currency | many2one | computed, stored |
| employee_id | Employee The employee who made the cash move. | many2one | added by POS - HR ( |
| foreign_currency_id | Foreign Currency The optional other currency if it is a multi-currency entry. | many2one | |
| internal_index | Internal Reference | char | computed, stored |
| is_reconciled | Is Reconciled | boolean | computed, stored |
| journal_id | Journal | many2one | required related: |
| move_id | Journal Entry | many2one | requiredread-only |
| partner_id | Partner | many2one | |
| partner_name | Partner Name | char | |
| payment_ids | Auto-generated Payments | many2many | |
| payment_ref | Label | char | |
| pos_session_id | Session | many2one | added by Point of Sale ( |
| running_balance | Running Balance | monetary | computed |
| sequence | Sequence | integer | |
| statement_balance_end_real | Statement Balance End Real | monetary | related: |
| statement_complete | Statement Complete | boolean | related: |
| statement_id | Statement | many2one | |
| statement_name | Statement Name | char | related: |
| statement_valid | Statement Valid | boolean | related: |
| transaction_details | Transaction Details | json | read-only |
| transaction_type | Transaction Type | char | |
| create_date | Created on | datetime | read-onlyautomatic |
| create_uid | Created by | many2one | read-onlyautomatic |
| display_name | Display Name | char | read-onlycomputedautomatic |
| id | ID | integer | read-onlyautomatic |
| write_date | Last Updated on | datetime | read-onlyautomatic |
| write_uid | Last Updated by | many2one | read-onlyautomatic |
Relations
Models linked from this model
- account.bank.statement: statement_id
- account.journal: journal_id
- account.move: move_id
- account.payment: payment_ids
- hr.employee: employee_id
- pos.session: pos_session_id
- res.company: company_id
- res.currency: currency_id, foreign_currency_id
- res.partner: partner_id
Fields of other models pointing here
- account.move: statement_line_id
- account.move.line: statement_line_id
- account.payment: reconciled_statement_line_ids
- account.secure.entries.wizard: unreconciled_bank_statement_line_ids
Reading this model through the API
Odoo 19 JSON-2 API call reading the first five records with real fields of the model. Replace the instance, database and API key with your own.
curl -X POST "https://your-instance.odoo.com/json/2/account.bank.statement.line/search_read" \
-H "Authorization: bearer $ODOO_API_KEY" \
-H "X-Odoo-Database: your-db" \
-H "Content-Type: application/json" \
-d '{"domain":[],"fields":["company_id","journal_id","move_id","currency_id","employee_id"],"limit":5}'import requests
BASE_URL = "https://your-instance.odoo.com/json/2"
headers = {"Authorization": f"bearer {API_KEY}", "X-Odoo-Database": "your-db"}
res = requests.post(
f"{BASE_URL}/account.bank.statement.line/search_read",
headers=headers,
json={"domain": [], "fields": ["company_id","journal_id","move_id","currency_id","employee_id"], "limit": 5},
)
res.raise_for_status()
print(res.json())- External API access requires Odoo's Custom plan.
- XML-RPC and JSON-RPC will be removed in Odoo 22 (fall 2028): use JSON-2.
- The access rights and record rules of the key's user apply.
Cite this tool
Writing a tutorial, internal documentation or a forum answer? Copy this link to send your readers to the up-to-date reference.
<a href="https://aidoo.ai/en/outils/explorateur-modeles-odoo/account-bank-statement-line">account.bank.statement.line (Odoo 19.0)</a>Sources
Data verified on September 23, 2026 · Odoo 19.0 Community
Have an Odoo project, or want to put your ERP to work with AI? Let's talk
Implementation, custom module development, connecting Claude or ChatGPT to your data: tell us about your context and we will reply within 24 business hours.