Paying employees per unit produced (contract-based pay)
Pay a worker for what they produce: a rate per unit multiplied by the quantity you log each day, totalled automatically in the payroll run.
Some staff are not on a fixed monthly salary. A shoe factory pays a stitcher for every pair they finish; a sales agent is paid per lead; a field nurse is paid per visit. In Usystems this is handled by the Contract-based rate type: you set a price per unit on the employee's salary, log the quantity they produce, and the payroll run multiplies the two.
Before you start
- You need HR / payroll admin permissions.
- Contract-based pay must be enabled for your business. If you do not see Contract Work Entries in the HR menu, or you get the message "Contract-based pay is not enabled for this business", contact Usystems support to have it switched on.
- The employee must already exist (HR → Employees), and a payroll period must be configured (HR → Payroll Period).
- Decide two things: the price of one unit, and what you call that unit (pair of shoes, piece, lead, visit).
Step 1 — Put the employee on a contract rate
- Go to HR → Salaries and add a salary record for the employee (or edit the active one).
- Set Rate type to Contract-based.
- In the amount field, enter the price of a single unit — not a monthly figure. For 5 AFN per pair of shoes, enter
5. - In Unit name, type the unit the quantity is counted in, for example
pair of shoes. This label is shown on entries and in the payroll preview. - Save. The employee now has no fixed salary — their pay comes entirely from the work you log.
Step 2 — Log the work as it happens
- Go to HR → Contract Work Entries.
- Click Log Contract Work and fill in:
- Employee — the worker who produced the output.
- Date — the day the work was done. This is what decides which payroll period the entry falls into.
- Quantity — how many units that day, for example
62. - Unit name — optional. Left blank, it falls back to the unit on the employee's salary.
- Note — optional, for example the order or batch number.
- Save. Add one entry per worker per day; a supervisor can enter the whole day's tally in a few minutes.
Entries can be edited or deleted from the list until the payroll run that covers them has been executed.
Step 3 — Run payroll
-
Go to HR → Payroll Run and create the run for the period as you normally would.
-
For every contract-based employee the run adds up the quantities dated inside the period and multiplies by the rate:
gross pay = sum(quantity in period) × rate per unit -
Review the preview, then accrue and pay. The journals, payslips and reports work exactly as they do for monthly staff.
Worked example
A stitcher is paid 5 AFN per pair of shoes:
| Date | Pairs produced | Rate | Amount |
|---|---|---|---|
| 1st | 40 | 5 AFN | 200 AFN |
| 2nd | 55 | 5 AFN | 275 AFN |
| 3rd | 62 | 5 AFN | 310 AFN |
| Total | 157 | 785 AFN |
The payroll run for that period shows 785 AFN as the gross pay, before any bonuses, deductions or advance recovery.
Things worth knowing
- Attendance and working days are ignored. Contract pay is never prorated for days off, lateness or holidays — only logged quantities count.
- Only entries dated inside the period are paid. An entry dated after the period end simply waits for the next run; nothing is lost.
- Bonuses, deductions and advances behave normally. They are applied on top of the calculated amount, in the usual order.
- The unit name is a label, not a calculation. Changing it does not change any amount.
- One rate type per salary record. An employee cannot be half monthly, half per-unit at the same time. If someone moves from a monthly wage to contract work, end the old salary record and add a new one.
Frequently asked questions
Can different workers have different rates for the same product? Yes. The rate lives on each employee's salary record, so every worker can have their own price per unit.
Can one worker have different rates for different products? Not within a single salary record — the rate is one price per unit. If the price differs a lot per product, either log the work in a common unit (for example "points") or raise it with support as a requirement.
What if the quantity was entered wrong? Correct or delete the entry before the payroll run is executed. If the run has already been executed, cancel the run, fix the entry and run it again.
We pay daily or hourly, not per piece. Is this the right feature? No — use the Daily or Hourly rate types instead; those are driven by attendance.
ایا دا ګټور و؟