Build case study
Timesheet and Invoicing Automation With Claude: 159 of 159 Matched on the First Full Run
161 time entries, 319.5 hours, one import, 159 of 159 slips matched exactly · 5 working sessions · the office manager drives, Claude never posts
Anonymized. Every figure dated and sourced. Published 2026-11-03.
The short version
Timesheet and invoicing automation, built with Claude for an engineering and survey firm with about a dozen staff. The firm keyed every timesheet into its time-and-billing system by hand, then built the payroll file separately. We gave the office manager a Claude workflow, run on her own PC inside the firm’s Claude Team plan, that reads the week’s sheets, flags what needs a human answer, builds the import, proves it matched, and writes the owners’ review sheets. Five working sessions. On the fifth, it ran front to back: 161 entries, one import, 159 of 159 matched.
159 of 159
slips matched on the first full run
1
import a week, never a second
5
working sessions to a repeatable run
The situation
- One person, every number. Paper and emailed timesheets from engineers, surveyors and field crews landed with the office manager each week. She typed each line into the billing system, caught wrong project numbers by memory, then rebuilt the hours a second time for payroll.
- Two owners, no review layer. Billing decisions (what to invoice, at what rate) sat with the owners, but the data reached them as whatever had been typed. Open time built up on projects nobody was looking at.
- The hard rule nobody had written down. The billing system cannot un-import. A second import of the same week creates duplicates that take longer to clean than the first entry took. We learned that on day one of testing and it shaped the whole design.
- Tools already in place: the time-and-billing system with a CSV import, Excel, Outlook, a shared drive, and the Claude Team plan the owners had just bought.
The weekly run, before and after
| Step | Before | Now |
|---|---|---|
| Entry | Every line typed into the billing system | One import file, built after her answers |
| Problems | Caught one at a time while typing | 17 flags in one numbered list, answered once |
| Verification | None; "it imported" | 159 of 159 slips matched against the export |
| Owner review | From memory, at invoicing time | One workbook: a tab per project lead, flags, office time |
| Payroll | Hours rebuilt by hand | File from the same checked data, checked against her total |
Source: session records for this engagement, October to November 2026.
Where this transfers. Any firm that bills time and runs payroll from the same sheets: engineering, surveying, architecture, law, accounting, consulting.
What was built
The weekly run: sheets in, proven import and owner review out
1. Timesheets
paper, email and crew sheets into one folder
2. Check file
every line that needs a decision, numbered
3. She answers
one message, all flags
4. Import file
the billing system's own CSV format
5. One import
backup first, never a second
6. Export + compare
slip by slip against the sheets
7. Review workbook
one tab per project lead, flags, office time
8. Email drafts
owners, employees; she sends
Two layers, by design:
- The company plugin holds the firm’s ground rules, the active project list and the request rules every person shares.
- The office manager’s personal plugin holds her workflow. Its spine (the hard stops) is locked and only the Team admin changes it. Its playbook is plain English she edits herself, with a dated copy and an undo.
| Component | What it does | What it replaced |
|---|---|---|
| Check file | Reads every sheet, lists each line that needs a decision (unknown project, closed project, missing description, rate question) as one numbered list | Catching problems one at a time while typing |
| Import file | One CSV in the billing system’s seven-column format, built only after her answers | Hand entry of every line |
| Export and compare | After her single import, Claude reads the system’s export and matches it slip by slip to the sheets | Trusting the import |
| Review sheets | One Excel tab per project lead with the week’s time, plus a flags tab, plus the week’s office time | Owners reviewing from memory |
| Email drafts | Review email to the owners, the weekly office-time summary, a note to any employee with a blank description. Drafts only, she sends | Nothing. These did not exist |
| Payroll file | Hours per pay period in the bank’s upload format, with a saved name-and-ID map | Rebuilding payroll hours by hand |
A day in the life (Monday)
- 9:00. She drops the week’s sheets in the workspace folder and runs the check prompt. Claude returns 161 lines, 319.5 hours and 17 numbered flags.
- 9:20. She answers all 17 in one message: this project is closed, open it and enter those three lines by hand; that line is office time, not billable; these two names are the same person.
- 9:30. Claude writes the import file. She imports it once and takes a backup first. No errors.
- 9:40. Two things Claude is not allowed to do, she does by hand from Claude’s list: move a batch of entries from a sub-project to its parent, and change a rate an owner has decided.
- 10:00. She exports from the billing system. Claude compares: 159 of 159 slips match exactly. The two lines outside the export’s date range are listed, not hidden.
- 10:15. Claude builds the review workbook (63, 57 and 32 entries for the three project leads, a flags tab, 103.75 hours of office time with descriptions) and drafts three emails. She attaches the file and sends them herself.
- Payroll Monday (every other week). Same run, plus the payroll file for the pay period, checked against her own total before anything is uploaded.
What it took
Five sessions over four weeks: a 90-minute discovery of how time really moved through the office, a two-hour test that found the duplicate-import problem, a practice run against a week she had already keyed by hand, a first real import (110 of 110 matched), then the full front-to-back run. Each session had a written run of show. Between sessions, the owners answered rate and project questions by email. The office manager provided her sheets, her hand-keyed week for comparison and her paper list of payroll IDs.
What made it work
What Claude does, and what it never does
Claude does
the volume
- Reads every sheet and lists each open question
- Builds the import in the billing system's own format
- Matches the export to the sheets, slip by slip
- Builds the review workbook and the office-time summary
- Drafts the emails and the payroll file
Claude never does
the firm's hard stops
- Sets or suggests a rate (an owner decides)
- Runs the import, or ever a second import
- Submits payroll or uploads anything to the bank
- Sends an email
- Drives the billing system itself
Hard stops live in the locked part of the plugin; only the Team admin can change them.
- The office manager is the operator. It runs on her PC, in her Claude, with her sign-ins. Nothing was installed on the server and nothing runs without her.
- One import a week, never a second. Every anomaly after the import is a by-hand fix from a list Claude writes, never a re-import.
- Claude never decides money. It flags a rate question; an owner decides; she changes it. It never sets a rate, never submits payroll, never sends an email.
- Questions first, then the work. All 17 flags come as one list; she answers once; Claude proceeds. No back-and-forth mid-run.
- Prove the import. The export-and-compare step is the point. “It imported” is not a result. “159 of 159 matched” is.
- Rules stay written down. Every decision from a session (a blank project on a crew sheet means the line above, office time is not imported, a closed project is opened and keyed by hand) goes into her playbook the same day.
Honest limits
- Payroll is mapped, not yet live. The name-to-ID map is built; the first real payroll file goes through the bank on the next pay Monday, checked against her own total first. This page will say when that happened.
- Two by-hand steps remain until the owners renumber a shared project code and settle rate columns.
- Claude cannot attach files to the email drafts in her mail client, so she drags the review file in. One extra click, documented on her card.
- It took five sessions, not two. The first three ran items one at a time with no end-to-end flow. The fix was a run of show written as a single sequence. That is now the standard for every client.
- In rollout. First full run 2026-11-02; handover is scheduled for early December.
Similar situation?
If your office manager spends Monday retyping timesheets and you find out what was billable at invoicing time, timesheet and invoicing automation with Claude is a short conversation. Bring one week of sheets.
Book a short call →Questions people ask
Can Claude automate timesheets and invoicing for a small firm?
Claude builds the import file in the system’s own format and checks the result after the import. The office manager runs the import, once. Claude does not drive the billing system itself.
How do you keep an AI from posting wrong hours?
Three gates: a numbered question list before the file is built, a backup before the single import, and a slip-by-slip comparison of the system’s export against the sheets afterward. Anything that fails a gate is a by-hand fix, never a second import.
Does the firm need a developer to change the workflow?
No. The hard stops are locked and only the Team admin changes them. The everyday rules live in a plain-English playbook the office manager edits herself, with a dated copy and an undo.