Sample XPM Visuals (Demo Company & Data)
Please view on desktop - not optimised for mobile

Sample XPM visuals

Your practice, drawn by Claude from XPM data

Ten visualisations, a film, a five-tab practice dashboard and a working timesheet tool, each built by Claude from one prompt, using Xero Practice Manager data through LogicGlue. Open any of them, explore it live, and take the prompt to run on your own practice.

Demo company and data
The Practice in Sixty Seconds, the film. Silent, sixty seconds, built from the same data as the live page. View its prompt.

How these were built

Nobody hand-coded these. Each one is the output of a single prompt run in Claude with LogicGlue connected to XPM. Most of the prompts open with the same rules, shown here once: what the XPM API cannot support and must never be invented, how totals are reconciled, and the visual system the library shares.

Show the shared rules
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Already included at the top of each visual's prompt. The dashboard and timesheet prompts carry their own rules.

  1. Connect XPM to Claude through LogicGlue.
  2. Open a visual above and copy its prompt.
  3. Run it in Claude. The result is one self-contained HTML file built from your own practice's data.

Build these on your own XPM data

Everything on this page uses a demo company. Yours will say something different.

01

The Practice in Sixty Seconds

← Previous Next → Open full screen ↗ Close ×
Overview

The whole practice in five stops of twelve seconds: what you are running, work done but not billed, money owed, who is actually holding the work, and whether the numbers can be trusted. Written for the owner rather than the practitioner, so every heading is plain English and no figure needs a legend explained before it means something.

Reads well when you want the state of the business before the week starts, or you are showing a partner, a bank or a buyer what the practice looks like in one page.

XPMOwner viewJobsWIPInvoicesOverview
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build "The Practice in Sixty Seconds" from live Xero Practice Manager data.
Single self-contained HTML file, inline SVG.

AUDIENCE
The practice owner, not the practitioner. Assume they have sixty seconds, no
appetite for jargon, and no interest in method until a number surprises them.
Plain-English headings. No chart whose legend has to be read first. This is the
front door to the library; the analytical pages are the detail behind it.

PULL
  xpm_get_jobs (status=current, limit=500) and (overdue=true) - use the server's
    own counts verbatim, never a length of your own filtering
  xpm_get_staff (active=true)
  xpm_get_clients (status=active, limit=500) and again with
    withoutJobSince=<12mo ago> for the dormant count
  xpm_get_invoices (overdue=true, limit=500) and (status=all, 12mo range)
  xpm_get_time (billable=true, unbilledOnly=true, jobStatus=in_progress,
    limit=1000) - this will exceed the tool output limit, so let it write to
    file and parse it with a script rather than reading it into context
  get_xpm_job_tasks_filtered (complete=false) plus xpm_get_job_tasks on the
    jobs holding open work, for how much of it has nobody's name on it
  xpm_get_time (last 12 months) for the recording-quality strip

DERIVE
Five claims, one per movement, each carrying one figure a person could repeat
from memory:
  1. What you are running - staff, clients, live jobs, how many overdue and
     how many with nobody assigned.
  2. Work done but not billed - unbilled hours on live jobs, split by age, with
     the share older than 60 days called out.
  3. Money owed - outstanding total and invoice count, ranked by client, with
     the not-yet-due amount shown even when it is zero.
  4. Who holds the work - open tasks with a named owner against open tasks
     without one, and whether the unowned share is worse on overdue jobs.
  5. Whether the numbers can be trusted - weeks in the last year with no time
     recorded at all, the date of the most recent entry, and any workflow state
     that is implausibly empty.
Reconcile every total against XPM's own before drawing: paid + outstanding =
invoiced, the age buckets sum to the unbilled total, the tile count equals the
job count.

BUILD
Five movements at 0:00, 0:12, 0:24, 0:36 and 0:48. The timings are a reading
budget, not decoration - if a movement cannot be understood in twelve seconds
it is carrying too much. Then two closing sections: "Monday morning", exactly
three actions naming the job, the client and the amount; and "What this snapshot
cannot tell you".

One figure per movement, and let the geometry carry the claim:
  jobs        one tile per live job, an accent edge for past due, a dashed
              outline for nobody assigned - the field itself shows the scale
  unbilled    a stacked age bar with a rule at 60 days
  money       a ranked bar by client, with an empty dashed "not yet due" track
              kept at the top so a zero is visible rather than absent
  ownership   a dot grid, filled for owned and dashed for unowned
  recording   a 52-cell week strip, blanks left blank

Do not draw the money section as a due-date timeline. Invoices in a practice
this size cluster on a handful of dates, the marks and their labels collide, and
no lane algorithm rescues it. The ranked bar states the same argument without
the collisions.

"What this snapshot cannot tell you" is a section of the page, not a footnote.
For this audience, naming what the data cannot support - utilisation, the dollar
value of unbilled work, write-offs, job profit, the time-versus-disbursement
split - is part of the credibility, not a disclaimer to be buried.

Light palette only, pinned. Under 720px let each figure scroll horizontally
inside its own container at a sensible minimum width rather than shrinking its
labels into illegibility.

Every figure on the page is generated from the pulled payload. Nothing is
hand-typed into the markup, so a re-pull is a rebuild rather than an edit.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

Also a film. The same five stops as a silent sixty-second film.

02

The Practice in Sixty Seconds - the film

← Previous Next → Open full screen ↗ Close ×
Overview

The same five stops as the page, rendered as a sixty-second silent film: tiles staggering in, counters climbing to the real totals, the ageing bands growing, the unowned tasks appearing as dashes. A progress rail and a running clock sit on every frame, so the sixty-second budget is visible the whole way through. Built from the same payload as the page, so there is no second source of truth.

Reads well when the audience will not click anything - a website hero, a reception screen, a conference loop, or the opening ninety seconds of a pitch.

XPMOwner viewVideoMP4Silent60s
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build a sixty-second silent film of "The Practice in Sixty Seconds" from the
same payload that built the page. 1920x1080, 30 fps, H.264 / yuv420p, no audio.
Do not re-pull or re-derive the figures: one payload feeds both the page and the
film, or they will drift apart.

