Odoo 19.0 Community · Persistent

account.payment: fields, relations and API

The account.payment model ("Payments") is a persistent model declared by the Invoicing module, then extended by 6 other modules. It exposes 94 fields, 63 of them declared directly on the model; 12 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.payment
Label
Payments
Type
Persistent (models.Model)
SQL table
account_payment
Origin module
Invoicing (account)
Extended by
account_check_printing, account_payment, hr_expense, point_of_sale, pos_online_payment, website_payment
Default order (_order)
date desc, name desc
Inherits from (mixins)
mail.thread.main.attachmentmail.activity.mixin

Model fields

63 own fields, 25 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.

94 of 94 fields shown

Technical nameLabelTypeDetails
amountAmountmonetary
amount_available_for_refundAmount Available For Refundmonetary
computed

added by Payment - Account (account_payment)

amount_company_currency_signedAmount Company Currency Signedmonetary
computed, stored
amount_signedAmount Signed

Negative value of amount field if payment_type is outbound

monetary
computed
attachment_idsAttachmentsone2many

inverse: res_id

available_journal_idsAvailable Journalmany2many
computed
available_partner_bank_idsAvailable Partner Bankmany2many
computed
available_payment_method_line_idsAvailable Payment Method Linemany2many
computed
check_amount_in_wordsAmount in Wordschar
computed, stored

added by Check Printing Base (account_check_printing)

check_layout_availableHas Check Layoutboolean

added by Check Printing Base (account_check_printing)

check_manual_sequencingCheck Manual Sequencingboolean

related: journal_id.check_manual_sequencing

added by Check Printing Base (account_check_printing)

check_numberCheck Number

The selected journal is configured to print check numbers. If your pre-printed check paper already has numbers or if the current numbering is wrong, you can change it in the journal configuration page.

char
computed, stored

added by Check Printing Base (account_check_printing)

company_currency_idCompany Currencymany2one

related: company_id.currency_id

company_idCompanymany2one
requiredcomputed, stored
country_codeCountry Codechar

related: company_id.account_fiscal_country_id.code

currency_idCurrency

The payment's currency.

many2one
computed, stored
dateDatedate
required
destination_account_idDestination Accountmany2one
computed, stored
duplicate_payment_idsDuplicate Paymentmany2many
computed
expense_idsExpenseone2many

related: move_id.expense_ids

added by Expenses (hr_expense)

force_outstanding_account_idForced Outstanding Accountmany2one

added by Point of Sale (point_of_sale)

invoice_idsInvoicesmany2many
is_donationIs Donationboolean

related: payment_transaction_id.is_donation

added by Website Payment (website_payment)

is_matchedIs Matched With a Bank Statementboolean
computed, stored
is_reconciledIs Reconciledboolean
computed, stored
is_sentIs Sentboolean
read-only
journal_idJournalmany2one
requiredcomputed, stored
memoMemochar
move_idJournal Entrymany2one
nameNumberchar
computed, stored
need_cancel_requestNeed Cancel Requestboolean

related: move_id.need_cancel_request

outstanding_account_idOutstanding Accountmany2one
computed, stored
paired_internal_transfer_payment_idPaired Internal Transfer Payment

When an internal transfer is posted, a paired payment is created. They are cross referenced through this field

many2one
partner_bank_idRecipient Bank Accountmany2one
computed, stored
partner_idCustomer/Vendormany2one
partner_typePartner Typeselection
required

Values: customer (Customer), supplier (Vendor)

payment_method_codePayment Method Codechar

related: payment_method_line_id.code

payment_method_idMethodmany2one

related: payment_method_line_id.payment_method_id

payment_method_line_idPayment Method

Manual: Pay or Get paid by any method outside of Odoo. Payment Providers: Each payment provider has its own Payment Method. Request a transaction on/to a card thanks to a payment token saved by the partner when buying or subscribing online. Check: Pay bills by check and print it from Odoo. Batch Deposit: Collect several customer checks at once generating and submitting a batch deposit to your bank. Module account_batch_payment is necessary. SEPA Credit Transfer: Pay in the SEPA zone by submitting a SEPA Credit Transfer file to your bank. Module account_iso20022 is necessary. SEPA Direct Debit: Get paid in the SEPA zone thanks to a mandate your partner will have granted to you. Module account_iso20022 is necessary. U.S. ISO20022: Pay in the US by submitting an ISO20022 file to your bank. Module account_iso20022 is necessary.

many2one
computed, stored
payment_receipt_titlePayment Receipt Titlechar
computed
payment_referencePayment Reference

Reference of the document used to issue this payment. Eg. check number, file name, etc.

char
payment_token_idSaved Payment Token

Note that only tokens from providers allowing to capture the amount are available.

many2one

added by Payment - Account (account_payment)

payment_transaction_idPayment Transactionmany2one
read-only

added by Payment - Account (account_payment)

payment_typePayment Typeselection
required

Values: outbound (Send), inbound (Receive)

pos_order_idPOS Order

The Point of Sale order linked to this payment

many2one
read-only

added by Point of Sale online payment (pos_online_payment)

