Sales Commission
Commission for salespeople and external agents, earned on the invoice or on the payment, paid out on one vendor bill per person per period
Request a live demo · Odoo.sh or On-Premise only, not Odoo Online (SaaS).
2
triggers: pay on the invoice or on the payment
1
vendor bill per person per period
44
automated tests, none failing
Untaxed
base, in company currency, per invoice line
2
kinds of recipient: salespeople and agents
Own
salespeople see only their own commission
Sales Commission pays your salespeople and your outside agents a percentage of what you actually invoiced. A plan sets the rates, the invoice triggers the commission, and each period turns into one draft vendor bill per person with a printable statement. Credit notes, resets to draft and cancellations are followed automatically, so the figures on a statement are the figures in your books. This page walks through every part with screenshots of an Odoo 19 database seeded with made-up data.
Install it and a Commissions menu appears under Sales, with the Commission Report, Settlements and Settle Commissions, and Commission Plans under Sales > Configuration. The screenshots were taken in an Odoo 19 Community database seeded with made-up data: a fictitious office-supply company, three salespeople, two external agents, seven customers and fourteen invoices over three months. The data is synthetic, and every number quoted beside a screenshot is read off that screenshot.
How it works
Why commission belongs on the invoice
Commission worked out on a confirmed sales order is commission on money that has not been invoiced, let alone collected. A spreadsheet of who earned what is out of date the day a credit note arrives, and a settled amount that quietly changes later is worse than none. This app anchors commission to the customer invoice instead, and then follows that invoice for as long as it lives.
Between the invoice and the bill sits a short, visible chain, covered step by step below.
1 Plans and rules: who earns, and at what rate
Use it when you pay different rates for different products, categories or teams and want every rate on every line to be explainable.Configuration only
A flat rate is rarely what a commission agreement says. Hardware pays less than services, a warranty pays more than either, and the channel team has a rate of its own. The rate on a line should come from a rule somebody can point at, not from a formula somebody remembers.
Open Sales > Configuration > Commission Plans . A plan has a name, a trigger (Invoice posted or Invoice paid), a Default Rate between 0 and 100% that applies to every invoice line no rule matches, and three tabs: Rules, Salespeople and Agents. The list shows each plan with its trigger, its default rate and the people it pays.
A rule needs at least one of a product, a product category or a sales team, and a rate. A category rule covers its sub-categories. The most specific matching rule sets the rate: a product rule beats a category rule, a deeper category beats its parent, and a sales team narrows either one. Equally specific rules are decided by their order in the list, which you drag to change.
Two plans: one for salespeople that pays on the invoice, one for agents that pays on payment.
The Direct Sales plan: a default rate and four rules, each by product, category or team.
Direct Sales 2026 pays 5% by default, 4% on Laptops, 8% on Services, 12% on the Extended Warranty product, and 3% on Hardware when the invoice's sales team is Channel Partners. An invoice for Maya Chen (Direct Sales team) carries two Laptop Pro 14 ($2,900.00), two Extended Warranty ($240.00) and two USB-C Docking Stations ($420.00).
It earns 4% of 2,900.00 = $116.00 on the laptops, 12% of 240.00 = $28.80 on the warranty and, because the dock is Hardware but the team is not Channel Partners, the 5% default: $21.00 . Three lines, $165.80 in all, each showing its rate. The invoice total was $4,094.00 with 15% tax; the tax is not in the base.
A rate is a percentage. There are no fixed amounts per unit, no tiers by volume or target and no commission on margin.
a rate on every invoice line that comes from a rule you can point at, kept on the commission line together with the rule that produced it.
The order is product, then category depth, then team. A Laptops rule with no team still beats a Hardware rule for a given team: in the sample, Priya Nair (Channel Partners) earns 4% on a Laptop Pro 14 and 3% on a monitor.


