Finance KPI workbooks: where the data comes from, and how to bring them into Job Desk
November 13, 2026. Research only; nothing was built or changed. All API and database probes were read-only: PCR 118 calls (one login, the rest GETs), Rillet 77 GETs, Supabase production schema reads and aggregate counts only.
Inputs analysed:
PCR NetSuite Summary v11.10.2026.xlsx(26 tabs): the weekly finance reconciliation.PCR New Aug 2026.xlsx(24 tabs): the 2026 performance pack (GP, starts, plans, factoring, licensing).
Raw probe evidence (field lists and counts only, no personal data) is in the session scratchpad, not in the repo.
1. Summary
The two workbooks are built by hand every week from four sources:
| Source | What it supplies |
|---|---|
| PCR "Timesheets Combined Reporting" export | One row per contractor per week: hours, pay and bill by earning type, GP, and the attribution fields (recruiter, account manager, source, industry, MSP, business unit, labor category) |
| Rillet invoices | Billed revenue by customer and week. Pulled through the Claude connector |
| NetSuite invoices | The same, before the move to Rillet in mid-2026 |
| Paycom payroll | Gross wages, used for the margin tabs |
Plan figures (quarterly targets, direct hire fees, factoring terms, licence status) are typed in by hand.
What each system can supply:
-
Desk can own the front-office numbers today or with small changes: starts, onboarding conversion, state licensing, plan targets, and placement attribution going forward. It cannot produce worked hours, actual GP or billed revenue on its own.
-
PCR's API has the placements, rates and pipeline. Two blockers stop it from replacing the weekly export:
/timesheetsexists but returns 403: our user has no permission to read Timesheets.- The API does not return placement custom fields, which is where every attribution field lives (recruiter, account manager, source, industry, MSP, business unit and the others).
-
Rillet's API covers everything finance needs:
- invoice lines with hours, business unit and contractor (in free text);
- payments and credit memos;
- factoring through RevenueNOW;
- a monthly income statement, with GP split by business unit.
It has no cost per contractor and no AR aging endpoint, so aging must be computed from invoices.
-
Paycom is only needed for wage cost per person. Rillet already holds payroll cost, summarised by business unit.
Recommendation. Build a finance-only KPI area in Desk on one weekly fact table: contractor × week × customer, holding hours, bill, pay, GP and the attribution fields.
- Phase 1: load that table from a weekly upload of the PCR export Tyler already downloads. This works now and replaces the copy and paste.
- Phase 1, in parallel: extend Desk's existing Rillet sync to invoice lines, payments, credit memos and the business unit P&L. Show "worked vs billed" variance on the same table.
- Later: switch the fact table to the PCR API once a PCR admin grants Timesheets read and PCR support confirms how to read placement custom fields.
- Throughout: Desk becomes the source for starts and attribution as recruiters record placements there.
2. What the workbooks contain
Workbook 1: PCR NetSuite Summary v11.10.2026 (weekly reconciliation)
Its "Data Sources" tab logs every refresh. The recent ones were Claude pulling Rillet invoices through the connector, and appending each week's PCR export to PCR Data.
| Tab | What it shows | Built from |
|---|---|---|
| Invoice Summary | Weekly headcount by employee type (Staffing, Payrollers, 3rd party, Healthcare, Healthcare staffing, PRN). Weekly revenue split Staffing / Perm / Expenses / Healthcare. Average billing per head. PCR billing per customer. Invoice billing per customer. A "Systems Variance" block (PCR vs invoices) | Pivots below, plus NetSuite Invoices / Rillet Invoices typed per customer row |
| Customer Billing Pivot, Employee Billing Pivot, Recruiter Revenue Pivot | Sum of Total Bill by customer, by contractor, by recruiter, per week | PCR Data |
| Employee Hours Pivot, Employee Count by Customer, Hours Count by Customer | Heads with hours > 0 by employee type and by customer, and hours by customer, per week | PCR Data plus the manual Employee Type mapping |
| Hidden: Employee GROSS Cost, Employee Margin (marked "NOT UPDATED"), Paycom GROSS, Paycom Data, Payrollers, Sheet3 | Wage cost and margin per employee from Paycom. A hand-kept payroller list with rates. A Paycom-to-PCR name mapping | Paycom exports |
| Data tabs | PCR Data (2,189 rows; weeks ending Nov 2, 2025 to Nov 8, 2026; 113 contractors; 47 customers; 1.76M GP). Rillet Invoices (one row per invoice line). NetSuite Invoices. Employee Type | Exports and connector pulls |
Workbook 2: PCR New Aug 2026 (2026 performance)
| Tab | What it shows | Built from |
|---|---|---|
| Forecast Comp | Monthly contractor count, plan vs actual, for Staffing and Healthcare. Direct hire (Search) fee plan by person vs actual billing | Typed in |
| Direct Hire Q3, Healthcare Q3, Staffing Q3 (plus hidden Q2 plans) | Monthly start targets per recruiter through Dec 2027 | Typed in |
| Onboarding Conversion | Onboarding spend and headcount, split active vs inactive per month (conversion %) | Typed in |
| Starts by Source, Starts by Recruiter | Count of starts by month started | PCR Data pivots |
| GP by Recruiter, Recruiter Comm, GP by Source 2026 Starts | Sum of GP by month, by recruiter and by source | PCR Data pivots |
| GP per Hr by Industry, GP per Hr by MSP, GP per HR by Customer, Rev by Customer, Avg Bill Rate | GP/hr by industry and labor category. GP and revenue by customer with account manager. Average bill rate | PCR Data pivots |
| Factoring | MSP fees and terms by MSP. A RevenueNOW vs Catalyst factoring comparison | Typed in |
| Healthcare State License 2 | Per state: licence status, dates, costs, reports due | Typed in |
| PCR Data, PCR Remove Duplicates | Same export as workbook 1 (1,409 rows; Jan 4 to Aug 30, 2026), with computed GP, GP%, GP/hr, month started and month worked | Export |
Data-quality problems found while reading them
These matter because Desk would otherwise inherit them.
- Shifted columns in workbook 1. In 1,541 of 2,189
PCR Datarows (weeks ending Nov 2, 2025 to Jul 26, 2026), every column from Account Manager onward sits two columns to the right. The PCR export layout changed around August. As a result, "Industry" holds PCR usernames and "MSP / VMS" sometimes holds numbers.- The tabs in workbook 1 use customer, recruiter and total bill, which are not affected.
- Any industry, source or MSP cut of those older rows is wrong.
- Workbook 2's copy is aligned.
- Some tabs aren't what their names say.
- "Recruiter Comm" shows the same numbers as "GP by Recruiter"; no commission rule is applied.
- "GP per Hr by MSP" actually counts contractors by customer and start month.
- "Avg Bill Rate" is one unweighted average.
- Manual joins on names.
- Paycom to PCR employees go through a hand-kept name list (
Sheet3). - PCR, NetSuite and Rillet customer names differ ("Owens Illinois" vs "200417 Owens Illinois" vs "Owens Illinois (O-I)"). Wildcard
SUMIFSpapers over the differences. - Employee type (STF, PR, 3rd, HC, HS, PRN) is a manual list keyed by contractor name.
- Paycom to PCR employees go through a hand-kept name list (
- Placeholder rows. Row 2190 of
PCR Datawas made up from a Rillet invoice because no PCR timesheet existed for that week. - Typed actuals. Plan-vs-actual headcount is typed in (one cell is
=12+13+2), not counted.
3. Each KPI and where it should come from
Key: Desk = the source is Desk/Supabase. PCR export = the weekly Timesheets Combined Reporting file. PCR API = available now through the API. Rillet = available now through the Rillet API.
| KPI | Source of truth (recommended) | Available today? | Notes |
|---|---|---|---|
| Weekly people working (headcount) by employee type and customer | PCR export (hours > 0), later the PCR API timesheets | Export: yes. API: blocked (403) | Desk assignments has 57 rows against about 290 PCR contract placements, so it can't count heads yet. Employee type needs a field: PCR has "Assignment Type" and "PRN or Travel" as placement custom fields |
| Weekly hours by customer | PCR export, later the PCR API | Export: yes | Rillet invoice lines carry hours as quantity from June 2026, which is a check, not the source |
| Weekly billing (worked) by customer, contractor, recruiter | PCR export (Total Bill) | Export: yes | |
| Weekly / monthly invoiced revenue by customer and business unit | Rillet invoice lines | Yes | Business unit is a line field (Staffing, Healthcare, Perm, Corporate). Contractor and week are parsed from free text on about 69% of non-import lines. A structured service period exists only from mid-July 2026 |
| Worked vs invoiced variance ("Systems Variance") | PCR export joined to Rillet | Yes, once both are loaded | Join on customer and week; needs a customer mapping table |
| Revenue, GP and GP% by business unit, monthly | Rillet income statement, broken down by Business Unit | Yes (Desk syncs it hourly, admins only) | Not shown on any current Desk screen; the finance band went with the legacy Desk |
| GP, GP/hr, GP% by recruiter, source, industry, MSP, customer, labor category | PCR export (GP = bill − pay − burden − stipend) | Export: yes. API: blocked | Desk can estimate spread from assignment rates, but actual GP needs worked hours |
| Recruiter commission | No system has it; a commission rule is needed | No | The tab is GP by recruiter. PCR has Recruiter Split %/Amount custom fields, which the API can't read. The frozen archive pcr.commissions has 63 rows |
| Average bill rate | PCR export (hours-weighted) or Desk assignments.bill_rate | Yes | |
| Starts by month, recruiter and source | Desk going forward. 2026 history from the PCR export or the PCR API | Partly | PCR API placements give start date and owner. Candidate source is readable as a candidate custom field (filled on 393,849 of 394,819 candidates). Desk has 105 placed events in 2026, but only 13 carry a Desk staff id |
| Direct hire fees vs plan | Rillet (Perm Placement revenue, account 421000) for actuals | Yes | PCR PlacementFee is filled on 9 of 40 perm placements |
| Onboarding conversion (offers → onboarding → starts) | Desk pipeline_events | Yes | The Reports funnel already computes stage reach. The spreadsheet's "$ spent" on onboarding isn't in any system; it's probably background checks and screenings, held in Rillet bills or a vendor portal |
| Plan / forecast (quarterly starts per recruiter, contractor count, direct hire fee targets) | Desk (a new plan table) | No | staff_goals and desk_fee_goals exist but are weekly, per person and empty |
| Healthcare state licenses | Desk Settings (org_settings.licensed_states) | Partly | Costs, renewal and report-due dates aren't modelled |
| Factoring (factored volume, fees, MSP fees) | Rillet | Yes | Factored invoices are closed by credit memos to 125150 "Due from RevenueNOW": 253 invoices, $586k, Aug 3 to Nov 2. Fees are in account 681011. MSP fee percentages live on Desk programs |
| Cash, DSO, AR aging (L10 scorecard) | Rillet | Yes | No aging endpoint, so compute from invoices and payments. CREDITED ≠ void: 253 of 357 credited invoices are factored, earned revenue |
| Wage cost and burden per employee | Paycom (not investigated) | No | Rillet has summarised payroll journals by business unit only. PCR has BurdenRate, filled on 61 of 382 placements |
4. Findings by system
Job Desk and Supabase
-
Orders, pipeline and activity.
roles(98,175 orders) andpipeline/pipeline_eventsare copies of PCR, synced hourly, plus Desk-native records.- Offer, onboarding and placed stages exist. In 2026: 92 offer made, 127 offer accepted, 41 onboarding started, 55 onboarding completed, 105 placed.
-
assignments(On assignment). It already has every field the KPIs need: start/end, bill/pay/OT/holiday rates, stipend, hours per week, MSP, placement type, recruiter, account manager, order sourcer, start owner and candidate source. But it holds only 57 rows, and the attribution columns are almost empty:- recruiter is set on 6 of the 55 PCR rows;
- account manager, sourcer and source are set on none.
The PCR rows come from a one-off script (
apps/pcr-sync/scripts/import-placements.ts) with no schedule, and its field list (apps/pcr-sync/src/placements/map.ts:23) reads no custom fields. -
Finance.
finance_months,finance_month_linesandfinance_receivablesare synced hourly from Rillet: monthly P&L lines and open invoice headers, admins only. No screen uses them today. Invoice lines were deliberately not stored (decision D5 indocs/plans/active/desk-finance/) because they contain candidate names and pay. -
Frozen PCR archive (
pcr.*). One-time SQL export, ending with week ending Aug 30, 2026. It hastimesheets(2,232),hours_records(15,624),commissions(63), andsendout_fieldsholding the placement custom fields. That export path is the one that delivered timesheets and custom fields before; it isn't refreshed. -
Risks.
- Two definitions of "start": pipeline
placedandassignmentsmatch on only 43 rows. - 35 of 52 active assignments sit on orders whose division is direct hire, although most are contract.
- The PCR bridge's runs in the last 7 days were mostly partial; the last fully successful run was Nov 9.
deal_sheets(Calculator) has 0 production rows.
- Two definitions of "start": pipeline
PCRecruiter API
- Readable.
- Placements via
/PipelinePlacements. It returns all 13,774 pipeline rows; filter on placement type, which gives 382, 286 of them starting in 2026. - Placement fields: rates (bill/pay, OT, holiday, double time, on call), burden, PO number, approver list, start/end, fee, estimated revenue/cost/profit, owner (
UserName). - Positions with custom fields (MSP Name 94,548; Vendor; Business Unit, sparse).
- Candidates with custom fields: Source; License and Licensed States on about 65k.
- Companies, users (38 active), activities, pipeline steps, rollup lists.
- Placements via
- Blocked or missing.
/timesheetsreturns 403 ("SSEDBERRY does not have permission to READ Timesheets"). The endpoint isn't in the published docs, so its fields are unknown until access is granted.- Placement custom fields: 48 are defined, including Business Unit, Industry, MSP / VMS, Labor Category, Candidate Source, Assignment Type, Account Manager, Recruiter (if not AM), Recruiter2, Recruiter Split, Stipend, the four sourcer/manager fields, Customer Internal ID and Rillet #. None can be read by any request form we tried.
- No invoices, expenses, commissions or reports endpoints.
- Data gaps even where readable.
- Rates on 145 of 382 placements, end date on 160, burden on 61, fee on 9.
- Placement type and current type disagree (149 vs 292 contract).
- Limits. No 429s were seen.
ResultsPerPage=500, and filtering on LastModified/StartDate works. A nightly incremental sync fits the free tier's 5,000 calls/day easily. The vendor terms still require written approval for sync.
Rillet API
- Invoices. 1,568 invoices, 1,805 lines, 48 customers.
- Statuses: PAID 995, CREDITED 357, UNPAID 203, PARTIALLY_PAID 12, UNBILLED 1.
- Line fields:
quantity(hours),total_amount, product (earning type per business unit), revenue account, Business Unit field (1,804 of 1,805), andrevenue.period(a real week only from mid-July 2026). gross_rateis usually the line total, not the rate; usetotal_amount / quantity.- 560 invoices are NetSuite "Open AR Import" balances with no detail. Weekly invoicing in Rillet starts around April–June 2026.
- Payments, credit memos, bills and vendors.
- Last paid date is derived from
/invoice-payments. - Factoring is reconstructable from credit memo applications.
- Paycom W-2 payroll does not flow through bills; only summary journals.
- Last paid date is derived from
- Reports.
- The income statement broken down by Business Unit works, with GP in
summaries. - Balance sheet, trial balance, cash flow and journal entries are available.
- There is no AR aging endpoint.
- The last closed period is October 2026 (closed Nov 12).
- The income statement broken down by Business Unit works, with GP in
- Limits. 60 requests a minute.
/invoiceshas no date filter; useupdated.gtfor incremental pulls.
5. Recommendations
Phase 1: get the workbooks out of Excel (no vendor dependency)
-
Weekly timesheet upload in Desk. A finance-only page where Tyler drops the "Timesheets Combined Reporting" export.
- Desk parses it by header name, not column position, which removes the shift problem.
- It upserts one row per contractor × customer × period ending into a new
finance_timesheet_weekstable (hours, pay and bill by earning type, burden, stipend, GP, and every attribution column). - It records the import in a run log, the way the Data Sources tab does now.
- Back-fill it from the aligned
PCR Datatab and the archive'spcr.timesheets.
-
Extend the Rillet sync. Add invoice lines (business unit, product/earning type, account, quantity, amount, service period), invoice payments and credit memo applications. Contractor and week come from the parsed description where the structured period is missing; flag each line as structured or parsed.
-
Mapping tables kept in Desk.
- Customer: PCR company ↔ Rillet customer ↔ Desk organization.
- Employee type per placement.
- Contractor: PCR candidate ↔ Rillet name ↔ Paycom EE code, once Paycom is in scope.
These replace
Employee Type,Sheet3and the wildcard SUMIFS. -
A finance KPI view in Reports (admin/finance role only). The tabs in sections 2 and 3, computed in SQL from the tables above:
- weekly headcount, hours, billing and GP by customer, recruiter, source, industry, MSP and business unit;
- worked vs invoiced variance;
- monthly P&L by business unit;
- AR aging and DSO;
- factoring.
-
Plan targets table. Monthly targets per person and division (starts, contractor count, direct hire fees), entered in Desk, replacing the Q2/Q3 plan tabs and Forecast Comp.
Phase 2: automate the PCR side
-
Ask PCR.
- A PCR admin grants Timesheets READ to a dedicated API user (better than a personal login).
- PCR support confirms how API v2 exposes placement custom fields. One lead: the webhook record type "sendout fields".
- The written sync approval the vendor terms require.
If either answer is no, ask PCR for a scheduled delivery of the Timesheets Combined Reporting file or a database export like the one behind
pcr.*. -
Schedule the placement import. Add estimated revenue/cost/profit (and custom fields if unlocked), and fill
assignmentsattribution from them. This is what makes Desk's On assignment headcount trustworthy.
Phase 3: Desk becomes the source for front-office numbers
- Starts and attribution. Recruiters record placements in Desk with recruiter, account manager, sourcer and candidate source. Starts by recruiter and by source, and onboarding conversion, then come from Desk. Reconcile the two definitions of "start" first (pipeline
placedvsassignments). - Paycom, only if per-person wage cost is still wanted after the PCR burden and the Rillet business unit cost of goods sold are available. Paycom wasn't investigated.
6. Decisions needed
- Who can see contractor-level pay and bill in Desk. Recommendation: finance/admin only, as the Rillet band is now. Storing Rillet invoice lines reverses decision D5.
- Which number is "revenue". Worked (PCR timesheets) or invoiced (Rillet)? Recommendation: show both, with variance; the board figure is Rillet.
- One definition of a start, and the employee type list (Staffing W2, Payroller, 3rd party, Healthcare, Healthcare staffing, PRN, Travel).
- A commission rule, if "Recruiter Comm" should be more than GP by recruiter.
- Whether to accept the weekly upload as phase 1 while PCR access is sorted out.
- Security housekeeping. The PCR password was pasted into a chat again (as on Oct 7); rotate it, and move API access to a dedicated PCR user.
Appendix: PCR export columns and where else each can come from
| Export column(s) | PCR API | Rillet | Desk |
|---|---|---|---|
| Customer Name, Assignment Name | Placement → company, position title | Customer, line product | Organization, order title |
| Customer Internal ID, Business Unit, Assignment Type, Industry, MSP / VMS, Labor Category, Candidate Source (placement) | Placement custom fields: blocked | Business Unit on each line | MSP on assignments/programs; the rest are missing columns |
| Period Ending, all hours and amounts, Total Hours/Pay/Bill, Approved | Timesheets: 403 | Line quantity and amount (billed side only) | None |
| Pay and bill rates (std, OT, holiday, double time, on call) | Placement rates (145 of 382 filled) | Derived from amount ÷ quantity | assignments rates |
| Burden Rate | BurdenRate (61 of 382) | None | None |
| Gross Profit, GP/hr, GP% | Estimates only | None | Spread estimate |
| Start Date, End Date | Placement | None | assignments |
| Recruiter, Recruiter2, Account Manager, Order/Candidate Sourcer/Manager | Custom fields: blocked. UserName = record owner | None | Columns exist, mostly empty |
| Placed By, Approver List, PO Number | UserName?, ApproveList, PONumber | PO number on invoice | None |
| Stipend Hourly, Stipend Notes | Custom fields: blocked | None | assignments stipend |