pos_payment_method_idPOS Payment Methodmany2one

added by Point of Sale (point_of_sale)

pos_session_idPOS Sessionmany2one

added by Point of Sale (point_of_sale)

qr_codeQR Code URLhtml
computed
reconciled_bill_idsReconciled Bills

Invoices whose journal items have been reconciled with these payments.

many2many
computed
reconciled_bills_count# Reconciled Billsinteger
computed
reconciled_invoice_idsReconciled Invoices

Invoices whose journal items have been reconciled with these payments.

many2many
computed
reconciled_invoices_count# Reconciled Invoicesinteger
computed
reconciled_invoices_typeReconciled Invoices Typeselection
computed

Values: credit_note (Credit Note), invoice (Invoice)

reconciled_statement_line_idsReconciled Statement Lines

Statements lines matched to this payment

many2many
computed
reconciled_statement_lines_count# Reconciled Statement Linesinteger
computed
refunds_countRefunds Countinteger
computed

added by Payment - Account (account_payment)

require_partner_bank_accountRequire Partner Bank Accountboolean
computed
show_check_numberShow Check Numberboolean
computed

added by Check Printing Base (account_check_printing)

show_partner_bank_accountShow Partner Bank Accountboolean
computed
source_payment_idSource Payment

The source payment of related refund payments

many2one
read-only

related: payment_transaction_id.source_transaction_id.payment_id

added by Payment - Account (account_payment)

stateStateselection
requiredcomputed, stored

Values: draft (Draft), in_process (In Process), paid (Paid), canceled (Canceled), rejected (Rejected)

suitable_payment_token_idsSuitable Payment Tokenmany2many
computed

added by Payment - Account (account_payment)

use_electronic_payment_methodUse Electronic Payment Methodboolean
computed

added by Payment - Account (account_payment)

activity_calendar_event_idNext Activity Calendar Eventmany2one
computed

inherited from mail.activity.mixin

activity_date_deadlineNext Activity Deadlinedate
read-onlycomputed

inherited from mail.activity.mixin

activity_exception_decorationActivity Exception Decoration

Type of the exception activity on record.

selection
computed

Values: warning (Alert), danger (Error)

inherited from mail.activity.mixin

activity_exception_iconIcon

Icon to indicate an exception activity.

char
computed

inherited from mail.activity.mixin

activity_idsActivitiesone2many

inverse: res_id

inherited from mail.activity.mixin

activity_stateActivity State

Status based on activities Overdue: Due date is already passed Today: Activity date is today Planned: Future activities.

selection
computed

Values: overdue (Overdue), today (Today), planned (Planned)

inherited from mail.activity.mixin

activity_summaryNext Activity Summarychar

related: activity_ids.summary

inherited from mail.activity.mixin

activity_type_iconActivity Type Iconchar

related: activity_ids.icon

inherited from mail.activity.mixin

activity_type_idNext Activity Typemany2one

related: activity_ids.activity_type_id

inherited from mail.activity.mixin

activity_user_idResponsible Usermany2one
read-onlycomputed

inherited from mail.activity.mixin

has_messageHas Messageboolean
computed

inherited from mail.thread

message_attachment_countAttachment Countinteger
computed

inherited from mail.thread

message_follower_idsFollowersone2many

inverse: res_id

inherited from mail.thread

message_has_errorMessage Delivery error

If checked, some messages have a delivery error.

boolean
computed

inherited from mail.thread

message_has_error_counterNumber of errors

Number of messages with delivery error

integer
computed

inherited from mail.thread

message_has_sms_errorSMS Delivery error

If checked, some messages have a delivery error.

boolean
computed

inherited from mail.thread

message_idsMessagesone2many

inverse: res_id

inherited from mail.thread

message_is_followerIs Followerboolean
computed

inherited from mail.thread

message_main_attachment_idMain Attachmentmany2one

inherited from mail.thread.main.attachment

message_needactionAction Needed

If checked, new messages require your attention.

boolean
computed

inherited from mail.thread

message_needaction_counterNumber of Actions

Number of messages requiring action

integer
computed

inherited from mail.thread

message_partner_idsFollowers (Partners)many2many
computed

inherited from mail.thread

my_activity_date_deadlineMy Activity Deadlinedate
read-onlycomputed

inherited from mail.activity.mixin

rating_idsRatingsone2many

inverse: res_id

inherited from mail.thread

website_message_idsWebsite Messages

Website communication history

one2many

inverse: res_id

inherited from mail.thread

create_dateCreated ondatetime
read-onlyautomatic
create_uidCreated bymany2one
read-onlyautomatic
display_nameDisplay Namechar
read-onlycomputedautomatic
idIDinteger
read-onlyautomatic
write_dateLast Updated ondatetime
read-onlyautomatic
write_uidLast Updated bymany2one
read-onlyautomatic

Relations

Models linked from this model

Fields of other models pointing here

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
curl -X POST "https://your-instance.odoo.com/json/2/account.payment/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","company_id","date","journal_id","partner_type"],"limit":5}'
Python (requests)
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.payment/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","company_id","date","journal_id","partner_type"], "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-payment">account.payment (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.