Apply incentives and deductions to work orders.
You can modify the final payout using Bonuses (incentives) and Penalties (deductions).
Incentives for good performance, urgent work, or special circumstances.
GET /bonuses
{
"results": [
{ "id": 1, "name": "Urgent Dispatch", "amount": 25.00 },
{ "id": 2, "name": "Weekend Work", "amount": 50.00 },
{ "id": 3, "name": "Exceptional Service", "amount": 30.00 }
]
}GET /workorders/{id}/bonuses
POST /workorders/{id}/bonuses/{bonus_id}
{
"amount": 25.00,
"description": "Urgent same-day dispatch"
}Include bonuses in the initial work order payload:
"pay": {
"type": "fixed",
"base": { "amount": 100 },
"bonuses": {
"results": [{ "id": 1 }]
}
}Add bonus after the work order is assigned:
POST /workorders/{id}/bonuses/1
Deductions for late arrivals, missing deliverables, or other issues.
GET /penalties
{
"results": [
{ "id": 1, "name": "Late Arrival", "amount": 15.00 },
{ "id": 2, "name": "Missing Photos", "amount": 10.00 },
{ "id": 3, "name": "Incomplete Tasks", "amount": 20.00 }
]
}GET /workorders/{id}/penalties
POST /workorders/{id}/penalties/{penalty_id}
{
"amount": 15.00,
"reason": "Provider arrived 45 minutes late"
}Penalties can only be applied before the work order is Paid. Communicate clearly with providers about deduction reasons.
Final Pay = Base Pay + Bonuses - Penalties + Approved Expenses| Component | Amount |
|---|---|
| Base Pay (Fixed) | $150.00 |
| + Urgent Bonus | $25.00 |
| - Late Penalty | -$15.00 |
| + Materials Expense | $45.00 |
| Total | $205.00 |
Last updated on