Perimattic
Legal billing

Legal billing software: fee models, ethics rules and what to check

Hourly, flat fee, contingency and hybrid billing, what ABA Model Rule 1.5 asks of fee agreements, LEDES e-billing and keeping trust money out of operating.

Buyer’s guideABA Model Rules citedBuilt for US law firms

Last updated October 22, 2026

Bills, a calculator and a laptop on a desk
Overview

What should legal billing software do?

Legal billing software should turn time and expenses into accurate invoices for every fee model your firm uses, including hourly, flat fee and contingency. It should record the fee basis you agreed with each client, produce LEDES files when clients ask for them, take online payments and keep unearned money in trust, never in operating.

Get started with Legal Practice Management

Sign up and our team will walk you through Perimattic Legal Practice Management for your firm’s intake, billing and trust accounting.

Sign up
Fee models

Which billing models does legal billing software need to support?

Most small and mid-size firms run more than one fee model, sometimes on the same client. Billing software has to price each matter the way its fee agreement says, which means the fee basis belongs on the matter, not in a spreadsheet beside it.

Billing modelHow it worksWhat the software must support
HourlyEach timekeeper’s time is billed at an agreed rate.Rates per timekeeper and per matter, time entries in tenths of an hour, write-downs, and invoices that show who did what and for how long.
Flat feeOne agreed price for a defined piece of work, sometimes paid in stages.A fixed price on the matter, milestone billing, time still tracked to see whether the price was right, and clear handling of any part paid in advance.
ContingencyThe fee is a percentage of the recovery.The percentage or percentages from the signed agreement, expenses tracked against the matter, whether expenses come off before or after the fee, and a closing statement for the client.
HybridA mix, such as a reduced hourly rate plus a smaller contingency, or a flat fee with hourly work beyond a set scope.More than one fee basis on the same matter, with each invoice line showing which basis it falls under.
SubscriptionA recurring fee for an agreed set of ongoing services.Recurring invoices, a written scope of what the subscription covers, and tracking of work outside that scope so it can be billed or declined.

Some arrangements are off the table whatever the software allows. ABA Model Rule 1.5(d) bars a fee in a domestic relations matter whose payment or amount is contingent on securing a divorce or on the amount of alimony, support or a property settlement, and bars a contingent fee for representing a defendant in a criminal case (ABA Model Rule 1.5).

ABA Model Rule 1.5

What does ABA Model Rule 1.5 mean for law firm billing?

Rule 1.5 is the fee rule, and three parts of it shape what billing software should record. Each state adopts its own version, so treat the Model Rule as a template and follow your state bar’s rules.

Reasonableness, Rule 1.5(a)

“A lawyer shall not make an agreement for, charge, or collect an unreasonable fee or an unreasonable amount for expenses.” The rule lists factors for judging reasonableness, starting with “the time and labor required” and ending with “whether the fee is fixed or contingent.” Good time records, even on flat-fee and contingency matters, are how a firm shows the work behind a fee.

Communicating the basis of the fee, Rule 1.5(b)

The scope of the representation and “the basis or rate of the fee and expenses for which the client will be responsible shall be communicated to the client, preferably in writing,” before or within a reasonable time after the representation starts. Changes to the basis or rate must be communicated too. Software should store the engagement letter and the rate history with the matter, so an invoice can always be traced back to what the client was told.

Contingent fee agreements, Rule 1.5(c)

“A contingent fee agreement shall be in a writing signed by the client.” It must state how the fee is worked out, including the percentage or percentages for settlement, trial or appeal, the expenses to be deducted from the recovery, and whether expenses come off before or after the fee is calculated. At the end of the matter the lawyer must give the client a written statement of the outcome and, if there is a recovery, the remittance to the client and how it was worked out (ABA Model Rule 1.5). A billing system that handles contingency matters should produce that statement from the same figures it used to track expenses.

A wooden gavel beside an open book on a blue table
E-billing

What are LEDES and UTBMS, and when do you need them?

Some clients, typically larger organizations and insurers that use electronic billing platforms, ask for invoices as data files rather than PDFs. The usual standard is LEDES. The LEDES Oversight Committee, which describes itself as an international, voluntary, not-for-profit organization, maintains open formats for exchanging billing and other information. Its e-billing formats include LEDES 98B, LEDES 98BI, LEDES 2000 and LEDES XML versions 2.0, 2.1 and 2.2.

