MDX Limo
Finance KPI workbooks: where the data comes from, and how to bring them into Job Desk

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:

SourceWhat it supplies
PCR "Timesheets Combined Reporting" exportOne 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 invoicesBilled revenue by customer and week. Pulled through the Claude connector
NetSuite invoicesThe same, before the move to Rillet in mid-2026
Paycom payrollGross 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:

    1. /timesheets exists but returns 403: our user has no permission to read Timesheets.
    2. 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.

TabWhat it showsBuilt from
Invoice SummaryWeekly 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 PivotSum of Total Bill by customer, by contractor, by recruiter, per weekPCR Data
Employee Hours Pivot, Employee Count by Customer, Hours Count by CustomerHeads with hours > 0 by employee type and by customer, and hours by customer, per weekPCR Data plus the manual Employee Type mapping
Hidden: Employee GROSS Cost, Employee Margin (marked "NOT UPDATED"), Paycom GROSS, Paycom Data, Payrollers, Sheet3Wage cost and margin per employee from Paycom. A hand-kept payroller list with rates. A Paycom-to-PCR name mappingPaycom exports
Data tabsPCR Data (2,189 rows; weeks ending Nov 2, 2025 to Nov 8, 2026; 113 contractors; 47 customers; 5.44Mbilled;5.44M billed; 1.76M GP). Rillet Invoices (one row per invoice line). NetSuite Invoices. Employee TypeExports and connector pulls

Workbook 2: PCR New Aug 2026 (2026 performance)

TabWhat it showsBuilt from
Forecast CompMonthly contractor count, plan vs actual, for Staffing and Healthcare. Direct hire (Search) fee plan by person vs actual billingTyped in
Direct Hire Q3, Healthcare Q3, Staffing Q3 (plus hidden Q2 plans)Monthly start targets per recruiter through Dec 2027Typed in
Onboarding ConversionOnboarding spend and headcount, split active vs inactive per month (conversion %)Typed in
Starts by Source, Starts by RecruiterCount of starts by month startedPCR Data pivots
GP by Recruiter, Recruiter Comm, GP by Source 2026 StartsSum of GP by month, by recruiter and by sourcePCR Data pivots
GP per Hr by Industry, GP per Hr by MSP, GP per HR by Customer, Rev by Customer, Avg Bill RateGP/hr by industry and labor category. GP and revenue by customer with account manager. Average bill ratePCR Data pivots
FactoringMSP fees and terms by MSP. A RevenueNOW vs Catalyst factoring comparisonTyped in
Healthcare State License 2Per state: licence status, dates, costs, reports dueTyped in
PCR Data, PCR Remove DuplicatesSame export as workbook 1 (1,409 rows; Jan 4 to Aug 30, 2026), with computed GP, GP%, GP/hr, month started and month workedExport

Data-quality problems found while reading them

