OdooWiki OCA HUB

Account Loan management

account_loan folder_open OCA/account-financial-tools open_in_new
Accounting License: AGPL-3

This module extends the functionality of accounting to support loans. It will create automatically moves or invoices for loans. Moreover, you can check the pending amount to be paid and reduce the debt.

It currently supports two kinds of debts:

  • Loans: a standard debt with banks, that only creates account moves. Loan types info: APR, EAR, Real Rate.
  • Leases: a debt with a bank where purchase invoices are necessary

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Manage bank loans and leases in Odoo: define the loan, automatically build the payment schedule, generate the accounting entries or vendor bills, and track pending principal, interest and total paid.

This module adds a Loans area to Accounting where you register money borrowed from a lender (res.partner). On each loan you set the amount, the number of periods, the period length in months, the start date, the interest rate and how that rate is expressed (Nominal APR, EAR or Real rate), plus the repayment method (Fixed Annuity, Fixed Annuity Begin, Fixed Principal or Only interest).

  • A Compute items button builds the full schedule of annuities (account.loan.line), splitting each payment into principal and interest, and can keep the rounding difference on the last period.
  • You choose the journal, the short-term and long-term loan accounts and the interest expense account; for leases you also pick the leased asset account and the products used on the vendor bill.
  • A Generate Loan Entries wizard posts, up to a chosen date, the journal entries for loans or the vendor bills for leases; invoices can be posted automatically.
  • Pay amount and Increase Amount wizards let you reduce the debt early (with optional bank fees, or cancel the loan) or add new debt, recalculating the remaining schedule.
  • The loan shows pending principal, total paid and total interest; buttons open the related journal entries or invoices, and the loan closes automatically when the last period is posted.
  • Lenders show a count of loans they granted, with a shortcut to their loans.

Depends on

account

Menus it adds

Loan ItemsLoansLoansGenerate Loan Entries
Models and fields (8)
  • res.partner · extends an existing modellended_loan_ids, lended_loan_count
  • account.loan · new modelname, rate, state, periods, line_ids, move_ids, loan_type, rate_type, company_id, is_leasing, journal_id, move_count, partner_id (Lender), product_id (Loan product), start_date, currency_id, loan_amount, rate_period, fixed_amount, journal_type, post_invoice, round_on_end, fixed_periods, method_period (Period Length), payment_amount (Total payed amount), residual_amount, interests_amount (Total interests payed), fixed_loan_amount, interests_product_id (Interest product), leased_asset_account_id
  • account.move · extends an existing modelloan_id, loan_line_id
  • account.loan.line · new modeldate, name, rate, loan_id, move_ids, sequence, has_moves, loan_type, company_id, is_leasing, journal_id, loan_state, partner_id, currency_id, has_invoices, payment_amount, interests_amount, principal_amount, pending_principal_amount, long_term_loan_account_id, long_term_principal_amount, short_term_loan_account_id, interest_expenses_account_id, final_pending_principal_amount, long_term_pending_principal_amount
  • account.loan.post · new modelloan_id, account_id, journal_id
  • account.loan.pay.amount · new modeldate, fees (Bank fees), amount (Amount to reduce from Principal), loan_id, cancel_loan, currency_id
  • account.loan.generate.wizard · new modeldate (Account Date), loan_type
  • account.loan.increase.amount · new modeldate, amount (Amount to reduce from Principal), loan_id, account_id, journal_id, currency_id

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub

Availability by version

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

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/account-financial-tools.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to:

  • Go to Invoicing / Accounting \> Accounting \> Loans
  • Configure a loan selecting the company, loan type, amount, rate and accounts
  • Post the loan, it will automatically create an account move with the expected amounts
  • Create automatically the account moves / invoices related to loans and leases before a selected date

On a posted loan you can:

  • Create moves or invoices (according to the configuration)
  • Modify rates when needed (only unposted lines will be modified)
  • Reduce or cancel the debt of a loan / lease

[](https://runbot.odoo-community.org/runbot/92/12.0)

No verified information in OCA: Installation, Configuration.

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.