2 Salespeople and external agents: who is on the invoice
Use it when you pay employees and outside agents, and want every invoice to carry the right people without anyone typing them.Fields on customer, order and invoice
Salespeople are Odoo users. Outside agents are not: they have no login, they may earn on some customers only, and the agreement can differ for a single order. Typing agents onto every invoice does not survive a busy month.
Salespeople earn on customer invoices where they are the Salesperson . Agents are ordinary contacts. Put them in Commission Agents on the customer (the field sits on the Sales & Purchase tab of the company record) and each new sales order takes them. Change them on one order and its invoices carry that choice. An invoice created without an order takes the agents of its customer, and while the invoice is a draft you can still change them on its Other Info tab.
A person earns only if a plan lists them, salespeople on its Salespeople tab and agents on its Agents tab. Each can sit on one active plan per company, so a rate never depends on which plan a search found first. Someone on no plan earns nothing.
On the customer: Commission Agents.
On the sales order: copied from the customer, editable for this order.
On the invoice: the Commission button counts the lines the invoice earned.
Cedar Ridge Schools has Harbor Reps LLC as its agent. Order S00011 (salesperson Daniel Ortiz, team Direct Sales) took Harbor Reps LLC from the customer, and so did its invoice INV/2026/00012: two Laptop Pro 14 and four Extended Warranty, $3,380.00 untaxed, $3,887.00 with tax.
That is four commission lines: two for Daniel under Direct Sales 2026, and two for Harbor under Agent Network 2026, which pays 7% by default and 10% on Services: 7% of 2,900.00 = $203.00 and 10% of 480.00 = $48.00.
An invoice that groups several sales orders takes its salesperson and its agents from the first order, as Odoo does for the salesperson. The app adds no portal for agents: an agent receives a vendor bill and a statement, and has no screen in Odoo.
commission lines for the invoice's salesperson and for each agent on the invoice, under the plan each of them is on.
Agents are copied when the order is created. Changing the agents on a customer afterwards does not rewrite orders that already exist; change those orders yourself.



3 Invoice or payment: when does commission become due?
Use it when you pay your staff when they invoice but your agents only once the customer has paid.Read-only view of lines
Staff are usually paid when they invoice, and agents are often paid only when the customer pays. Both agreements can live in the same company, and the system has to know which applies to which person without a spreadsheet.
Every plan has one trigger. On an Invoice posted plan a line is To settle as soon as the invoice is posted, dated on the invoice date. On an Invoice paid plan the line is Waiting for payment, with no date, until the invoice is In Payment or Paid, and then it becomes To settle, dated on the payment.
The invoice form carries a Commission button with the number of lines, and opens exactly those lines. The Commission Report (below) has a filter for each of the three states, and lines that wait are shown muted.
The four lines of one invoice. Daniel's are dated Oct 9; Harbor's are muted and have no date yet.
On INV/2026/00012, Daniel Ortiz's two lines are To settle on Oct 9, the invoice date: 4% of 2,900.00 = $116.00 and 12% of 480.00 = $57.60, $173.60 together. Harbor Reps LLC's two lines, $203.00 and $48.00, are Waiting for payment: the Agent Network plan pays on payment, and Cedar Ridge Schools has not paid.
The day the invoice is paid in full they become To settle, dated that day. A second invoice, INV/2026/00013 for Evergreen Clinics, has $600.00 paid of $3,220.00. It is part-paid, so Lena Fischer's commission on it is still waiting.
There is no partial commission on a partial payment: on a paid plan a line is released by the full payment, not by a share of it.
each commission line is Waiting for payment, To settle or Settled, with a date that is the invoice date or the payment date, depending on the plan.
On an Invoice paid plan a part-paid invoice earns nothing yet. Only In Payment, Paid or Reversed (an invoice a credit note cleared) releases it. A line that is already Settled never moves, whatever happens to the payments later.

4 Credit notes, resets and cancellations: nothing counted twice
Use it when an invoice you already paid commission on is credited, reset or cancelled.Automatic, no button to press
Money paid out on an invoice that is later credited, reset or cancelled is the classic commission mess. Editing the settled amount rewrites history; ignoring the change overpays. Either way someone finds out at the next review.
Credit notes. A credit note against an invoice claws back from the same people at the rate that invoice paid them, even if the plan has changed since, and pays nothing to anyone the invoice did not pay. A full reversal nets every recipient to zero. On a paid plan a credit note counts only once its own invoice is paid, so a partial credit note cannot claw back commission the invoice has not yet earned.
Reset and recompute. Posting, resetting to draft and recomputing an invoice rebuild its unsettled commission, so nothing is counted twice. Commission that is already on a vendor bill is never rewritten. If its invoice is reset or cancelled, an offsetting clawback line is created, dated that day, and the next settlement deducts it. The Commission Report has a Clawbacks filter that lists them, in red.
The Clawbacks filter: two red lines, dated the day the invoice was cancelled, waiting for the next settlement.
Bluefin Logistics' invoice INV/2026/00008 (salesperson Priya Nair) carried a Laptop Pro 14 and two monitors, $2,090.00. Its commission, 58.00 + 19.20 = $77.20, was settled on COMM/2026/0008 in September. In October the invoice is cancelled. The settled lines stay as they were, and two clawback lines of -$58.00 and -$19.20 appear, dated Oct 28, To settle.
A credit note, RINV/2026/00001, returns one Laptop Pro 14 ($1,450.00) from Evergreen Clinics' August invoice. Priya Nair gets -$58.00 (4%, the rate that invoice paid her), To settle. Lena Fischer, the agent, gets -$101.50 (7%), which waits: on her plan a credit note counts once it is itself paid.
settled lines left exactly as they were, and a dated clawback line that the next settlement deducts, so history is never rewritten.
A vendor credit note against a commission bill does not release its lines: cancel the bill instead. A cancelled commission bill cannot be reopened, and a bill whose commission was already clawed back on a later bill cannot be cancelled until that later bill is.