These matter because Desk would otherwise inherit them.

  1. Shifted columns in workbook 1. In 1,541 of 2,189 PCR Data rows (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.
  2. 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.
  3. 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 SUMIFS papers over the differences.
    • Employee type (STF, PR, 3rd, HC, HS, PRN) is a manual list keyed by contractor name.
  4. Placeholder rows. Row 2190 of PCR Data was made up from a Rillet invoice because no PCR timesheet existed for that week.
  5. 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.

KPISource of truth (recommended)Available today?Notes
Weekly people working (headcount) by employee type and customerPCR export (hours > 0), later the PCR API timesheetsExport: 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 customerPCR export, later the PCR APIExport: yesRillet invoice lines carry hours as quantity from June 2026, which is a check, not the source
Weekly billing (worked) by customer, contractor, recruiterPCR export (Total Bill)Export: yes
Weekly / monthly invoiced revenue by customer and business unitRillet invoice linesYesBusiness 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 RilletYes, once both are loadedJoin on customer and week; needs a customer mapping table
Revenue, GP and GP% by business unit, monthlyRillet income statement, broken down by Business UnitYes (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 categoryPCR export (GP = bill − pay − burden − stipend)Export: yes. API: blockedDesk can estimate spread from assignment rates, but actual GP needs worked hours
Recruiter commissionNo system has it; a commission rule is neededNoThe 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 ratePCR export (hours-weighted) or Desk assignments.bill_rateYes
Starts by month, recruiter and sourceDesk going forward. 2026 history from the PCR export or the PCR APIPartlyPCR 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 planRillet (Perm Placement revenue, account 421000) for actualsYesPCR PlacementFee is filled on 9 of 40 perm placements
Onboarding conversion (offers → onboarding → starts)Desk pipeline_eventsYesThe 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)Nostaff_goals and desk_fee_goals exist but are weekly, per person and empty
Healthcare state licensesDesk Settings (org_settings.licensed_states)PartlyCosts, renewal and report-due dates aren't modelled
Factoring (factored volume, fees, MSP fees)RilletYesFactored 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)RilletYesNo aging endpoint, so compute from invoices and payments. CREDITED ≠ void: 253 of 357 credited invoices are factored, earned revenue
Wage cost and burden per employeePaycom (not investigated)NoRillet 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) and pipeline / pipeline_events are 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_lines and finance_receivables are 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 in docs/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 has timesheets (2,232), hours_records (15,624), commissions (63), and sendout_fields holding 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 placed and assignments match 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.

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.
  • Blocked or missing.
    • /timesheets returns 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), and revenue.period (a real week only from mid-July 2026).
    • gross_rate is usually the line total, not the rate; use total_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.
  • 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).
  • Limits. 60 requests a minute. /invoices has no date filter; use updated.gt for incremental pulls.

5. Recommendations

Phase 1: get the workbooks out of Excel (no vendor dependency)

  1. 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_weeks table (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 Data tab and the archive's pcr.timesheets.
  2. 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.

  3. 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, Sheet3 and the wildcard SUMIFS.

  4. 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.
  5. 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

  1. 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.*.

  2. Schedule the placement import. Add estimated revenue/cost/profit (and custom fields if unlocked), and fill assignments attribution from them. This is what makes Desk's On assignment headcount trustworthy.

Phase 3: Desk becomes the source for front-office numbers

  1. 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 placed vs assignments).
  2. 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

  1. 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.
  2. Which number is "revenue". Worked (PCR timesheets) or invoiced (Rillet)? Recommendation: show both, with variance; the board figure is Rillet.
  3. One definition of a start, and the employee type list (Staffing W2, Payroller, 3rd party, Healthcare, Healthcare staffing, PRN, Travel).
  4. A commission rule, if "Recruiter Comm" should be more than GP by recruiter.
  5. Whether to accept the weekly upload as phase 1 while PCR access is sorted out.
  6. 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 APIRilletDesk
Customer Name, Assignment NamePlacement → company, position titleCustomer, line productOrganization, order title
Customer Internal ID, Business Unit, Assignment Type, Industry, MSP / VMS, Labor Category, Candidate Source (placement)Placement custom fields: blockedBusiness Unit on each lineMSP on assignments/programs; the rest are missing columns
Period Ending, all hours and amounts, Total Hours/Pay/Bill, ApprovedTimesheets: 403Line 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 ÷ quantityassignments rates
Burden RateBurdenRate (61 of 382)NoneNone
Gross Profit, GP/hr, GP%Estimates onlyNoneSpread estimate
Start Date, End DatePlacementNoneassignments
Recruiter, Recruiter2, Account Manager, Order/Candidate Sourcer/ManagerCustom fields: blocked. UserName = record ownerNoneColumns exist, mostly empty
Placed By, Approver List, PO NumberUserName?, ApproveList, PONumberPO number on invoiceNone
Stipend Hourly, Stipend NotesCustom fields: blockedNoneassignments stipend
Finance KPI workbooks: where the data comes from, and how to bring them into Job Desk | MDX Limo