account.move.line: fields, relations and API
The account.move.line model ("Journal Item") is a persistent model declared by the Invoicing module, then extended by 22 other modules. It exposes 113 fields, 105 of them declared directly on the model; 16 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.move.line- Label
- Journal Item
- Type
- Persistent (models.Model)
- SQL table
account_move_line- Origin module
- Invoicing (
account) - Extended by
- account_fleet, sale, stock_account, sale_stock, hr_expense, point_of_sale, mrp_account, purchase, purchase_stock, stock_landed_costs, repair, mrp_subcontracting_purchase, pos_discount, pos_sale, pos_loyalty, sale_mrp, sale_project, sale_expense, project_sale_expense, sale_expense_margin, sale_loyalty, sale_timesheet
- Default order (_order)
date desc, move_name desc, id- Inherits from (mixins)
- analytic.mixin
Model fields
105 own fields, 2 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.
113 of 113 fields shown
| Technical name | Label | Type | Details |
|---|---|---|---|
| account_code | Account Code | char | related: |
| account_id | Account | many2one | computed, stored |
| account_internal_group | Account Internal Group | selection | related: |
| account_name | Account Name | char | related: |
| account_root_id | Account Root | many2one | related: |
| account_type | Internal Type | selection | related: |
| allowed_uom_ids | Allowed Uom | many2many→ uom.uom | computed |
| 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 The residual amount on a journal item expressed in the company currency. | monetary | computed, stored |
| amount_residual_currency | Residual Amount in Currency The residual amount on a journal item expressed in its currency (possibly not the company currency). | monetary | computed, stored |
| analytic_distribution | Analytic Distribution | json | |
| analytic_line_ids | Analytic lines | one2many | inverse: |
| balance | Balance | monetary | computed, stored |
| cogs_origin_id | Cogs Origin | many2one | added by WMS Accounting ( |
| collapse_composition | Hide Composition If checked, the lines below this section will not be displayed in reports and portal. | boolean | |
| collapse_prices | Hide Prices If checked, the prices of the lines below this section will not be displayed in reports and portal. | boolean | |
| commercial_partner_country | Commercial Partner Country | many2one | related: |
| company_currency_id | Company Currency | many2one | read-only related: |
| company_id | Company | many2one | read-only related: |
| count_reconciled_lines | Count Reconciled Lines | integer | computed |
| count_reconciled_lines_excluding_exchange_diff | Count Reconciled Lines Excluding Exchange Diff | boolean | computed |
| credit | Credit | monetary | computed, stored |
| cumulated_balance | Cumulated Balance Cumulated balance depending on the domain and the order chosen in the view. | monetary | computed |
| currency_id | Currency | many2one | requiredcomputed, stored |
| currency_rate | Currency Rate Currency rate from company currency to document currency. | float | computed |
| date | Date | date | related: |
| date_maturity | Due Date This field is used for payable and receivable journal entries. You can put the limit date for the payment of this line. | date | |
| debit | Debit | monetary | computed, stored |
| deductible_amount | Deductibility | float | |
| discount | Discount (%) | float | |
| discount_allocation_dirty | Discount Allocation Dirty | boolean | computed |
| discount_allocation_key | Discount Allocation Key | binary | computed |
| discount_allocation_needed | Discount Allocation Needed | binary | computed |
| discount_amount_currency | Discount amount in Currency | monetary | |
| discount_balance | Discount Balance | monetary | |
| discount_date | Discount Date Last date at which the discounted amount must be paid in order for the Early Payment Discount to be granted | date | read-only |
| display_type | Display Type | selection | requiredcomputed, stored Values: |
| epd_dirty | Epd Dirty | boolean | computed |
| epd_key | Epd Key | binary | computed |
| epd_needed | Epd Needed | binary | computed |
| exchange_move_ids | Exchange Move | many2many | computed |
| expense_id | Expense | many2one | added by Expenses ( |
| extra_tax_data | Extra Tax Data | json | |
| first_reconciled_lines_excluding_exchange_diff_id | First Reconciled Lines Excluding Exchange Diff | many2one | computed |
| first_reconciled_lines_id | First Reconciled Lines | many2one | computed |
| full_reconcile_id | Matching | many2one | read-only |
| group_tax_id | Originator Group of Taxes | many2one | |
| has_invalid_analytics | Has Invalid Analytics | boolean | computed |
| invoice_date | Invoice Date | date | related: |
| is_account_reconcile | Account Reconcile | boolean | related: |
| is_downpayment | Is Downpayment | boolean | added by Sales ( |
| is_imported | Is Imported | boolean | |
| is_landed_costs_line | Is Landed Costs Line | boolean | added by WMS Landed Costs ( |
| is_refund | Is Refund | boolean | computed |
| is_same_currency | Is Same Currency | boolean | computed |
| is_storno | Company Storno Accounting Utility field to express whether the journal item is subject to storno accounting | boolean | computed, stored |
| journal_group_id | Ledger | many2one | |
| journal_id | Journal | many2one | related: |
| matched_credit_ids | Matched Credits Credit journal items that are matched with this journal item. | one2many | read-only inverse: |
| matched_debit_ids | Matched Debits Debit journal items that are matched with this journal item. | one2many | read-only inverse: |
| matching_number | Matching # Matching number for this line, 'P' if it is only partially reconcile, or the name of the full reconcile if it exists. | char | |
| move_id | Journal Entry | many2one | requiredread-only |
| move_name | Number | char | related: |
| move_type | Move Type | selection | related: |
| name | Label | char | computed, stored |
| need_vehicle | Need Vehicle | boolean | computed added by Accounting/Fleet bridge ( |
| no_followup | No Follow-Up Exclude this journal item from follow-up reports. | boolean | computed, stored |
| parent_id | Parent Section Line | many2one | computed |
| parent_state | Parent State | selection | related: |
| partner_id | Partner | many2one | computed, stored |
| payment_date | Next Payment Date | date | computed |
| payment_id | Originator Payment The payment that created this entry | many2one | related: |
| price_subtotal | Subtotal | monetary | computed, stored |
| price_total | Total | monetary | computed, stored |
| price_unit | Unit Price | float | computed, stored |
| product_category_id | Product Category | many2one | related: |
| product_id | Product | many2one | |
| product_type | Product Type | selection | read-only related: added by WMS Landed Costs ( |
| product_uom_id | Unit | many2one→ uom.uom | computed, stored |
| purchase_line_id | Purchase Order Line | many2one | added by Purchase ( |
| purchase_line_warn_msg | Purchase Line Warn Msg | text | computed added by Purchase ( |
| purchase_order_id | Purchase Order | many2one | read-only related: added by Purchase ( |
| quantity | Quantity The optional quantity expressed by this line, eg: number of product sold. The quantity is not a legal requirement but is very useful for some reports. | float | computed, stored |
| reconcile_model_id | Reconciliation Model | many2one | read-only |
| reconciled | Reconciled | boolean | computed, stored |
| reconciled_lines_excluding_exchange_diff_ids | Reconciled Lines Excluding Exchange Diff | many2many | computed |
| reconciled_lines_ids | Reconciled Lines | many2many | computed |
| ref | Ref | char | related: |
| sale_line_ids | Sales Order Lines | many2many | read-only added by Sales ( |
| sale_line_warn_msg | Sale Line Warn Msg | text | computed added by Sales ( |
| search_account_id | Search Account | many2one | |
| sequence | Sequence | integer | computed, stored |
| statement_id | Statement The bank statement used for bank reconciliation | many2one | related: |
| statement_line_id | Originator Statement Line The statement line that created this entry | many2one | related: |
| tax_base_amount | Base Amount | monetary | read-only |
| tax_calculation_rounding_method | Tax calculation rounding method | selection | read-only related: |
| tax_group_id | Originator tax group | many2one | related: |
| tax_ids | Taxes | many2many | computed, stored |
| tax_line_id | Originator Tax Indicates that this journal item is a tax line | many2one | related: |
| tax_repartition_line_id | Originator Tax Distribution Line Tax distribution line that caused the creation of this move line, if any | many2one | read-only |
| tax_tag_ids | Tags Tags assigned to this line by the tax creating it, if any. It determines its impact on financial reports. | many2many | |
| term_key | Term Key | binary | computed |
| translated_product_name | Translated Product Name | text | computed |
| vehicle_id | Vehicle | many2one | added by Accounting/Fleet bridge ( |
| vehicle_log_service_ids | Vehicle Log Service | one2many | inverse: added by Accounting/Fleet bridge ( |
| analytic_precision | Analytic Precision | integer | inherited from analytic.mixin |
| distribution_analytic_account_ids | Distribution Analytic Account | many2many | computed inherited from analytic.mixin |
| 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.account: account_id, search_account_id
- account.account.tag: tax_tag_ids
- account.analytic.line: analytic_line_ids
- account.bank.statement: statement_id
- account.bank.statement.line: statement_line_id
- account.full.reconcile: full_reconcile_id
- account.journal: journal_id
- account.journal.group: journal_group_id
- account.move: exchange_move_ids, move_id
- account.move.line: cogs_origin_id, first_reconciled_lines_excluding_exchange_diff_id, first_reconciled_lines_id, parent_id, reconciled_lines_excluding_exchange_diff_ids, reconciled_lines_ids
- account.partial.reconcile: matched_credit_ids, matched_debit_ids
- account.payment: payment_id
- account.reconcile.model: reconcile_model_id
- account.root: account_root_id
- account.tax: group_tax_id, tax_ids, tax_line_id
- account.tax.group: tax_group_id
- account.tax.repartition.line: tax_repartition_line_id
- fleet.vehicle: vehicle_id
- fleet.vehicle.log.services: vehicle_log_service_ids
- hr.expense: expense_id
- product.category: product_category_id
- product.product: product_id
- purchase.order: purchase_order_id
- purchase.order.line: purchase_line_id
- res.company: company_id
- res.country: commercial_partner_country
- res.currency: company_currency_id, currency_id
- res.partner: partner_id
- sale.order.line: sale_line_ids
- uom.uom: allowed_uom_ids, product_uom_id
Fields of other models pointing here
- account.analytic.line: move_line_id
- account.automatic.entry.wizard: move_line_ids
- account.move.line: cogs_origin_id, first_reconciled_lines_excluding_exchange_diff_id, first_reconciled_lines_id, parent_id, reconciled_lines_excluding_exchange_diff_ids, reconciled_lines_ids
- account.partial.reconcile: credit_move_id, debit_move_id
- account.payment.register: line_ids
- account.tax: account_move_line_ids
- fleet.vehicle.log.services: account_move_line_id
- mrp.workcenter.productivity: account_move_line_id
- purchase.bill.line.match: aml_id
- sale.order.line: invoice_lines
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.move.line/search_read" \
-H "Authorization: bearer $ODOO_API_KEY" \
-H "X-Odoo-Database: your-db" \
-H "Content-Type: application/json" \
-d '{"domain":[],"fields":["name","currency_id","display_type","move_id","account_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.move.line/search_read",
headers=headers,
json={"domain": [], "fields": ["name","currency_id","display_type","move_id","account_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-move-line">account.move.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.