An extension is signed at $74 an hour. The ATS placement is updated. The timesheet system still has $71, because someone had to key it twice and it was a Friday. Nobody notices until the client questions an invoice, or until a contractor notices a pay stub.
This is rate drift. It is small per hour and large across a quarter, and it is a good job for an agent because the check is arithmetic. The agent finds the mismatch. A person decides which number is right.
What you are comparing
A rate lives in at least three places: the signed extension or PO, the placement record in the ATS, and the rate on the timesheet or payroll side. Drift is any disagreement between them for the same contractor and the same dates.
Build one table the agent owns, filled by read-only pulls from each system:
CREATE TABLE rate_snapshot (
contractor_id text NOT NULL, -- from your identity table
assignment_id text NOT NULL,
source text NOT NULL, -- 'ats' | 'timesheet' | 'payroll' | 'contract'
bill_rate numeric(8,2),
pay_rate numeric(8,2),
effective_from date NOT NULL,
effective_to date,
pulled_at timestamptz NOT NULL,
PRIMARY KEY (assignment_id, source, effective_from, pulled_at)
);
If you do not yet have a single contractor identifier across systems, build that first. Nothing below works without it.
The comparison
Take the latest pull per source, then flag assignments where the sources disagree on today's rate.
WITH latest AS (
SELECT DISTINCT ON (assignment_id, source)
assignment_id, contractor_id, source, bill_rate, pay_rate
FROM rate_snapshot
WHERE effective_from <= current_date
AND (effective_to IS NULL OR effective_to >= current_date)
ORDER BY assignment_id, source, pulled_at DESC
)
SELECT assignment_id, contractor_id,
min(bill_rate) AS low_bill, max(bill_rate) AS high_bill,
min(pay_rate) AS low_pay, max(pay_rate) AS high_pay
FROM latest
GROUP BY assignment_id, contractor_id
HAVING max(bill_rate) - min(bill_rate) > 0.005
OR max(pay_rate) - min(pay_rate) > 0.005;
The 0.005 tolerance is for rounding, not for judgement. Do not set a tolerance of a dollar because a dollar seems small.
Two extra checks worth the effort
Margin floor. Compute bill minus pay as a percentage of bill. Flag anything under the floor you set per client or per category. A rate that matches everywhere can still be a bad rate.
Effective date gaps. Flag an assignment whose end date has passed in the ATS but still has hours coming in, and one whose extension is in the ATS but has no new rate row. The second is the usual source of drift: the dates were extended and the rate was assumed.
What the agent does with a hit
It writes one row to the daily exceptions list: assignment, contractor, the values by source, the dates, and the system it thinks is stale. It does not edit a rate, anywhere. Rates touch pay and invoices, so a change is made by the person who owns that record, and logged with their name.
Route by owner. Bill rate mismatches go to the account manager or the biller. Pay rate mismatches go to payroll. Margin flags go to whoever signs off rates, usually the owner on a smaller firm.
Timing
Run it the day after any extension is marked won, and again two business days before the pay run closes. The first catches the mistake while the paperwork is on someone's desk. The second is the last cheap moment to fix it.
When it is not worth building
If you have under about 30 contractors on assignment and a single person keys every rate, a monthly spreadsheet check does the same job. Not yet. The agent pays back when rates are keyed by several people into two or more systems, and when extensions are frequent.
Prove it before it runs live
Run it in shadow for two pay cycles and compare its list against the corrections your team actually made. Every miss goes back into the pull logic. Keep the raw snapshots, so that for any flagged assignment you can show what each system said and when you pulled it.
If you want this scoped against your ATS and timesheet stack, a Workflow Assessment will rank it against your other candidates by hours and revenue.