THE METHOD THAT MAKES THIS REPRODUCIBLE
Emit a single stage page with every scene absolutely positioned and one
render(t) function. Every opacity, width, transform and counter value is
computed from t alone - no CSS transitions, no CSS animations, no
requestAnimationFrame state. The renderer can then ask for any frame in any
order and get identical pixels, and a re-render after an edit is reproducible
rather than close enough.

Two traps that cost real time:
  - Give the page a playback loop for previewing, but load it as ?t=0 when
    rendering. Otherwise the loop keeps overwriting the frame the renderer just
    set and every screenshot comes back at the same fraction of a second.
  - Wait on document.fonts.ready before the first screenshot, and inline the
    fonts as base64 data URIs rather than fetching them at render time - the
    render container's egress usually blocks font CDNs, and the whole film
    silently renders in a fallback face. The npm registry is normally reachable
    even when the CDNs are not, so pack the font packages and embed the woff2.

TIMELINE - 60.0 s, roughly 0.55 s cross-fades
  0.0-5.6    opening: kicker, two title lines rising, a hairline drawing across,
             standfirst
  5.6-15.6   what you are running: one tile per live job staggering in, then the
             overdue edges bleeding to the accent colour, then the unstaffed
             going dashed
  15.6-26.2  work done, not billed: a counter climbing to the unbilled total,
             four age bands growing in sequence, the 60-day rule landing last
  26.2-37.2  money owed: a counter to the outstanding total, the empty
             "not yet due" track drawn first, then the invoice bars top-down
  37.2-46.6  who is holding the work: owned dots pop in, then the unowned dashed
             ones, then the percentage counter
  46.6-54.6  how far to trust this: the 52-week strip sweeps left to right, a
             bracket draws under the longest blackout
  54.6-60.0  monday morning: three action cards rise, source line fades

Animate meaning, not decoration. The overdue tile edge animates its colour, not
its border width - animating the width makes the edge look detached from the
tile it belongs to. Position the blackout bracket in script from the blank
cells' own offsetLeft rather than a hardcoded percentage, which will be wrong by
a few cells. Give the debtor rows a real grid at width 100% rather than a fixed
pixel width, or the dollar column clips.

RENDER AND ENCODE
Screenshot frames headlessly at 30 fps into a numbered sequence, in batches of
about 600 so a single call stays inside the tool timeout, then encode with
ffmpeg at crf 19, preset slow, +faststart. Delete the frame directory
afterwards - a minute of 1080p JPEG frames is well over a hundred megabytes.
Verify the result with ffprobe, and by extracting a frame back out of the
encoded file rather than trusting the frames you fed in.

Keep the same palette, type and restraint as the page. No audio, no captions, no
lower-thirds. Write the scene copy so it could be read aloud at about 150 words
if a voiceover is ever added.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

03

Practice Operations Map

← Previous Next → Open full screen ↗ Close ×
Overview

The whole practice as a miniature architectural model. Clients, fee earners, engagements, unbilled WIP, receivables and collections laid out as six districts on an isometric grid, with height, occupancy and material encoding real figures. Building the map surfaces the things a job list cannot: work with no owner, hours ageing past recoverability, and invoices that all mature on the same morning.

Reads well when you want the shape of the practice in one frame, or you are showing someone outside the firm what the data actually contains.

XPMJobsTimesheetsInvoicesIsometric
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build a "Practice Operations Map" — an interactive isometric visualisation
of an accounting practice, rendered as a white architectural model, from
live Xero Practice Manager data. Single self-contained HTML file, Canvas 2D.

PULL
  xpm_get_staff (active)
  xpm_get_clients (status=active; then withoutJobSince=<12mo ago>, limit=500)
  xpm_get_jobs (status=in_progress → the real WIP set; overdue=true)
  xpm_get_job_tasks on the top jobs by WIP
  get_xpm_job_tasks_filtered (complete=false, due=<today>) for overdue tasks
  xpm_get_invoices (status=all + 12mo range; overdue=true; then
    includePayments=true on every paid invoice)
  xpm_get_time twice — once over 12 months for per-staff aggregation, once
    with billable=true + unbilledOnly=true + jobStatus=in_progress for WIP

DERIVE
WIP ageing (>60d, >90d), days idle per job, value-weighted days-to-pay,
estimate vs actual per task, unassigned jobs, retired-staff job managers,
dormant clients still carrying receivables, invoice maturity clustering.

BUILD
Six districts on one isometric grid, left to right: Clients → Capacity →
Engagements → Unbilled WIP → Receivables → Collections.
  height        jobs: unbilled hours · staff: hours recorded ·
                invoices: outstanding · clients: live job count
  bronze base   share of a job's WIP older than 60 days (show above ~25%)
  lit floors    billable share of hours RECORDED — label it as such
  wireframe     in-progress job with no staff assigned
  amber marker  one unit of height per exception
  particles     teal = time and work, gold = money; density follows volume

INTERACTION — visuals dominate, text on demand.
At rest: no building labels. Six district plaques only, each carrying its
own real figure, drawn last with a ground-coloured halo. Five aggregate
corridors show the pipeline; no record-level lines at rest.
On hover: that structure's name appears above it.
On select: camera eases to it and the map swaps to that record's own edges.

PANELS
Right rail "What needs attention today": findings ranked by money and
deadline at risk, two lines each. Click expands to the full narrative plus
source calls and flies the map there. Per-record explainer: what it is ·
current metrics · why it matters · underlying relationships · recommended
action · source records. Legend collapsed by default, explaining every
encoding and every deliberate absence.

Prose in the panels should read like a practice principal wrote it —
specific, unhedged, naming the job and the number.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

Overview

