Sales Partner Commissions
ERPNext works out a Sales Partner's commission on each Sales Invoice, but it never turns that commission into a bill you can pay. Frappoint adds that step. Each partner is linked to a Supplier, and their unbilled commission is billed to that Supplier as a draft Purchase Invoice, which finance submits and pays as usual.
This works for any submitted Sales Invoice with a Sales Partner: spa, hotel or anything else you sell.
Set it up
-
Create a commission Item. A non-stock service Item, for example Sales Partner Commission. Leave Grant Commission off. Under Item Defaults, set the company's commission expense account.
-
Fill in Selling Settings > Sales Partner Commission:
Setting What it does Commission Payable On Paid Invoices (default): commission becomes payable once the customer has paid the Sales Invoice in full. Submitted Invoices: as soon as the invoice is submitted. Commission Item The Item from step 1, used on the commission Purchase Invoice. Its expense account and tax template apply. Required. Partner Supplier Group The Supplier Group for Suppliers created from Sales Partners. If empty, the Buying Settings default is used. -
Check the buying price list. There must be an enabled buying Price List in the company's currency, or no default set in Buying Settings.
-
Turn on Grant Commission on the Items you sell through partners, such as room nights or spa services. Only those lines earn commission.
-
Link each partner to a Supplier. On the Sales Partner, click Commission > Create Supplier. Frappoint creates a Supplier with the partner's name, or links an existing one with that name, and fills in the partner's Supplier field.
Earn commission
Set the Sales Partner in the Commission section of a Sales Invoice. ERPNext copies the partner's rate and calculates Total Commission. Submit the invoice.
See what is payable
Open Frappoint > Reports > Sales Partner Commission (the Payable Sales Partner Commission report). Choose the company and dates, and optionally a partner.

It lists, per partner, each submitted Sales Invoice whose commission hasn't been billed yet. Credit notes are included with a negative commission, so they reduce the total. The note under the report says whether commission is payable on paid or submitted invoices.
The Sales Partner form also shows the unbilled commission for each company.
Bill the commission
On the report:
- Tick the invoices to pay and click Bill Selected, or
- Click Bill All Shown to bill everything listed.
Frappoint creates one draft Purchase Invoice per partner, with one line per Sales Invoice, such as "Commission on ACC-SINV-… (customer, date)". Each billed Sales Invoice records the Purchase Invoice in Commission Billed On, and drops off the report.
To bill one partner, use Commission > Create Commission Invoice on their Sales Partner form instead.
Partners without a linked Supplier, and invoices that aren't payable yet, are listed under Not billed with the reason.
Pay the partner
Review the draft Purchase Invoice, submit it, then Create > Payment. ERPNext applies the Supplier's withholding tax and the commission Item's expense account.
Safeguards
- Each Sales Invoice's commission is billed only once.
- Cancelling or deleting a commission Purchase Invoice makes its Sales Invoices payable again.
- Commission isn't recalculated: the amount billed is the invoice's own Total Commission.