LeanLaw
Blog

Quickbooks

How Do You Track Case Costs by Matter in QuickBooks Online?

Rachel Bondurant · · Updated August 26, 2026

How Do You Track Case Costs by Matter in QuickBooks Online? Quickbooks

Track case costs by matter in QuickBooks Online using the customer and sub-customer structure, with the client as the customer and each matter as a sub-customer beneath it. Advanced costs post to a balance sheet asset account and carry the sub-customer, which makes cost by matter a report rather than a spreadsheet. Classes and projects each add something, and each fails in a specific way.

Make the choice deliberately, because migrating between structures after two years of history is painful.

Customer and sub-customer: the load-bearing structure

This is the layer everything else sits on.

The client is the customer. Each matter is a sub-customer, set up with “Bill with parent” turned off so the matter carries its own balance and its own reports. Every cost entered against that matter names the sub-customer in the customer field on the expense, bill, or check line.

Why this one is not optional: sub-customer is the only dimension QuickBooks Online carries consistently across expenses, bills, checks, invoices, payments, and journal entries. Classes do not appear everywhere, and projects do not attach to everything. If matter attribution lives anywhere else exclusively, some transaction type will eventually escape it.

Where it breaks. Two places. A client with many matters produces a long customer list, and hand-entered names drift, so standardize the naming convention on day one and enforce it. And sub-customer is a field a human can leave blank. Every blank one is a cost that exists in your books and not in your matter reporting.

Classes: the second dimension

Classes track a dimension that cuts across clients, most usefully practice area, office location, or originating attorney.

The value is that class and customer are independent. A cost can be attributed to the Smith matter and to the personal injury practice group at once, so you can produce a profit and loss by practice area without giving up matter detail.

Where it breaks. Classes are not available on every QuickBooks Online plan, and class is not enforced by default. Turn on the setting that warns when a transaction has no class assigned, because partially classed data produces reports that look complete and are not. Classes also tempt firms into using them for matters, which does not work: they carry no customer relationship, no balance, and no billing behavior.

Use classes for what repeats across many matters. Use sub-customers for the matter itself.

Projects: useful, with a constraint

Projects give a per-matter view of income, costs, and margin inside QuickBooks Online without building it in reports. For an hourly firm running discrete engagements, that is a reasonable way to see matter-level results with no extra reporting work.

Where it breaks. Projects are built on the sub-customer mechanism, so they do not replace it. And a project’s profitability view assumes the hourly model, meaning costs consumed and revenue billed inside the engagement. A contingency matter’s advanced costs are not expenses until the case resolves, so a project view that treats them as costs shows a matter losing money for three years and then producing a windfall. Our post on tracking contingency case expenses when a case spans multiple years covers why those costs belong on the balance sheet.

Projects also cannot be converted back to plain sub-customers cleanly, so decide before converting a large client list.

The account structure, and making attribution stick

Dimensions tell you which matter. Accounts tell you what kind of cost, and getting this wrong makes the matter report wrong regardless of how well you tagged it.

Advanced client costs, meaning money the firm pays to a third party on the client’s behalf expecting reimbursement, belong in a balance sheet asset account rather than an expense account. Filing fees, expert fees, deposition transcripts, and medical records fall here. Costs the firm absorbs, including in-house copying, staff time, research subscriptions, and postage, post to the profit and loss.

Our guide to hard costs versus soft costs covers the distinction, and the $427,000 mistake covers the tax side of expensing advanced costs instead of capitalizing them.

Cost typeAccountDimension
Filing fee paid to courtAdvanced client costs (asset)Sub-customer, class
Expert witness invoiceAdvanced client costs (asset)Sub-customer, class
In-house copyingFirm operating expenseClass only
Legal research subscriptionFirm operating expenseClass only
Reimbursement receivedReduces advanced client costsSub-customer

All of it depends on the sub-customer field being populated when the transaction is created. Costs entered from a bank feed arrive with no customer attribution, and somebody assigns one later from a vendor name and a date, which works for a court filing fee with an obvious matter and fails for a records vendor billing eleven cases in one charge.

Three habits close most of the gap. Enter third-party costs from the source document rather than the bank feed. Split multi-matter invoices at entry, on the bill. And run a monthly report filtered to advanced client costs with no customer assigned, which should be empty.

QuickBooks Online is where these reports live, and QBO is a hard requirement for running LeanLaw. What LeanLaw does is upstream: attribution is captured where the work happens, so costs arrive in QBO already tied to a client and a matter. Our guide to matter profitability covers what the resulting reports answer.

Frequently asked questions

Should each matter be a customer or a sub-customer? A sub-customer under the client, with “Bill with parent” turned off. That keeps client-level and matter-level views available at the same time.

Can I use classes to track matters? Not effectively. Classes carry no customer relationship, no balance, and no billing behavior.

Where do advanced client costs post? To a balance sheet asset account, since the firm expects reimbursement. Posting them to an expense account overstates deductions and understates assets.

How do I catch costs that were never attributed? Report on the advanced client costs account with the customer column shown, filtered to blank. Run it monthly, and treat a nonempty result as a workflow problem rather than a cleanup task.

Rachel Bondurant

Written by

Rachel Bondurant

Head of Brand and Content

Rachel Bondurant leads brand and content at LeanLaw, where she writes about legal billing, trust accounting, and the financial operations of modern law firms. Her work translates the realities of law-firm finance — billing workflows, IOLTA and trust compliance, and revenue leakage — into practical guidance for attorneys, firm administrators, and the accountants who support them.

Clarity into your firm's revenue. Agency over what comes next.

Take control of your firm's financial health with one connected revenue experience — the next step is a demo with your data, not ours.

1,000+

law firms run on LeanLaw

70%

faster invoice collections

$61K

leaked revenue recovered per attorney each year

20–50×

ROI for a typical 10-attorney firm

Figures reflect aggregate results reported by LeanLaw customers — faster collections, recovered revenue, and ROI. Individual firm results vary.