Sample visual, not connected to live data. One page with five tabs, all computed from a single pull of XPM. Dashboard: a filter bar driving KPI tiles, hours by week, a staff leaderboard, the job pipeline, overdue jobs, revenue, quotes and work in progress. Bench Depth: who has actually done which work. Future: the year of due dates ahead as a mountain range. 3D: unbilled time as a glacier, aged by band. Timesheet: last week checked, with what to fix. Where XPM cannot supply a figure, the page says so rather than estimating.

Reads well when you want one place to open on Monday: filter to a period, a person or a client, then follow the number that looks wrong into the tab that explains it.

XPMTimeJobsInvoicesQuotesStaffSample data
Show prompt
Build me an "XPM Practice Dashboard" for my accounting practice from Xero Practice Manager (XPM), using my LogicGlue connector. Make it from the Dashboard artifact type if one is available; otherwise one self-contained HTML page. Australian English, AUD, DD/MM/YYYY dates (D Mon in headings).

DATA (pull first, compute in code, never estimate)
- Pull through LogicGlue, as at today, for the last 12 months:
  - staff (active and inactive);
  - clients, with account manager;
  - jobs in every state: number, name, client, state, manager, partner, start, due, completed date, budget, assigned staff, open-task count;
  - every time entry: date, staff, job, task, hours, billable, note, entry ID. If the reply says TRUNCATED, re-pull in smaller date ranges until the count and hours match the reply's own totals;
  - invoices (all statuses): number, type, status, client, job, date, due, inc tax, ex tax, paid, outstanding;
  - quotes and estimates: number, name, type, state, client, date, amount inc tax;
  - open tasks per job and who is allocated to each;
  - XPM's unbilled billable time.
- Save each pull as a data file, one source per file, plus a small "pull details" file with the practice name, as-at date and data window. Every number is computed from these files.
- Staff who logged time but are no longer on the staff list are kept and marked "Former".
- The Dashboard tab reads the files live through its filters. The other four tabs are snapshots computed once from the same pull.
- Never fabricate what XPM doesn't expose: capacity, utilisation, productivity targets, charge-out rates, dollar WIP, write-ons/offs, staff cost, fee-earner flags, skills or roles. Name these as not available rather than estimating.
- Billable share = billable ÷ recorded hours, always labelled as such. It is not XPM's productivity %.
- Keep tool names, endpoints and API details off the page.

PAGE
- Title "XPM Practice Dashboard", with a line beside it: practice name · last refreshed date · data window · AUD.
- Five tabs in a pill switcher: Dashboard, Bench Depth, Future, 3D, Timesheet. The tab is kept in the URL hash.
- The filter bar and summary line show only on the Dashboard tab.

1. DASHBOARD
- Sticky filter bar:
  - Period: This month, Last month (default), This quarter, This FY (Jul–Jun), Last 12 months, Custom from–to;
  - Staff multi-select, defaulting to all active staff, with Former staff in their own group and All active / Everyone / None shortcuts;
  - Clients multi-select with search;
  - Job states multi-select with an "Open only" shortcut;
  - Both / Billable / Non-billable toggle;
  - "Compare to previous period" switch (on by default);
  - Reset.
- One-line summary under the tabs, for example: "September 2026: 1,441.5h recorded (93.8% billable), $X invoiced ex tax across N invoices. Right now 19 of 39 open jobs are past due."
- KPI tiles: Total hours, Billable hours, Billable share, Invoiced revenue (ex tax), Open jobs, Overdue jobs, Avg days to complete, Clients serviced.
  - Deltas vs the same span immediately before: % change for most tiles, points for billable share, days for average days (lower is good). Green or red by direction.
  - Show "— no prior data" when the prior span falls before the pull.
  - Open and overdue jobs are "now" snapshots. The Overdue tile gets a small pulsing red dot when above zero.
  - Each tile has a hover note: what it counts and how many rows.
- A dashed "Not available from XPM" strip, so nobody reads a gap as zero: capacity target/actual, productivity target, revenue per director/fee earner/FTE, WIP and write-on/off in dollars, leave balances.
- Sections (cards), each with a one-line note on how it's measured:
  - Hours by week: stacked billable and non-billable bars, Monday-start weeks, with a "Show" selector for one staff member.
  - Staff leaderboard: hours (with inline bar), billable h, billable share, jobs touched, entries. Sortable.
  - Job pipeline: horizontal bars of jobs by state ("12 · $34K inv."). Completed and Cancelled are muted. The tooltip shows budget set and fees invoiced. Clicking a state filters the All jobs table, with a removable chip.
  - Overdue & at-risk jobs: open jobs past due (red, "Nd overdue") or due within 7 days (amber), with job, client, manager (else partner) and due date.
  - Revenue: stats for invoiced ex tax, top-5 client share, paid (inc tax) and outstanding (inc tax, with how many are past due); a monthly line chart; top 10 clients as bars. Draft and cancelled invoices are excluded. Not affected by the staff filter.
  - Quotes: by quote date. Stats for count, conversion (accepted ÷ all), accepted value and declined; bars by state.
  - Work in progress: billable hours in the period on jobs with no invoice raised (excluding cancelled and internal jobs). Hours only. Bars by client.
  - All jobs: search box, sortable table (job, name, client, state, manager, start, due, completed, days late, period hours, billable h, invoiced, open tasks, budget), job count, Export CSV of the visible rows.
  - Definitions.
- Every chart has hover tooltips kept inside the page.

2. BENCH DEPTH — "Who has actually done the work"
- Opening note: XPM has no skills, roles or service-line fields, so this is built from evidence of work done.
- Stat strip: hours and entries, number of work types, active staff with time, work types served by exactly one person, unclassified hours and their %.
- Work types are clustered from the practice's own task names, for example Bookkeeping, SMSF, Income tax, Advisory, Year-end accounts, Payroll, BAS & IAS, R&D, ATO liaison, Company secretarial, FBT.
  - Generic tasks (client meeting, ad hoc advice, additional lodgement, ATO liaison) are placed by the job's name and marked †.
  - "Internal & leave" and "Unclassified" come last, after a dashed separator.
  - Columns are ordered by total hours, with rotated headers.
