8. A staffing agency
An agency employs workers and places them with clients. It pays each worker every week. It invoices each client for the hours worked there. The rates differ, and so do the overtime rules, often. Time and Attendance works the same hours out twice, once for pay and once for billing. So payroll and invoices come from the same punches.
| Who | Connect | Time and Attendance |
|---|---|---|
| The agency | The tenant. It owns the clocks at client sites, with one endpoint for each site. | The tenant, and the employer of its workers |
| Each client and its sites | Endpoints, or device labels | Organizations in a hierarchy of clients |
| A placement | Nothing | An assignment of the worker. It holds the client and site, the first and last day, the pay rate and the bill rate. |
| A worker | One person, enrolled once | One employee |
| A client’s supervisor | Nothing | The approval stage for that client’s placements. Your app decides who that is. |
How the hours are worked out
Section titled “How the hours are worked out”- A placement is an assignment. If one placement is active on a day, the day’s work goes on it. If two are active, the work code entered at the clock says which one. With no code, the shift becomes an exception for someone to settle.
- Pay and bill are two sides. Each side has its own timecard from the same punches. Each has its own rules, rates, approvals and export. The agency can pay overtime past 40 hours a week while a contract bills it past 8 hours a day. See pay and bill.
- Money is worked out once. The worker’s pay is each category’s hours at the placement’s pay rate. The engine works it out once for the period, not line by line. Three days of 7 hours 20 minutes at 20.00 come to 440.00, not three times 146.66. If a raise starts on Wednesday, each day is paid at its own rate.
- Each client approves its own hours. The bill side is approved placement by placement. A worker placed with two clients in one week has two approvals. A missed punch on one client’s day holds back only that client’s hours. See approvals.
- Gaps become exceptions. Work outside every placement is an exception on the timecard before anyone exports. So is a placement with no pay rate. An invoice stops and names work that has no client or no bill rate. It does not write a guess.
Payroll and invoices
Section titled “Payroll and invoices”The payroll export writes the pay side. It has one line for each earning code, with its hours and money.
The invoice writes the bill side. It has one line for each client, worker and category, with the hours at their bill rates. An invoice can take approved hours only. So one client can be invoiced while another’s approval waits. See payroll export.
The staffing agency recipe sets all of this up. Its worked examples prove each point.
The agency’s contracts and the law where the work is done decide two things. One is who pays overtime earned across two clients. The other is whether that overtime may be billed to the client where it fell. Check with counsel where you operate.