LEDES invoices usually carry UTBMS codes. According to UTBMS.com, hosted by the LEDES Oversight Committee, UTBMS is a series of codes used to classify legal services in an electronic invoice. Task codes describe the service by area of law and roll up into phases, activity codes describe what was done (writing, speaking with someone, research), and expense codes categorize costs. Separate code sets exist, for example the ABA litigation codes.

If a client asks for e-billing, ask which LEDES format and which code set its guidelines require, then check that your software can export exactly that format and lets timekeepers pick codes when they enter time, not afterward.

A desk with a calculator, notebook and printed charts beside a laptop
Payments and trust

How should billing software handle online payments and trust money?

Online payments speed up collections, but they create the most common trust accounting mistake: money landing in the wrong account. ABA Model Rule 1.15(a) asks a lawyer to hold client property “separate from the lawyer’s own property,” and Rule 1.15(c) says a lawyer “shall deposit into a client trust account legal fees and expenses that have been paid in advance, to be withdrawn by the lawyer only as fees are earned or expenses incurred” (ABA Model Rule 1.15).

In practice, billing software should:

  • Send a retainer or advance payment to the trust account, and a payment of an already-earned invoice to operating.
  • Record each payment against the client’s trust ledger or the invoice it settles.
  • Pay an invoice from trust only for fees that are billed and earned, and show the client what was applied.
  • Make card processing fees visible. Rule 1.15(b) lets a lawyer put the lawyer’s own funds into trust only to pay bank service charges on that account, so ask your state bar how card fees on trust deposits should be handled.

For ledgers and reconciliation, read the IOLTA trust accounting guide.

A person holding a payment card next to a card reader
Checklist

What should you check before choosing legal billing software?

Question to askWhy it matters
Can one matter carry hourly, flat and contingency terms?Hybrid agreements are common, and invoices must follow the agreement
Are rates stored per timekeeper and per matter, with history?Rule 1.5(b): rate changes must be communicated, so you need a record
Does it track expenses on contingency matters and produce a closing statement?Rule 1.5(c) written statement at the end of the matter
Can it export the LEDES format and UTBMS code set your clients require?E-billing clients may reject invoices in the wrong format
Does each online payment go to trust or operating by rule, not by hand?Rule 1.15(c): advance fees belong in trust until earned
Can invoices be paid from trust, with the client ledger updated?Keeps trust ledgers and invoices in agreement
Are write-downs and write-offs recorded, not deleted?Realization reporting and an honest audit trail
Does it report collections and aged receivables by matter and client?Shows where cash is stuck

To compare what a matter earns under different fee models, try the law firm billing calculator.

Perimattic

How does Perimattic Legal Practice Management handle billing?

Perimattic Legal Practice Management is practice management for small and mid-size US law firms. What it does for billing:

  • Time tracking with timers and tenth-of-an-hour (6-minute) entries, plus expense tracking.
  • Billing for hourly, flat-fee and contingency matters, with invoices and online payments.
  • Trust (IOLTA) accounting with a separate trust ledger per client and three-way reconciliation reports.
  • A client portal for secure messages and documents, including invoices.
  • Reporting on utilization, realization, collections and aged receivables.

LEDES export and subscription billing are not included.

General information, not legal advice. ABA Model Rules quoted as published on americanbar.org, checked October 22, 2026. Each state adopts its own version of the rules; follow your state bar’s rules and guidance.

A laptop on a glass table showing a data dashboard
FAQs

Legal billing software, answered

Does the ABA require fee agreements to be in writing?

Under ABA Model Rule 1.5(b), the scope of the representation and the basis or rate of the fee and expenses must be communicated to the client, preferably in writing. Under Rule 1.5(c), a contingent fee agreement must be in a writing signed by the client. Your state adopts its own version of the rule, so check your state bar’s rules.

What is LEDES billing?

LEDES is a set of open file formats for sending legal invoices electronically, maintained by the LEDES Oversight Committee, a voluntary not-for-profit organization. Formats include LEDES 98B, 98BI, LEDES 2000 and LEDES XML. Invoices in these formats often carry UTBMS codes, which classify the task, activity and expense behind each line.

Can client card payments go straight into the operating account?

Only when the money is already earned. ABA Model Rule 1.15(c) says legal fees and expenses paid in advance go into a client trust account and are withdrawn only as fees are earned or expenses incurred. Billing software should let you send each payment to the right account, and record which one it went to.

Talk to our team

Want time, invoices, payments and trust in one place?

Sign up and tell us how your firm runs matters and billing. Our team will get in touch to set you up.

Sign up