- Matrix: people as rows (active by hours; active with no time shown as a hatched "no time recorded" bar; former staff in their own section).
  - Each cell is a tile showing hours, shaded on a 6-step quantile ramp of the practice's own filled cells. Empty cells are hatched.
  - A last entry older than 6 months gets a sienna outline and dot.
  - Single-person columns are marked in sienna.
  - Footer row: people and hours per column. A Breadth column counts client work types only.
  - Hover tooltip at the cursor: hours, entries, jobs, last entry date and job, share of the column, last entry ID.
- Right rail:
  - single-person work types, ranked by hours on still-open jobs, with open tasks;
  - "one step away" (two people, one holding at least 70%);
  - people one column wide;
  - the unclassified pile, with entry IDs.
- "How the columns were built" table: hours, people, jobs, open tasks, task names behind each column, hours placed by job name.
- "What this matrix cannot tell you" cards.

3. FUTURE — "The lodgement mountain range"
- 52 weeks from the Monday of the as-at week. One ridge per work type. Height = open jobs falling due that week (counts, not hours), smoothed.
- Last year's ridge, ghosted and dashed behind: completed jobs' due dates moved forward a year. It can be toggled.
- An "overdue wall" at the front: a sienna block per work type, sized by past-due jobs, with the count.
- A "booked horizon" line at the last booked due date ("beyond here XPM holds nothing").
- ATO lodgement dates as reference markers. Verify the BAS dates from the ATO's current BAS agent lodgment program and mark any other dates as indicative.
- Canvas 2D projection, no 3D library:
  - drag to orbit, scroll to zoom, double-click to reset, gentle idle sway;
  - hovering a peak lists that week's jobs (and last year's);
  - "Fly the year" button: travels the timeline, slowing over busy weeks and ATO dates, with a week readout.
