Skip to main content

Driver payroll

The system automatically computes driver salary from completed trip data. Accountants just review + export Excel for payment.

Driver payroll

Payroll formula​

Monthly salary = Base salary
+ Distance bonus (above threshold)
+ Per-trip bonus (completed trips)
+ COD commission (% of cash collected)

Each component​

ComponentCalculationDefault
Base salaryFixed amount per month8,000,000 VND
Km thresholdMinimum km, no bonus below300 km/month
Distance bonus(actual km - threshold) Γ— rate/km2,000 VND/km
Trip bonusCOMPLETED trips Γ— rate/trip30,000 VND/trip
COD %Total COD collected Γ— rate0.5%
Why no "cancellation penalty"?

The first version had a column to deduct salary for cancelled trips, but it was removed because:

  • Cancellations are usually the Planner's fault (infeasible plan) or customer's request β€” not the driver's
  • Penalizing erodes morale when the driver doesn't control the cause

Instead, the system simply doesn't grant bonus for non-completed trips β€” incentive enough.

Payroll table​

Filter​

Choose Month (default: current month) β†’ press Apply.

Columns​

ColumnMeaning
DriverName + driver code
Completed tripsCount of trips with Status=COMPLETED
Total kmSum(distanceKm) from trips
COD collectedSum(TotalCODCollected)
Base salaryFrom config
Distance bonus(km - threshold) Γ— rate, β‰₯ 0
Trip bonustrips Γ— rate
COD commissionCOD Γ— percentage
TOTALSum of all bonus columns

Summary KPIs​

3 summary cards on top:

  • πŸ’΅ Total payroll due β€” Sum across all drivers
  • πŸš› Total trips β€” Trip count for the month
  • πŸ’° Total COD β€” Cash collected on behalf in the month

Edit the formula​

Click βš™οΈ Settings at the top β†’ modal opens:

FieldDefault
Base salary (VND)8,000,000
Km threshold for bonus300
Bonus per km above threshold (VND)2,000
Bonus per completed trip (VND)30,000
COD commission (%)0.5

Edit + click "Save" β†’ applies to the entire organization immediately.

Change is not retroactive

Configuration changes are not retroactive β€” they only apply going forward. Past months already paid use the old config.

Excel export​

Click "Export Excel" β†’ downloads .xlsx:

  • 1 Summary sheet β€” monthly overview
  • One sheet per driver β€” itemized trips contributing to their pay

Used for:

  • Printing payroll, signing, archiving
  • Bulk bank transfer upload
  • Accounting compliance

FAQ​

Q: If a driver runs 2 trips in one day, are both counted? A: Yes. Trip bonus counts each Trip record with Status=COMPLETED.

Q: Can I enter driver salary manually? A: Not currently β€” fully automatic. For special bonuses (e.g. holiday bonus), edit the exported Excel offline.

Q: Who can view payroll? A: Only Accountant (preset) or users with payroll.view permission. Planner/Dispatcher cannot β€” preventing conflicts.

Q: Does payroll integrate with COD reconciliation? A: Yes. The "COD collected" column comes from TotalCODCollected reported by the driver (and, if the reconciliation module exists, from the cash actually counted by the accountant).

Next​