How Pay Is Calculated
How Payroll picks the rule that pays each person on each line, how the amount is worked out, and how it changes until a run closes.
Payroll works out what each person on your team has earned. It reads every Order, finds the rule that pays each person on each line, and adds it up. The app calculates the pay, locks it when you close a run, and exports it. Your business pays your people, for example through your payroll provider.
Who earns
Everyone listed as an Inspector on the Order can earn on it. That includes the account owner. If a name on the Order doesn't match anyone on your team, that entry earns nothing, and the Order is flagged Unassigned person.
The lines pay is earned on
Pay follows the lines of the Order's price. The rules table has a row for each kind of line:
- Inspection: the base price, size pricing, occupancy and any age or size adjustments, treated as one line.
- Each add-on your account sells. A rule covers every unit of it, so three units pay three times.
- Travel: the travel surcharge.
- Other fees: fees added to an Order by hand.
- All services: the fallback. It applies to any line that no more specific rule covers.
Discount lines and tax lines are never paid on. Pay is worked out on prices before sales tax.
Which rule pays
Rules live in two places. Anyone's rules are the team's rules. They pay everyone who has no rule of their own. Each person can also have rules of their own.
For each line, the first rule that exists in this order wins:
- The person's own rule for that line.
- Anyone's rule for that line.
- The person's own All services rule.
- Anyone's All services rule.
So a rule for one service always beats an All services rule, even when the All services rule is the person's own. If no rule is found, that line earns nothing, and it's flagged No pay rule.
Every rule has a start date. An Order uses the version of the rule in force on its service date, which is the day of the appointment. When you change a rate, the new rate starts on the date you pick. Earlier Orders keep the old rate. When you stop a rule, it stops from a date. Earlier Orders keep it.
Base pay and hourly pay
A person's All services row is their base pay. It is one of three things:
- Anyone's rules. This is the default.
- Their own rule for all services.
- Hourly. They are paid for the hours they clock, at their rate. Anyone's rules don't apply to them. A service where they have a rule of their own still pays that rule on top.
Hourly pay is the minutes worked times the rate in force on the day of each punch. A new rate starts from the date you pick. How switching someone to hourly, or back, affects pay is in Set up pay rules. How punches are made is in Track hours.
How a rule works out the amount
Each rule uses one method:
- Percent. A percent of the line. You can take something off first: a flat amount or a percent. That is taken once per line, before the percent. If taking it off leaves less than nothing, the line pays 0 and is flagged Negative base.
- Flat. A fixed amount per unit. It is never capped at the line's price. If it pays more than the line, it's flagged Flat amount is more than the line.
- Flat by home size. A fixed amount that depends on the home's size. If your categories price by size tier, you can set one amount per tier. Otherwise you set bands of area, such as up to 2,000 and anything larger.
A percent rule is worked out on what is left of the line after discounts, refunds and third-party costs. A flat rule pays its amount whatever the line costs.
When the home size is missing
If an Order has no size, or a size that matches no tier, a flat-by-home-size rule pays its smallest amount. The Order is flagged Home size missing, so you can fix the size. If the home's size is in a different unit from the rule, it's converted first.
Two or more people on one line
The setting Two people on one order decides how a line is shared:
- Split each line evenly. Each line is split evenly among the people who earn on it. Someone with no rule on that line, such as an hourly helper, doesn't take a share. If the cents don't split evenly, each leftover cent goes to one person, starting with the first person listed on the Order. So with 2 cents left over, the first two people each get one extra cent.
- Each earns the full rate. Everyone gets the full amount of their own rule.
You can also set shares by hand on one Order. Each person then earns their own rule times their share, and the shares must add up to 100%. If the people on the Order change, the hand-set shares stop applying.
On one Order you can also set an amount by hand for a person's line. It replaces what the rule pays and stays until you reset it. If the rule later works out a different amount, the line is flagged Rule changed.
How to set shares or an amount by hand is in Adjust pay on one Order.
Discounts and refunds
Two settings decide whether money taken off the price comes off pay too:
- Discounts reduce pay. Bundle savings come off the services in the bundle. A coupon is shared across every line, in proportion to each line's price. Discounts are not spread on Orders whose lines were rebuilt from totals (marked Estimated).
- Refunds reduce pay. A partial refund is shared across the lines like a coupon. A full refund makes the whole Order pay 0, flat rules included.
Both are on by default. A cancelled or deleted Order always pays 0 while its pay is still open.
Third-party costs
A third-party cost is money paid to someone else for a line, such as a supplier's fee. A cost on a line comes off that line before a percent is worked out. A cost that isn't on any line only shows in the profit figures. To add a cost to one Order, see Adjust pay on one Order.
You can give an add-on a default cost per unit. It fills in on every Order with that add-on, and stays editable on the Order. If the number of units goes down, the extra costs stop counting. See Set up pay rules.
When pay counts
Pay for an Order counts toward a run once the Order is Completed, or Completed and paid, depending on your setting. Until then it shows as waiting. Orders dated before Track pay from earn nothing.
An open run takes every earning that counts and is dated on or before the run's last day. So an Order that didn't count in its own period rolls into the next run. After you reopen a run, two runs can be open at once. Each earning then goes to the earliest open run that ends on or after its service date.
Pay updates on its own until the run closes
Pay is recalculated on its own while it's open. A change to the Order, to a rule or to a setting updates it. While that is happening, the amounts show as updating for a moment.
Closing a run locks its pay. Rule changes never reach a closed run, even a rule with an earlier start date. A locked earning keeps the rule versions it was locked with.
So what happens when an Order in a closed run changes later? The closed pay stays as it was, because people may already be paid. The difference shows up in the open run as a proposed adjustment, and you decide whether to pay it. See Run payroll.
What "Closed with warnings" means
Some things on a run need a look before you close it, such as a line with no pay rule or a missing home size. Closing is never blocked by them. If any are left, closing asks you to confirm once. A run closed that way shows Closed with warnings in its past runs, with each kind of check and how many were left. Reopening the run clears the warning, and the next close writes it again.