5 The Commission Report: who is owed what, by month
Use it when finance asks how much commission has been earned, who is owed what, and what is still waiting on customers.
Somebody always asks how much commission the company has earned this quarter, who is owed how much, and what is only waiting on a customer. Answering from invoices means redoing the rules by hand.
Sales > Commissions > Commission Report lists every line, grouped by recipient to begin with. Each line shows the date, the recipient and whether they are a salesperson or an agent, the invoice, customer and product, the base, the rate, the commission and its state. Filters: To settle, Waiting for payment, Settled, Salespeople, Agents, Clawbacks and a date filter; groupings: Recipient, Month, Status and Plan.
The pivot puts recipients down the side and months across, and the graph draws the same figures as bars. Negative lines, clawbacks, are shown in red.
Recipient by month. The last-but-one column is the lines that are still waiting for payment.
The same figures as a bar chart, one bar per recipient.
The sample pivot shows August $1,144.15, September $1,476.60 and October $560.60, and a column of its own for $381.50 that has no date because it is waiting for payment: Harbor Reps LLC $251.00 and Lena Fischer $130.50. The grand total is $3,562.85.
Priya Nair's October cell reads $-135.20. That is not an error: it is her credit note (-$58.00) and the clawback on the cancelled Bluefin invoice (-$77.20), with no new commission to offset them.
The report reads the commission lines; it does not forecast. A line exists only for an invoice that has been posted.
every commission line by recipient and month in a list, a pivot and a graph, with filters for status, role, clawbacks and date.
Lines that are Waiting for payment have no date yet, so the pivot shows them in a column of their own rather than in a month.


6 Settle Commissions: one vendor bill per person
Use it when a period has closed and you pay each person what they earned in it.Creates draft vendor bills
Paying commission means turning a pile of lines into a bill per person, once, without missing a line and without paying one twice. Doing it by copying numbers into vendor bills is where the mistakes happen.
Sales > Commissions > Settle Commissions (also under Accounting > Vendors) asks for a period and, optionally, some recipients. Every line that is To settle in the period goes on one settlement per recipient, and each settlement gets a draft vendor bill: the vendor is the recipient, the bill is dated on the To date, its reference is the settlement number, and it has one line, Commission <period> (<settlement>) , with your commission product.
Where clawbacks outweigh the new commission the document is a vendor refund . A recipient whose lines net to exactly zero is left for the next period. A settlement keeps its lines, a Lines button and the amount it was for; cancel or delete its draft bill and every line is To settle again.
The wizard: a period, and optionally recipients. Empty recipients settles everyone.
Three settlements created in one go, each with its bill.
A settlement: its lines, the amount, the bill, and the two output buttons.
Settling Oct 1 to Oct 31 in the sample creates three settlements. Daniel Ortiz: $459.50, six invoice lines across three invoices. Maya Chen: $236.30, her $165.80 invoice from section 1 and a smaller one. Priya Nair: her October is a credit note (-$58.00) and a clawback (-$77.20) and nothing new, so it nets -$135.20 and the document is a vendor refund.
Harbor Reps LLC and Lena Fischer are not settled: every one of their October lines is still waiting for payment.
It does not post or pay the bills, and it does not pay through payroll: a salesperson is paid through a vendor bill to their own contact, in your company currency.
a numbered settlement and one draft vendor bill for each person, with the commission product's expense account and vendor taxes, ready for you to review and post.
The wizard settles lines dated up to its To date and no earlier than its From date. Lines older than From stay To settle; leave From empty to catch them all. Without a commission product (Sales settings, Commission bills) it stops and says where to set one.



