Sales Commission
Commission rate schemes, commission calculation from invoices, approval, payment and the commission ledger — including the period rules, incremental basis and audit trail.
The Sales Commission module answers “how much is owed to this salesperson, and on what basis?”. It computes commission from invoices, records it as a liability on approval, and settles it through its own journal entries so the general ledger always balances.
How to reach it
Section titled “How to reach it”- Menu Sales → Komisi Penjual (route
commission/commissions). - Requires the
read:commissionpermission, plusmanage:commissionto calculate/cancel,approve:commissionto approve/reverse, andpay:commissionto pay.
The commission lifecycle
Section titled “The commission lifecycle”Calculate → DRAFT → Approve → APPROVED → Pay → PAID ↓ ↓ CANCELLED PARTIALLY PAID → CANCELLED / REVERSED| Status | Meaning | Payable? |
|---|---|---|
| Draft | Computed, not yet a liability. No journal entry. | No |
| Approved | Recognised as a liability; the accrual journal exists. | Yes |
| Partially Paid | Partly settled, the remainder is still owed. | Yes |
| Paid | Fully settled. Can only be reversed. | — |
| Cancelled | Cancelled before any payment; the accrual is reversed. | No |
| Reversed | Rolled back after payment; the audit trail survives. | No |
Commission basis: what is measured?
Section titled “Commission basis: what is measured?”| Basis | Commission arises from | When to use it |
|---|---|---|
| Invoice Value | The invoice’s net amount. | Manufacturers/partners who carry their own receivables risk. |
| Payment Received | The portion the customer has actually paid. | Protects against bad debt. |
| Gross Margin | Sale value − cost of goods sold. | Protects against excessive discounting. |
The default basis lives in the tenant’s commission policy and can be overridden per scheme. An empty basis column on a scheme means inherit the policy, not no basis.
Incremental basis (important)
Section titled “Incremental basis (important)”Recomputing against the same invoice does not double the commission:
- The Payment basis is incremental: only the portion never accrued before is added. A customer paying 30% then 70% produces two commission tranches, not two full commissions.
- The Invoice Value and Gross Margin bases are corrective: a recalculation replaces the previous figure. Recomputing once the real cost is known corrects a base that was previously estimated — it does not add to it.
Both behaviours are decided on the server; the screen only shows the resulting Base and Incremental Base.
The commission period follows the sale, not the calculation
Section titled “The commission period follows the sale, not the calculation”The Period column on the list follows the invoice date, not the date the calculation was run.
The commission date stays separate and follows the recognition moment; that date is what the journal uses.
Calculating a commission
Section titled “Calculating a commission”- Click Hitung Komisi.
- Pick the invoice. The salesperson comes from the invoice’s sales dimension; fill in the salesperson field only when this commission must be attributed to someone else.
- Enter the cost when the basis is margin and the system does not know it yet.
- Click Pratinjau to see the result, then Simpan.
The preview runs the same computation on the server without saving. The figure on the preview panel is therefore guaranteed to be the one that gets stored — not an estimate re-derived in the browser.
Separating blocking problems from advisory ones
Section titled “Separating blocking problems from advisory ones”The preview panel distinguishes two kinds of finding:
- Blocking (disables Save) — for example a missing cost when the basis is margin and the policy refuses estimates.
- Informational only — for example a negative margin, an unchanged base, a figure below the minimum commission, or a rate that was capped. These do not prevent saving, but an approver needs to see them.
Approving
Section titled “Approving”Approval recognises the commission as a liability and posts the accrual journal: commission expense debited, commission payable credited (one credit line per payee when the commission is split).
The approval dialog surfaces the warnings that change how you read the figure:
- cost is still an estimate — the commission base is an approximation;
- effective rate of 0% — usually means the tier table or flat rate is not right yet;
- the commission is split across several salespeople — which changes who gets paid.
Once approved, the amount can no longer be changed — only paid or cancelled.
Paying
Section titled “Paying”The payment dialog is prefilled with the settled remainder, because paying in full is the common case and asking the user to do the subtraction only invites arithmetic slips. Clear it when the payment really is partial.
Payment posts its own journal entry: commission payable decreases, cash/bank decreases. The unsettled remainder stays on the same commission, so no commission is left orphaned.
Cancelling and reversing
Section titled “Cancelling and reversing”| Action | Available when | Effect |
|---|---|---|
| Cancel | While nothing has been paid (draft/approved). | The accrual journal is reversed; the commission is no longer a liability. |
| Reverse | After a payment (partial/full). | Both the recognition and the payment are rolled back with counter entries; the history remains. |
A reason is mandatory for both, at least three characters, and is stored on the document and in the audit trail — these actions change what a person is owed.
The commission ledger
Section titled “The commission ledger”The Buku Komisi button on each row opens every movement on that commission together with its running balance:
| Type | Meaning |
|---|---|
| Accrual | The commission is recognised (increases the liability). |
| Payment | Part or all of the commission is paid (reduces the liability). |
| Payment Reversal | A payment is undone. |
| Accrual Reversal | The recognition is reversed. |
| Adjustment | A manual correction, with a mandatory reason. |
The newest running balance is the answer to “how much is still owed?” on that commission.
The “unpaid” panel
Section titled “The “unpaid” panel”Above the list is a summary of commissions not yet paid in the selected period, grouped by salesperson, with a total.
Filters and export
Section titled “Filters and export”- Status — choose Belum selesai to get a single work list (draft + approved + partially paid) instead of selecting several statuses by hand. The choice is sent to the server as one value, so the definition of “not finished” lives in exactly one place.
- Period — restricts to the commission period (
YYYY-MM). - Salesperson — restricts to one person.
- A single-invoice filter appears when the screen is opened from an invoice context.
- Ekspor CSV uses the filters, sort and search currently active, so the file matches the screen.
There is no bulk approval
Section titled “There is no bulk approval”This list deliberately offers no bulk action to approve many commissions at once. Each approval is an audited decision under segregation of duties — approving a batch of amounts in a single click weakens precisely the review that justifies the action existing. A browser-side loop over N approvals would also be non-atomic: a failure halfway would leave a half-finished state that cannot be explained.
Reports
Section titled “Reports”Commission data is available in the report catalogue as Commission by Salesperson and Commission Payable. Both recompute the base and the effective rate from server-side aggregated figures, so their numbers agree with this list.