- Stat strip: open jobs, past due, due in 52 weeks, last booked due date, busiest week.
- Cards: "The wall" (oldest past-due jobs), "The next twelve weeks" (due dates interleaved with ATO dates), "After [month], the book is empty" (last year's jobs in the unbooked stretch, by month).
- "What this range cannot tell you" cards.

4. 3D — "The WIP glacier"
- Unbilled billable time from XPM's unbilled data, per job, drawn as an ice core stacked by age band: 0–30, 31–60, 61–90, 91–180, 180+ days. Oldest at the bottom; darker with age; 91+ days edged in sienna.
- Strata must sum exactly to XPM's unbilled total.
- Cores stand on client plots. A dashed ring marks the 60-day line. A sienna ring at the base marks jobs already Completed.
- Click a core to lift it, spread its strata with labels and spin it. A side panel shows the age table (hours, entries, top staff), main tasks, and when the job was last invoiced.
- Controls: Overview, Client close-up picker, "Deepest ice first" stepper (auto-advances; prev/next/done). Arrow keys, +/− and Esc work.
- Stat strip: total unbilled; hours and % older than 60 and 90 days; hours on Completed jobs.
- Rail: "Deepest ice" (top 10 jobs by 60+ day hours, each with an "Invoice or write down?" line) and "Finished, never billed".
- "What the ice can't tell you" cards.

5. TIMESHEET — "The week, checked"
- Week picker (defaults to the last week with entries), staff picker, and adjustable limits: short day under 7h, long day over 10h, long entry over 6h.
- Banner if nothing has been recorded since the last entry date, with the working days since.
- Stat strip: recorded, billable, non-billable, entries, people with gaps, things to check, allocated tasks with no time.
- Grid: staff × Mon–Sun.
  - NSW public holidays marked; leave flagged "L"; shading by hours.
  - Dashed cell for a weekday with no time, underline for a short day, outline for a long day.
  - Billable, non-billable, entries and flag counts per person.
  - Click a name to list their entries by day, with flags beside each entry.
- "What to fix", ranked, each item traced to its entry ID: duplicates, time on closed or cancelled jobs, billable time on the internal job, no time all week, weekdays with no time, long days, short days, long single entries, non-billable time on client jobs, generic tasks with no note, allocated tasks with no time this week. Include a "Copy fix list" button that writes a ready-to-paste LogicGlue request.
- "Add time": describe time in plain words. The page drafts entries matched to open jobs and their tasks, with editable date, job, task, hours, billable and note. "Copy for LogicGlue" produces the confirm-before-create request.
- The page itself is read-only: link out to my separate timesheet-entry page if I have one.
- "What this page can't tell you" cards.

DESIGN
- Calm and editorial. The Dashboard tab follows the host's theme. Each other tab is its own panel, light by default with a Dark toggle.
- Near-white ground, cool grey neutrals.
- Newsreader for headings, IBM Plex Sans for text, IBM Plex Mono for figures.
- Teal for time and work, bronze-gold for money and highlights, burnt sienna for attention.
- Every chart drawn to scale, legible in both themes and at phone width, respecting reduced motion. Every number traceable to its source rows.

Before handing it over, reconcile hours, billable hours, invoiced (inc and ex tax) and unbilled against the connector's own totals, check every tab renders with real data, then tell me what you couldn't get from XPM.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. This prompt stands alone, with its own rules.

Cash and WIP

Every unbilled hour in the practice arranged by age, then by the job holding it, then by the person who recorded it. The waterfall shows what rolls into the next ageing band each week if nothing is billed — the quiet mechanism by which recoverable work becomes a write-off nobody decided to make.

Reads well when you are deciding what to bill this cycle, or explaining to a partner why the WIP number has not moved.

XPMTimesheetsAgeing
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build a "WIP Ageing Waterfall" from live Xero Practice Manager data.
Single self-contained HTML file.

PULL
  xpm_get_jobs (status=in_progress)
  xpm_get_time (billable=true, unbilledOnly=true, jobStatus=in_progress)
  xpm_get_job_tasks on every job holding more than 20 unbilled hours
  xpm_get_invoices (jobNumber=<each of those jobs>, status=current) to
    confirm which have genuinely never been billed

DERIVE
Bucket every unbilled hour into 0–30, 31–60, 61–90, 90+ days by entry date.
For each bucket compute total hours, job count, and the hours that will
cross into the next bucket within 7, 14 and 30 days. Identify the jobs
whose billing trigger is a date rather than a milestone — recurring
bookkeeping and compliance work — and separate them, because that is where
ageing accumulates without anyone deciding it should.

BUILD
A horizontal waterfall: four age bands as columns, hours as band width,
with connecting ribbons showing the volume about to roll right. Bronze
saturation increases with age. Below it, a ranked list of the jobs holding
aged hours, each with its oldest entry date, days idle, and whether an
invoice has ever been raised against it.

Add a "next 30 days" toggle that advances every entry by 30 days and
re-renders, so the viewer sees what the ageing profile becomes if nothing
is billed between now and then. That projection is arithmetic on existing
entry dates, not a forecast — label it plainly as such.

Measure everything in hours. Do not put a dollar value on any of it.

Right rail: the bill-or-write-back decisions worth making this week,
ranked by hours at risk, each naming the job, the client, the owner and
the date the oldest hour was recorded.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

06

Debtor Maturity Timeline

← Previous Next → Open full screen ↗ Close ×
Cash and WIP

Open invoices placed on a forward time axis by due date, against a backdrop of when the practice's invoices have actually been paid historically. The gap between the two lines is the point: terms say fourteen days, behaviour says something else, and clustering means several conversations landing in one week.

Reads well when you are planning a collections week, or working out whether next month's cash is real.

XPMInvoicesPaymentsCash
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build a "Debtor Maturity Timeline" from live Xero Practice Manager data.
Single self-contained HTML file.

PULL
  xpm_get_invoices (status=all, widest available date range — this is
    required to catch invoices issued earlier that fall due later)
  xpm_get_invoices (overdue=true) for the authoritative overdue set and count
  xpm_get_invoices (invoiceNumber=<each paid invoice>, includePayments=true)
    for every invoice settled in the last 12 months
  xpm_get_clients (status=active, withoutJobSince=<12mo ago>) to flag
    debtors with no live work

DERIVE
For each settled invoice, days from issue to payment. Report both the
median and the value-weighted mean, and say which you are using where.
Check whether payment dates cluster on a handful of dates — if they do,
these are reconciliation runs rather than client behaviour, and every
ageing figure derived from them is indicative only. Say so on the page.
Flag any payment recorded before its own invoice date.

BUILD
A horizontal time axis from today forward. Each open invoice is a mark
placed at its due date, sized by amount, warm gold for not-yet-due and
burnt sienna for overdue (placed to the left of today). Stack marks that
share a due date so clustering is impossible to miss.

Behind the marks, a soft band showing where payment has historically
landed relative to due date, built from the settled-invoice distribution.
Where the marks sit far to the left of that band, the expectation is
optimistic — let the geometry make that argument rather than a caption.

Selecting a mark opens the invoice: client, job, issue and due date,
inc-GST and ex-GST amounts kept separate, whether the client has live
work, and what that client's own payment history looks like.

Right rail: this week's collection calls, ranked by amount at risk,
each with the one fact that makes the call easier or harder.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

Cash and WIP

For every task carrying both an allocation and recorded time, a single line from hours allocated to hours actually spent. Flat lines are a plan that held. The steep ones are the plan as fiction — 30 hours allocated against 132 recorded — and the template defaults separate into their own band so they cannot be mistaken for intent.

Reads well when you are re-quoting recurring work, or making the case that the practice's estimates are template arithmetic rather than a plan.

XPMTasksTimesheetsEstimates
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build an "Allocation vs Burn" view from live Xero Practice Manager data.
Single self-contained HTML file, inline SVG slope chart.

PULL
  xpm_get_jobs (status=current, limit=500)
  xpm_get_job_tasks (jobNumber=<each job>) for task estimates and the
    per-staff allocated hours XPM exposes at task level
  xpm_get_time (last 12 months, high limit) and attribute every entry to its
    task, not just its job
  xpm_get_job_estimates / xpm_get_quotes where available, for the figure the
    client was actually given

DERIVE
Before drawing anything, test whether allocation carries any information at all,
and report the test on the page:
  • For every task with both an estimate and per-staff allocations, check
    whether the allocations sum to exactly the estimate. If they do, allocation
    is the estimate divided among assigned staff — a split, not a plan.
  • Count how many tasks share one identical estimate value. A large cluster on
    a single round number is a job-template default inherited unchanged.
Tag every task that inherits a template default, and draw those in their own
band, visually separated, never mixed into the headline.

Per task then compute: hours allocated, hours recorded, the ratio, the staff who
recorded it versus the staff allocated to it, and whether the task is complete —
an incomplete task over its allocation is still burning.

BUILD
A slope chart: two vertical axes, allocated on the left and recorded on the
right, one line per task, both axes in hours on the same scale so the geometry
is honest. Lines rising to the right are overruns, falling lines are work that
came in under, flat is a plan that held. Burnt sienna above a threshold multiple,
neutral inside it, teal where recorded is materially under.

Three bands, labelled, top to bottom: tasks with a task-specific estimate
(the only band worth reading as plan vs actual), tasks on a template default,
and tasks with allocation but no estimate.

Repeat the chart grouped by job template, so recurring compliance work can be
compared across clients — that comparison is where a re-quote argument comes
from.

Never convert any of this to dollars, a recovery rate, or a write-off. There are
no charge-out rates in the API, so every figure here is hours, and the page
should state that where a reader would otherwise expect a value column.

Right rail: the tasks and templates to re-estimate, ranked by absolute hours of
overrun, each naming the job, the client, the template it came from, who recorded
the time, and whether the task is still open.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

People and capacity

Fifty-two weeks by fee earner, shaded by hours recorded. Leave clustering, crunch weeks and — most usefully — the weeks where nothing was recorded at all show up as gaps in the grid, which is the fastest way to find timesheet compliance problems before they distort every downstream number.

Reads well when you are checking timesheet discipline, or planning who can absorb the next engagement.

XPMTimesheetsStaff
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build a "Capacity Calendar" from live Xero Practice Manager data.
Single self-contained HTML file.

PULL
  xpm_get_staff (active)
  xpm_get_time (last 12 months, limit high enough that no staff member is
    truncated out of the result — do not lower the limit for aggregate
    queries)

DERIVE
Per staff member per ISO week: hours recorded, billable hours, and
internal/leave hours (classify by task name — Annual Leave, Public
Holiday, Internal). Identify weeks with zero recorded time, and the date
of each person's most recent entry.

CRITICAL: this is hours recorded, not utilisation. XPM exposes no
capacity, standard, scheduled or target hours through any endpoint, so
there is no denominator and no rate can be computed. Do not shade cells
against an assumed 37.5 or 40 hour week. Shade against the practice's own
observed distribution and label the scale in hours.

BUILD
A grid: fee earners as rows, ISO weeks as columns. Cell shading follows
hours recorded, using a single sequential ramp. Billable share shown as a
thin inner bar rather than a second colour. Leave weeks drawn as a
distinct hatch, not as a low value — absent and idle are different things.
Weeks with zero entries drawn as empty cells with a visible outline, so
missing data never reads as a quiet week.

A summary row underneath: practice-wide hours per week, so seasonal shape
and any collapse in recording is legible at a glance.

Right rail: whose timesheets are behind and by how many days, then the
weeks where recording stopped practice-wide — those distort every WIP and
billing figure downstream and should be fixed before anything else here
is used to make a decision.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

09

Key-Person Concentration

← Previous Next → Open full screen ↗ Close ×
People and capacity

Every fee earner joined to every engagement they hold a task on, or have recorded time against. Load is not the point — fragility is. The jobs where one name holds every open task, and the people who are the only link on four or five engagements, show up as the places where a fortnight of annual leave stops the work.

Reads well when you are approving leave, planning succession, or working out what actually breaks if someone resigns on Friday.

XPMStaffJobsTasksRisk
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build a "Key-Person Concentration" map from live Xero Practice Manager data.
Single self-contained HTML file, inline SVG.

PULL
  xpm_get_staff (active=true, limit=200)
  xpm_get_jobs (status=current, limit=500) — note the job manager and the
    assigned staff on each
  get_xpm_job_tasks_filtered (complete=false) to find the jobs holding open work
  xpm_get_job_tasks (jobNumber=<each of those>, status=pending) for the
    per-task staff allocations
  xpm_get_time (last 6 months) to establish who has actually touched each job,
    which is not the same as who is assigned to it

DERIVE
Build the staff ↔ job graph from three independent edge types and keep them
distinct, because they disagree and the disagreement is the finding:
  assigned     named on an open task
  managing     job manager on the job record
  working      has recorded time against the job in the last 6 months
Then per job: how many distinct people hold open tasks on it, and whether
that number is one. Per person: how many jobs they are the sole holder on,
and how many of those are overdue or due inside 30 days.

Flag these explicitly:
  • jobs with open tasks and nobody allocated at task or job level
  • jobs whose manager is not on the active roster, or whose name carries a
    "DO NOT USE" style marker
  • people recording time on jobs they are not assigned to, and the reverse

Resolve every person by staff UUID, never by name. XPM staff names are
mutable and a time entry carries whatever the name was at pull time.

BUILD
Two columns — people on the left, engagements on the right — with edges
between them. Edge style carries the edge type: solid for assigned, hairline
for managing, dotted for time recorded without assignment. A job reachable
through exactly one person draws its edge in burnt sienna and its node as a
filled mark; jobs with two or more holders stay neutral. Unallocated jobs draw
as open outlines with no edge at all, sitting apart from the graph.

Order people by the number of jobs they are the sole holder on, descending, so
the top of the left column is the concentration list.

Selecting a person dims everything except their engagements and shows: sole-held
jobs with due dates, jobs shared and with whom, and where they are recording time
outside their own allocations. Selecting a job shows its holders, its manager,
its open tasks and the date of the last time entry against it.

Do not describe any of this as capacity or utilisation. There is no denominator —
this counts allocations and touches, and the page should say so in the legend.

Right rail: the concentration worth breaking up first, ranked by sole-held jobs
weighted by how soon they fall due, each naming the person, the jobs and the
dates.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

People and capacity

Fee earners down the side, work type across the top — BAS, bookkeeping, year-end, tax, audit, R&D — each cell answering one question: has this person ever actually done this work. What you read are the thin columns. A work type with a single mark in it is a service line the practice delivers through exactly one person.

Reads well when you are hiring, pricing a new service line, or deciding who to train next.

XPMStaffTasksCoverage
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build a "Bench Depth Matrix" from live Xero Practice Manager data.
Single self-contained HTML file.

PULL
  xpm_get_staff (active=true, limit=200)
  xpm_get_time (last 12 months, limit high enough that nobody is truncated
    out — the task name on each entry is the signal)
  xpm_get_jobs (status=all, 12-month range, limit=500) for job names
  xpm_get_job_tasks on the live jobs, for task names on work not yet recorded
  xpm_get_job_templates to see the practice's own vocabulary for work types

DERIVE
XPM exposes no skill, role, grade or competency field on a staff record, and no
service-line field on a job. So the matrix is built from evidence of work done,
not from a capability register — say that on the page in those words.

Cluster task and job names into work types using the practice's own language
from the job templates, not a generic chart of accounts. Typical clusters:
BAS/IAS, bookkeeping, year-end accounts, income tax, FBT, audit, R&D, advisory,
company secretarial, internal/admin. Keep an "unclassified" column rather than
forcing names into a bucket, and show how many hours sit in it — if that column
is large the clustering is wrong and the matrix should not be trusted.

Per staff × work type: hours recorded, number of distinct jobs, and the date of
the most recent entry. Per work type: how many people have ever recorded against
it, and how concentrated those hours are in one person.

Separate "no evidence" from "not a fee earner". Some active staff record no time
at all; XPM has no fee-earner flag, so they cannot be labelled non-charging from
the API. Draw them as a distinct row state rather than an empty one.

BUILD
A matrix: staff as rows, work types as columns ordered by total practice hours.
Cell mark size or shade follows hours recorded, with a single sequential teal
ramp shaded against the practice's own observed distribution — not against an
assumed week. A hairline ring marks a cell where the work is old: last entry
more than 6 months ago, so the evidence is going stale.

Columns served by exactly one person get a burnt sienna rule along their head.
That rule, not any caption, is the argument the page makes.

Footer row: people per work type. Side column: work types per person — breadth
beside depth.

Right rail: the single-person work types ranked by hours of live work currently
sitting in them, then the people whose breadth is one column wide, then the
unclassified pile with its biggest task names so the clustering can be corrected.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

11

Practice Timesheet Entry

← Previous Next → Open full screen ↗ Close ×
People and capacity

Sample visual, not connected to live data. A working tool rather than a report: time entered for the whole practice, one day at a time. Choose who did the work, the job and how long, and each entry lands as a card on that person's day. Connected to XPM through LogicGlue, entries stay as drafts until you press Save, and each saved entry links to its job's time in XPM. Here it runs on an invented practice, so nothing is read from or saved to XPM.

Reads well when timesheets are the bottleneck: it is late in the day, several people are short on hours, and you want the gaps filled without opening XPM one entry at a time.

XPMTimesheetsStaffJobsWrites to XPMSample data
Show prompt
Build me an "XPM Practice Timesheet Entry" page: a manager's desk for entering a whole practice's time in Xero Practice Manager (XPM), one day at a time, saved through my LogicGlue connector. Publish it as an artifact. It's a working tool, not a mock-up.

CONNECTOR
- Declare the artifact capability mcp → server "LogicGlue", tools: xpm_get_staff, xpm_get_jobs, xpm_get_job_tasks, xpm_get_time, get_xpm_job, create_xpm_time, assign_xpm_job_staff. Load the artifact-capabilities skill first and follow its mcp error handling.
- LogicGlue returns text. Make one real read-only call to each read tool and parse the actual line formats. Never embed my real data in the page.
- Never call create_xpm_time or assign_xpm_job_staff to test. Never guess job numbers, task UUIDs or staff UUIDs.

TWO MODES (a "Sample data / Live XPM" switch in the header, remembered in the browser)
- Sample data: an invented practice shaped like XPM (about 15 staff, 20 clients, jobs with numbers and tasks, internal non-billable jobs, two months of seeded time). Entries save to the browser. This is what anyone sees without the connector.
- Live XPM: active staff, current jobs and time through LogicGlue. Start here when the connector is available. A status line shows staff count, open jobs, time loaded and a Refresh link, or a plain-words reason when it can't connect.

HEADER
- Week ‹ › arrows, Mon–Fri day buttons each showing that day's total hours, a date picker and "Back to today". Entries can go back two months and never into the future.
- Day stats: hours recorded of hours expected (7h 36m a person), billable %, people short.
- Undo, and in sample mode a "2-minute run" button.

LAYOUT
- Left: staff roster with search and All / Short / Selected filters. Each tile: initials, role, today's hours, a billable bar, recent clients, and a flag when more than an hour short. Click to select, ⌘-click for several.
- Middle: one lane per selected person (everyone when nobody is selected): total, how far short of the day, and the day's entries as cards whose width follows their hours. People with nothing recorded collapse into one block of name chips.
- Right: an Assist column that appears only when it has something to say.
- Bottom: a sticky entry bar.

TIME CARDS
- Show duration, client · job, task and note, with a billable dot. Non-billable cards are hatched. Flag a possible duplicate (same person, job and hours on the day).
- Click the duration to type a new one, drag the edge to resize in 15m steps, click the job to change it, click the dot to switch billable. Duplicate and delete on hover.
- Drag a card to another person or day to move it; hold ⌥ to copy. "Repeat <previous day>" copies a person's last working day.
- Selecting cards shows a bulk bar: duplicate, copy to people, change job, billable, move day, delete.

ENTRY BAR (the entry is built from its parts; cascading choices guide the user)
- Who → Job → Time are needed; Day, Note and Billable are optional. Mark the next missing part "next". An Add button makes one entry per person chosen.
- Who defaults to the roster selection. Job finder searches client, job name or job number, listing allocated and recently used jobs first. Time chips: 15m, 30m, 45m, 1h, 1.5h, 2h, 3h, ½ day, Full day, plus a typed box.
- "Allocated jobs only" switch, on by default: hide jobs the chosen people aren't allocated to and say who isn't.
- Once a job and time are chosen, show a "+ 2h" button on every other lane and roster tile to add the same entry to that person in one click.

ASSIST (suggests only; never creates anything by itself)
- Possible duplicate, missing time, shared activity (several people logged a meeting that others attended last week), and usual pattern (someone normally records this job on this weekday).

SAVING TO XPM (live mode)
- New entries are drafts, drawn dashed, until "Save N to XPM" in a tray docked in the entry bar. Time already in XPM is locked: say to change it in XPM.
- Save one at a time with create_xpm_time (job number, task UUID, staff UUID, date, minutes, note). Pick the task at save: an open task the person is assigned to, matching the billable choice where one was made (learn each task's billable setting from the job's existing time).
- If they aren't assigned to a suitable task, show a task picker and an "Assign <name> & save" button (assign_xpm_job_staff).
- On server_unavailable, upstream_error, cancelled or a missing error code: stop. The outcome is unknown, so say "XPM may or may not have saved this. Refresh before trying again".
- Definite errors: mark that entry with a plain reason and carry on.
- TIMESHEET_PERIOD_LOCKED: "Timesheet locked: the period containing <date> has already been submitted in XPM. Someone with access needs to unlock it in XPM first."
- After saving: get_xpm_job for the job's "Web URL", and give each saved entry "Open in XPM ↗" linking to `<Web URL>&tab=time` (add `&time_id=` only if XPM ever returns it). Refresh the time from XPM.

2-MINUTE RUN (sample mode)
- A timed, guided checklist in the Assist column for entering 20+ entries across 10+ people in two minutes, with a live counter in the header.

DESIGN
- Calm, practical, high contrast. Light grey ground, white panels, one colour per client on the cards.
- Accents: teal for recorded time, gold for pending, sienna for problems.
- Australian English, "Mon 3 Nov" dates, durations as 1h 30m.
- Works on a phone; light and dark; keyboard-friendly (Enter add, / choose job, 1–5 time, [ ] day, { } week, ⌘Z undo, ⌘D duplicate, B billable), with the shortcuts listed under the entry bar.

Before handing it over, test the whole flow against a mock of the connector built from the real read formats, including the not-assigned and locked-period errors. Then tell me what you tested and what only a real save will prove.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. This prompt stands alone, with its own rules.

12

Client Portfolio Matrix

← Previous Next → Open full screen ↗ Close ×
Clients and workflow

Every client plotted by how much work they consume against how they behave when invoiced. The quadrants do the arguing: heavy consumers who pay late, light consumers who pay instantly, and the dormant accounts still carrying a balance with no live engagement to justify the call.

Reads well when you are re-pricing, planning next year's capacity, or deciding which relationships are worth keeping.

XPMClientsJobsPayments
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build a "Client Portfolio Matrix" from live Xero Practice Manager data.
Single self-contained HTML file.

PULL
  xpm_get_clients (status=active, limit=500)
  xpm_get_clients (status=active, withoutJobSince=<12mo ago>, limit=500)
  xpm_get_jobs (status=current, limit=500)
  xpm_get_time (12 months, for hours by job → rolled up to client)
  xpm_get_invoices (status=all, 12mo range; includePayments=true on paid)

DERIVE
Per client: hours recorded over 12 months, live job count, total invoiced
(ex-GST, stated as such), amount outstanding, amount overdue, and days
from issue to payment across their settled invoices. Flag clients whose
last job start is more than 12 months ago.

Note the coverage limit honestly: XPM's client list does not always return
every party that holds a job — individual and contact-type records can be
missing. Report the number of clients actually checked rather than
implying the list is complete.

BUILD
A scatter matrix. X: hours consumed over 12 months. Y: median days to
pay. Mark size: amount currently outstanding. Dormant clients drawn as
open rings rather than filled marks, so an unfilled ring sitting high and
right reads immediately as a problem.

Quadrant dividers at the practice median on each axis, labelled with what
each quadrant means in practice terms rather than in matrix jargon.

Do not compute revenue per client per hour, or any effective rate — that
requires charge-out rates the API does not expose. Invoiced totals and
hours are two separate axes and must not be divided into one another.

Selecting a client opens: their engagements with unbilled hours, their
open and settled invoices, their account manager, and how their payment
behaviour compares to the practice median.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.

Clients and workflow

Twelve months of engagements moving through XPM's workflow states, drawn as a flow. Width is job count, and the interesting part is always the same: where work pools. Jobs sitting in Planned that never started, jobs in For Invoicing that never got billed, and the ones that went back into Rework.

Reads well when you suspect the bottleneck is process rather than capacity, and want to see where.

XPMJobsWorkflow
Show prompt
Before building anything, gather all data. Do not write a line of
code until the pull is complete and reconciled.

NEVER FABRICATE THESE — the XPM API does not expose them. State their
absence on the page rather than omitting it:
  • Utilisation / capacity / productivity % — no capacity, standard or
    target hours exist. Billable ÷ recorded is NOT utilisation.
  • Dollar value of unbilled WIP — no charge-out rates. Report hours only.
  • Write-on / write-off — derived from WIP value, so not derivable.
  • Job labour cost and profit — no staff base rates.
  • Time vs disbursement split on invoices.

Use XPM's server-computed totals verbatim; never re-add invoice rows
yourself. Keep GST-inclusive and ex-GST figures in separate columns and
never sum across them. Verify every reconciliation before building — paid
+ outstanding = invoiced, overdue + not-yet-due = total open. Cite the
exact tool call and record ID behind every material finding.

Large time pulls will exceed the tool output limit. Let them write to file
and aggregate with a script rather than reading them into context.

VISUAL SYSTEM — consistent across this library: near-white ground, cool
grey-blue neutrals, Newsreader for display type, IBM Plex Sans for labels,
IBM Plex Mono for all figures. Three accents only: teal for time and work,
bronze-gold for money, burnt sienna for attention. Ship a dark palette
behind a toggle; open light. One self-contained HTML file, everything
inlined except the Google Fonts stylesheet.

Build an "Engagement Flow" from live Xero Practice Manager data.
Single self-contained HTML file, inline SVG.

PULL
  xpm_get_jobs at each status: current, in_progress, completed, all
  xpm_get_jobs (overdue=true), (unassignedOnly=true)
  xpm_get_jobs (startDateFrom / startDateTo across the last 12 months)
  xpm_get_time (12 months) to establish which jobs are actually moving

Be precise about XPM's status semantics on the page: status=current
includes Planned, Rework and For Invoicing, while in_progress is only the
In Progress workflow state. Conflating them is the most common way this
data is misread — name the distinction in the legend.

DERIVE
Per workflow state: job count, total unbilled hours held, median days
since start, and median days since the last timesheet entry. A job with
no time recorded for 90 days is stalled regardless of what state it sits
in — compute that separately from state membership.

BUILD
A left-to-right flow: states as nodes sized by job count, ribbons between
them sized by the number of jobs that moved. Where XPM does not expose
state transition history, do not invent movement — draw the current
distribution as columns and say plainly that transitions are inferred from
start, due and completion dates only, or not shown at all.

Stalled jobs surface as a separate stratum within each node, in bronze.
Unassigned jobs draw as open outlines.

Right rail: the pools worth clearing, ranked by hours held, each naming
the jobs and how long they have been sitting.

Scroll inside the box to read it. Click the prompt to select all of it, then copy. The shared rules are included at the top.