Technical

Odoo Payment Terms: Instalments, Due Dates and Early Payment Discounts

How Odoo payment terms split invoices into instalments, set due dates, apply early payment discounts with the right tax treatment, and how all of it appears on invoices and the aged receivable report.

Kalvyai Engineering · · 7 min read

Odoo Payment Terms: Instalments, Due Dates and Early Payment Discounts (cover)
On this page

Payment terms look like a small setting, but they decide when each part of an invoice falls due, whether a customer can pay less for paying early, how tax is calculated on that discount, and where the invoice lands in your aged receivable report. Get them wrong and collections, tax returns and cash forecasts all drift.

This post covers how payment terms work in recent Odoo versions (16 and 17), with worked numbers. Field labels and menus move between versions, so where the exact label matters we've marked it for you to check against your own database.

Where payment terms live

Payment terms are records of the model account.payment.term. You manage them under Accounting > Configuration > Payment Terms.

A payment term can be set in three places:

  1. On the customer (or vendor), as the default. Every new sales order and invoice for that partner picks it up.
  2. On the sales order, where it can be overridden per deal. The invoice created from the order inherits it.
  3. On the invoice itself. Here you choose either a payment term or a single fixed due date, not both.

If an invoice has no payment term, Odoo uses the due date field directly and creates one receivable line due on that date.

How a payment term turns into due dates

The key thing to understand: when you post an invoice, Odoo does not store "Net 30" as text and calculate later. It splits the receivable into one journal item per instalment, and each journal item gets its own due date (date_maturity) and amount.

Everything downstream reads those journal items: the invoice PDF, the follow-up reminders, the aged receivable report and the payment matching.

Payment term lines

Each payment term has one or more lines. In Odoo 17, a line has:

  • Value type: a percentage or a fixed amount.
  • Amount: the percentage or fixed value.
  • Due date rule: a number of days, counted from the invoice date, from the end of the month, or set to a specific day of the following month.

In Odoo 16 the structure was different: there was a "Balance" line type that took whatever was left over, plus separate fields for days, months and end of month. In Odoo 17 the balance type is gone and the percentage lines must add up to 100%. If you are migrating terms from 16 to 17, check each one after the upgrade.

Example: 30% upfront, 70% at 60 days

Say you configure a term with two lines:

Line

Value

Due

1

30%

0 days after invoice date

2

70%

60 days after invoice date

You post an invoice dated 1 March for 10,000 plus 18% tax, a total of 11,800. Odoo creates two receivable journal items:

Plain text
Receivable  3,540.00  due 1 March   (30% of 11,800)
Receivable  8,260.00  due 30 April  (70% of 11,800)

The percentage applies to the total including tax. Rounding differences go to the last instalment so the lines always add up to the invoice total.

The payment term form shows a live preview of this split for a sample amount. Use it before saving a new term.

Checking the instalments on a posted invoice

If you want to confirm what Odoo actually created, you can read the receivable lines from an Odoo shell:

Python
move = env['account.move'].search([('name', '=', 'INV/2025/00042')], limit=1)
for line in move.line_ids.filtered(
        lambda l: l.account_id.account_type == 'asset_receivable'):
    print(line.date_maturity, line.amount_currency, line.amount_residual)

Each printed row is one instalment, with what is still unpaid in amount_residual.

Early payment (cash) discounts

Since Odoo 16, a payment term can carry an early payment discount: "2% off if paid within 10 days" and similar. You enable it on the payment term and set the percentage and the number of days.

Two limits to know before you design your terms:

  • One instalment only. Odoo only allows an early discount on a payment term with a single 100% line. You cannot combine "30/70 split" with "2% if paid early" in the standard product.
  • Gain and loss accounts. Odoo posts the discount to dedicated cash discount accounts set in the accounting settings. Discounts you give customers go to the loss account; discounts you receive from vendors go to the gain account. Check these are set before the first discounted payment comes in.

Choosing the tax treatment

This is the part that most often needs a conversation with your accountant. A cash discount reduces the price the customer actually pays, and tax rules differ by country on whether, and when, the tax must also be reduced.

Odoo offers three options on the payment term. They are shown as "Always (upon invoice)", "On early payment" and "Never".

Using the same invoice (10,000 net, 18% tax, 11,800 total) with a 2% discount:

1. Reduce tax on early payment

The invoice is issued for the full 11,800. If the customer pays within the discount period, the discount is taken on the total including tax, and part of it reverses tax.

Plain text
Discount on total:   2% x 11,800 = 236
  of which net:      200
  of which tax:       36
Customer pays:       11,564

When you register the payment, Odoo posts 200 to the cash discount loss account and 36 back against the tax account, so your tax report reflects the lower tax. If the customer pays late, they owe the full 11,800 and nothing is adjusted.

2. Never reduce tax

The discount applies only to the net amount; the tax stays as invoiced.

Plain text
Discount on net:     2% x 10,000 = 200
Tax unchanged:       1,800
Customer pays:       11,600

The whole 200 goes to the cash discount loss account.

3. Always reduce tax (upon invoice)

Here the tax is calculated on the discounted base when the invoice is created, whether or not the customer ends up paying early. Some countries, Belgium being the usual example, require this.

Plain text
Tax base:            10,000 - 2% = 9,800
Tax:                 18% x 9,800 = 1,764
Invoice total:       11,764
Paid early:          11,564  (11,764 - 200)
Paid late:           11,764

Odoo adds extra lines to the invoice journal entry to reduce the tax base. The tax on the invoice is final; a late payer pays the net 10,000 plus the reduced tax.

