OdooWiki OCA HUB

Account Invoice Journal AR/AP Account

account_invoice_ar_ap_by_journal folder_open OCA/account-invoicing open_in_new
Account License: AGPL-3

This module allows you to configure an account receivable / payable on sales and purchase journals.

When an account is configured on the journal, invoices posted using that journal will use the account defined on the journal instead of the account assigned to the customer or vendor.

The same field is used in the journal for both types of accounts. The accounts available for selection are determined by a dynamic domain that filters the accounts based on the journal type.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you set a default receivable/payable account on sales and purchase journals, so invoices posted with that journal use the journal's account instead of the customer's or vendor's usual account.

This module adds an extra setting to sales and purchase journals so that the receivable or payable line of invoices can be forced to a specific account.

Where it appears: - On the journal form, in the Advanced Settings tab, a new "AR/AP Account" section appears, but only for sale and purchase journals. - The field is a single account selector used for both receivable and payable purposes.

Business rules and automatic behaviour: - The list of selectable accounts is filtered automatically: for sales journals only non-deprecated receivable accounts are offered, and for purchase journals only non-deprecated payable accounts. - If the journal already has allowed accounts defined, the choice is further limited to those accounts. - When an invoice is posted using a journal that has this account set, the payment-term (receivable/payable) line of the invoice is assigned to the journal's account instead of the partner's default account.

Areas touched: - Journal configuration (account.journal). - Invoice lines (account.move.line), specifically the receivable/payable lines.

If no account is set on the journal, nothing changes and Odoo keeps using the partner's usual account.

Depends on

account
Models and fields (2)
  • account.journal · extends an existing modelar_ap_account_id (AR/AP Account), ar_ap_account_domain
  • account.move.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/account-invoicing.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.