How this Algorithm Works
This Smart Payroll engine mathematically computes subcontractor payouts by scanning all scheduled appointments within your selected date range and applying the following logic strictly in sequence:
- Step 1 (Extraction): Finds all appointments with status strictly marked as
completed. Scheduled or cancelled jobs are ignored. - Step 2 (Assign Base Pay): Retrieves the default standard cleaning price attached to each respective property profile.
- Step 3 (Custom Overrides Check): Checking if the specific appointment has a custom payout override (e.g., if a deep clean was requested or it was unusually dirty). If present, this supersedes the base payout.
- Step 4 (Split Payouts): If multiple cleaners were assigned to the same job log, the total payout is evenly divided among them automatically unless specified otherwise.
- Step 5 (Deductions & Bonuses): Applies any logged granular penalties (e.g., missed trash) or flat bonuses.
- Step 6 (Aggregation): Groups all completely validated line-items by the unique cleaner, summing up their grand total for exactly what you owe them for the period.
Auditing Notice
Review these totals before running payroll. If any aggregated payout looks wildly incorrect, the most likely culprit is that the property's underlying Master Configuration (base cleaning rate) is missing or outdated. If so, simply head to the Properties tab and update it.
Algorithm Feedback
Does this logic cover every scenario you run into? Tell us what variables are missing below.