Pick the option your tax rules require, not the one that looks simplest. If you sell into several countries with different rules, create separate payment terms per rule and set them on the right customers.

Registering a discounted payment

When you register a payment from the invoice within the discount period, the payment wizard proposes the discounted amount and shows how the difference will be posted. Outside the period, it proposes the full amount.

The same applies during bank reconciliation: if the bank line matches the discounted amount and the payment date is within the discount period, Odoo can match it and post the difference. If the customer pays the discounted amount after the deadline, Odoo will treat it as a partial payment, and you decide whether to accept it as a write-off or chase the balance.

If your team reconciles high volumes of UPI, NEFT or IMPS receipts, our AI Bank Reconciliation app imports CSV/Excel bank statements and auto-matches them to open items in Odoo Community and Enterprise; review discount postings as part of your normal checks.

How payment terms show on the invoice

On the printed invoice, Odoo shows:

  • The due date, or the payment term name, near the invoice header.
  • The payment term's description text, if you filled one in on the payment term. Use this for plain-language terms your customer will read, such as "30% on order, balance within 60 days".
  • Instalment dates and amounts, if the payment term is set to display them.
  • The early payment discount, with the discounted amount and the date it must be paid by, when the term has one.

Print a test invoice for each payment term before using it with customers. The wording customers see is the wording they will dispute.

How payment terms affect the aged receivable report

The aged receivable report ages each open receivable journal item, not each invoice. That has a few practical effects.

Instalments spread across buckets

Take the 30/70 invoice from earlier. On 15 April, if nothing has been paid:

Plain text
INV/2025/00042  3,540.00  due 1 March   -> 31-60 days overdue
INV/2025/00042  8,260.00  due 30 April  -> not yet due

One invoice appears in two columns. That is correct, and it gives a more accurate view of overdue cash than ageing the whole invoice from one date. Expand the partner line to see the individual items.

Partial payments reduce the residual

The report uses the open (residual) amount. If the customer pays 2,000 against the first instalment, only the remaining 1,540 stays in the overdue bucket.

Early discounts do not shrink the balance

The aged receivable report shows the full amount owed. A discount that might be taken is not deducted until a payment is actually registered with it. Your cash forecast should allow for the fact that some customers will pay less.

Ageing basis

By default the report ages by due date. Some versions also let you age by invoice date.

On Odoo Community

The aged receivable report is part of Odoo Enterprise accounting reports. On Community, you can get the same instalment-level view straight from the database:

SQL
SELECT m.name            AS invoice,
       p.name            AS customer,
       l.date_maturity   AS due_date,
       l.amount_residual AS open_amount,
       CURRENT_DATE - l.date_maturity AS days_overdue
FROM account_move_line l
JOIN account_move m    ON m.id = l.move_id
JOIN account_account a ON a.id = l.account_id
LEFT JOIN res_partner p ON p.id = l.partner_id
WHERE a.account_type = 'asset_receivable'
  AND l.parent_state = 'posted'
  AND l.amount_residual <> 0
ORDER BY l.date_maturity;

Run it read-only against a replica or a backup, not your live database during working hours, and remember amount_residual is in company currency.

A setup checklist

  1. List the terms you actually offer, and agree the tax treatment for any early discount with your accountant.
  2. Set the cash discount gain and loss accounts in the accounting settings.
  3. Create each payment term, use the preview to check the split, and write a clear description for the invoice.
  4. Set default terms on customers and vendors.
  5. Post and print a test invoice for each term. Check the instalment lines, due dates and the PDF wording.
  6. Register a test payment inside and outside the discount period and check the journal entries and the tax report.
  7. Open the aged receivable report (or run the query above) and confirm the instalments land in the buckets you expect.
  8. After any Odoo upgrade, recheck each term, especially when moving from 16 to 17.

How Kalvyai can help

We configure and extend Odoo accounting for businesses that need payment terms, discounts and tax to behave exactly as their contracts and tax rules require, including migrating terms between versions and building receivable reporting for Community. See our Odoo services, browse our apps at store.kalvyai.com, or contact us to talk through your setup.

Share this article

  • Odoo
  • Accounting
  • Payment Terms
  • Accounts Receivable
  • Early Payment Discount
  • Tax

Kalvyai Engineering · Engineering team

The engineers who build, connect and fix business systems at Kalvyai: Odoo, ERPNext, Shopify and AI agents that work inside them with approvals, budgets and an audit trail.

Comments

No comments yet. Questions and corrections are welcome.

Rate this post or leave a comment

Your rating (optional)
Not rated

Comments appear after an editor approves them. See our privacy notice.

Read next

WooCommerce Odoo Integration: Sync Rules, Stock, Orders, Taxes (cover)Technical
Kalvyai EngineeringOdoo

WooCommerce Odoo Integration: Sync Rules, Stock, Orders, Taxes

A practical guide to connecting WooCommerce and Odoo through the WooCommerce REST API: what to sync in which direction, how to push stock and prices, import orders safely, map taxes and avoid duplicate customers and orders.

8 min read

Tally to Odoo Migration: What to Move, Map and Check (cover)Technical
Kalvyai EngineeringOdoo

Tally to Odoo Migration: What to Move, Map and Check

A practical guide to moving from Tally to Odoo: which masters, balances, open invoices and stock to bring, what to leave in Tally, how to map ledgers and set up GST, and how to run a parallel month.

7 min read

Newsletter

Get new guides in your inbox.

Practical notes on Odoo, ERPNext, Shopify and AI agents, written by the engineers who build them. No spam, and you can ask to stop at any time.

Prefer a feed? Subscribe by RSS. We use your email only to send new articles. See our privacy policy.