7 Statements and Excel: what each person is shown
Use it when a salesperson or an agent asks what exactly a bill is made of.Read-only (Excel export saves a file)
A bill for "Commission, October" is not an explanation. The person being paid wants the invoices, the customers, the amounts and the rates, and someone in finance will be asked for them.
Every settlement has Print Statement and Export to Excel . The statement names the recipient, the period and the vendor bill with its state, and lists one row per invoice line: date, invoice, customer, product, base, rate and commission, with a total. Clawbacks are marked (clawback). If the bill was cancelled, the statement says its lines are due again.
The Excel file has the same rows plus a Note column that reads Clawback where it applies, and a total row. Both are built from the settlement's own lines, so they always agree with the bill.
The PDF statement of the vendor refund above: every line, the clawbacks marked, and the total.
Priya Nair's statement for October lists three lines: the credit note's RINV/2026/00001 at -$58.00, and the two clawback lines on INV/2026/00008 at -$58.00 and -$19.20, marked (clawback). The total, -$135.20, equals the vendor refund. The Excel file lists the same lines, with Clawback in the Note column.
a PDF statement and an Excel file listing every invoice line behind a bill, with its base, rate and commission and a total.
The app does not email the statement. Download the PDF or the Excel file and send it as you would any attachment.

8 Who sees what: salespeople, administrators and invoicing
Use it when commission is personal, and your salespeople should not see each other's.Access rules, no data written
What somebody earns is theirs to know and nobody else's. At the same time, someone has to set the plans and someone has to pay, and those are different jobs in most companies.
The Settle Commissions menu is for invoicing users, the Commission Plans menu for Sales Administrators, and the Settlements menu for both. Nothing leaves your database: the app makes no network calls, and the only files it produces are the PDF statements and Excel exports you ask for.
Logged in as Maya Chen: her lines only, with no plan or settlement menus.
Logged in as Maya Chen (Sales: own documents), the Commission Report lists her lines and no one else's: Daniel Ortiz, Priya Nair and the agents do not appear, although the company's total is $3,562.85. She has no Settle Commissions or Commission Plans menu.
a salesperson who opens the Commission Report sees only their own lines; administrators and invoicing users see them all.
Plans, lines and settlements belong to one company each. A user sees only the commission of the companies they are allowed into, managers included.

What it does not do
- It pays commission on customer invoices, credit notes and sales receipts: not on margin, and not on sales orders. It has no targets, no tiers by volume and no multi-level (manager override) commission. It does not run payroll: a salesperson is paid through a vendor bill to their own contact, in your company currency.
- Invoices posted before you install it earn nothing until you select them and run Recompute Commission. An invoice that groups several sales orders takes its salesperson and agents from the first order. A vendor credit note against a commission bill does not release its lines; cancel the bill instead. A rate is a percentage between 0 and 100: no fixed amounts.
Questions buyers ask
Does it change my invoices or my accounting?
It adds a Commission Agents field to customers, orders and invoices, and a Commission button on invoices. It never changes an invoice's amounts. It creates vendor bills only when you press Create Bills, and they are drafts.
Can I pay on invoicing for some people and on payment for others?
Yes. The trigger belongs to the plan, and each person is on one plan per company. Staff on an Invoice posted plan and agents on an Invoice paid plan is the usual split.
What happens when I change a plan?
Unsettled commission keeps the rate it was created with until the invoice is posted again or you run Recompute Commission on it, which rebuilds it from the plans as they are now. Settled commission is never rewritten.
Does it work with several companies or currencies?
Plans, rules, lines and settlements each belong to one company, and a user sees only their own companies'. The base is the invoice line's untaxed amount converted to the company currency, and bills are created in the company currency.
Can I delete an invoice I have paid commission on?
No. An invoice with settled commission cannot be deleted, because deleting it would erase what was paid. Reset it to draft or cancel it instead and the clawback follows.
Requirements
- Odoo 19.0 or 20.0. The App Store sells each version separately, so buy the one that matches your database.
- Odoo.sh or On-Premise only. Third-party apps cannot be installed on Odoo Online (SaaS) databases. Check your hosting before buying.
- Module
mh_sale_commission, version 19.0.1.0.5, licensed OPL-1.