
Legal billing codes are used to classify legal work, activities, and expenses in a structured way.
Instead of relying only on written descriptions, legal billing codes help law firms and clients organize invoice entries by work type, activity type, legal phase, or expense category.
For example, a legal invoice may include a code showing that time was spent on discovery, research, document drafting, case assessment, trial preparation, or client communication.
Legal billing codes are especially common in legal eBilling, outside counsel management, insurance defense billing, and corporate legal department workflows.
They help answer practical billing questions:
What kind of legal work was performed?
Which phase of the matter did the work belong to?
What activity did the lawyer complete?
What expenses were charged?
Are the entries consistent with client billing guidelines?
Can the client analyze legal spend more easily?
Legal billing codes do not replace clear time entry descriptions. They add structure to the invoice.
What Are Legal Billing Codes?
Legal billing codes are standardized or client-specific codes used to categorize legal time entries and expenses.
A legal time entry may include:
Client name
Matter name
Timekeeper
Date
Hours worked
Billing rate
Task code
Activity code
Expense code, if applicable
Narrative description
Example Task Discovery Activity Review or analyze Description: Reviewed document production set and analyzed privilege issues for response strategy.
The code explains the category. The narrative explains the actual work.
Why Legal Billing Codes Matter
Legal billing codes matter because legal invoices can become difficult to review when every entry is written differently.
Without consistent codes, clients may struggle to understand:
How much was spent on discovery
How much time went into drafting
How much work was related to trial preparation
Which tasks drove the largest legal spend
Which expenses should be reimbursed
Whether outside counsel followed billing guidelines
Billing codes make legal invoices easier to organize, review, audit, and analyze.
They are also useful for law firms. Codes can help firms understand where time is going, how matters are staffed, and whether certain types of work are creating billing friction.
Common Types of Legal Billing Codes
Legal billing codes usually fall into three major groups:
Task codesClassify the type or phase of legal work. Activity codesClassify what the timekeeper did. Expense codesClassify costs that appear on the invoice.
Some firms and clients may also use matter codes, phase codes, timekeeper codes, internal project codes, or client-specific billing codes.
The most common legal billing code structure is connected to UTBMS codes, which are used to classify legal services performed by legal vendors in electronic invoice submissions.

Legal Task Codes
Legal task codes classify the type or phase of legal work.
In litigation, task codes may identify whether the work relates to case assessment, pleadings, discovery, trial preparation, trial, or appeal.
Examples of legal task categories include:
Case assessment
Fact investigation
Legal research
Pleadings
Written discovery
Document production
Depositions
Trial preparation
Appeal
Task codes are useful because they show what part of the matter consumed time. For more detail, see UTBMS task codes.
Legal Activity Codes
Legal activity codes classify what the timekeeper did.
Common legal activity categories include:
Plan and prepare
Research
Draft or revise
Review or analyze
Communicate with client
Communicate within firm
Communicate with external parties
Attend or appear
Manage data or files
A task code explains the legal work area. An activity code explains the action performed.
Example Task: Discovery Activity: Research Description: Researched discovery obligations related to electronically stored information.
For deeper examples, see UTBMS activity codes.
Legal Expense Codes
Legal expense codes classify costs that appear on a legal invoice.
Common legal expense categories may include:
Court fees
Filing fees
Copying
Printing
Postage
Delivery services
Travel
Meals
Online research
Deposition transcripts
Expert costs
Mediation or arbitration fees
Litigation support vendors
Expense code rules often vary by client. Some clients reimburse certain expenses. Others restrict them or require pre-approval.
Law firms should always follow the client's billing guidelines before submitting expenses. For more detail, see UTBMS expense codes.
UTBMS Legal Billing Codes
UTBMS stands for Uniform Task Based Management System.
UTBMS codes are commonly used to classify legal tasks, activities, and expenses in legal eBilling. They are often used with LEDES invoice formats, especially when corporate legal departments, insurance companies, or legal operations teams require structured invoices.
For litigation, common task code groups include:
Group | Meaning |
L100 | Case Assessment, Development and Administration |
L200 | Pre Trial Pleadings and Motions |
L300 | Discovery |
L400 | Trial Preparation and Trial |
L500 | Appeal |
These codes help clients and law firms understand which legal work phase the time belongs to.

ABA Legal Billing Codes
ABA legal billing codes are often discussed together with UTBMS codes, especially in litigation billing.
The ABA describes the litigation task code system as enabling lawyers to budget and bill by litigation task, helping clients and counsel understand, manage, and conduct litigation.
In everyday legal billing discussions, people may use several overlapping terms:
ABA billing codes
ABA task codes
UTBMS codes
UTBMS litigation codes
Legal task codes
LEDES billing codes
The safest rule is simple: follow the code set required by the client's billing guidelines.
Legal Billing Codes and LEDES
LEDES stands for Legal Electronic Data Exchange Standard.
LEDES is not the same thing as a billing code system. It is a legal eBilling data exchange standard used to submit invoice information in a structured electronic format.
LEDES defines the invoice format. UTBMS helps classify the work and expenses. Legal billing codes give structure to the invoice entries.
A client may require a law firm to submit LEDES invoices with UTBMS task, activity, and expense codes.
Legal Billing Codes vs Billing Descriptions
Legal billing codes and billing descriptions work together.
The code classifies the work. The description explains the work.
A code alone is not enough.
Weak example Code: L310 Description: Discovery.
Better example Code: L310, A104 Description: Reviewed plaintiff's document production and analyzed privilege issues for discovery response strategy.
The stronger example gives the reviewer more context. It explains what was done and why it mattered. For related guidance, see legal billing descriptions.
Examples of Legal Billing Codes in Time Entries
Example 1 Task code: L120 Activity code: A104 Description: Reviewed case timeline and analyzed potential settlement strategy based on newly received documents. Why it works: The task code identifies analysis and strategy, the activity code identifies review or analysis, and the description explains the actual work.
Example 2 Task code: L310 Activity code: A103 Description: Drafted responses to plaintiff's first set of interrogatories for partner review. Why it works: The task code identifies written discovery, the activity code identifies drafting or revising, and the description is specific.
Example 3 Task code: L330 Activity code: A101 Description: Prepared deposition outline for key witness examination. Why it works: The task code identifies depositions, the activity code identifies planning or preparation, and the description explains the purpose.
For more practical examples, see legal time entry examples.
Common Legal Billing Code Mistakes
Common mistakes include:
Using the same code for every entry
Choosing a task code that does not match the work
Forgetting activity codes when required
Using vague descriptions
Submitting block billed entries when the client prohibits them
Using expense codes incorrectly
Ignoring outside counsel guidelines
Assuming every client uses the same code rules
Coding entries too late from memory
Failing to train lawyers and staff on code usage
Billing codes only work if they are applied consistently.
Best Practices for Using Legal Billing Codes
Law firms can improve billing code quality by creating a clear process.
Recommended practices:
Review client billing guidelines before work begins.
Create internal examples for common matters.
Train lawyers and staff on frequently used codes.
Use both task and activity codes when required.
Write clear descriptions, not only codes.
Review time entries before invoice submission.
Track rejected invoices to find coding patterns.
Avoid generic descriptions.
Capture time as close to the work as possible.
Use timekeeping software that supports consistent entries.
The best billing code process is practical enough for lawyers to follow during daily work.
Do All Law Firms Need Legal Billing Codes?
No. Not every law firm needs legal billing codes for every client.
Legal billing codes are most common when a client requires structured billing, legal eBilling, LEDES invoices, insurance defense billing, or outside counsel guideline compliance.
Some smaller clients may only need a traditional invoice with clear descriptions.
However, even when billing codes are not required, the discipline behind them is useful. Clear categories and strong descriptions help law firms produce better invoices and understand their own work more clearly.
Legal Billing Codes and Billing Review
Legal billing codes can make billing review easier.
They help billing teams and clients identify:
Work categories
Matter phases
Activity types
Expense categories
Budget drivers
Billing guideline issues
Invoice review patterns
But codes do not fix poor timekeeping by themselves.
If the underlying time entry is late, vague, or incomplete, the invoice can still create questions. Good billing codes need good time capture and clear descriptions.
Legal Billing Codes and Time Entry Quality
The quality of a legal invoice starts before invoice review.
It starts when the time entry is created.
A good legal time entry should answer:
Who performed the work?
What was done?
Which matter was involved?
How much time was spent?
Which task or activity code applies?
Why was the work useful or necessary?
Legal billing codes help classify the work, but the timekeeper still needs to capture the work accurately and describe it clearly. This is where legal timekeeping software and legal time entry software can help.
Legal Billing Codes Summary
Legal billing codes help classify legal work and expenses.
Task codes explain the legal work category or matter phase.
Activity codes explain what the timekeeper did.
Expense codes explain the type of cost charged.
UTBMS is one of the most common legal billing code systems.
ABA litigation codes are often discussed as part of the UTBMS legal billing code structure.
LEDES is an eBilling format that may use billing codes in structured invoices.
Legal billing codes are useful, but they do not replace clear descriptions or accurate time capture.
For a connected workflow, explore Legal Time Entry Software for Lawyers.
Related Resources
Frequently Asked Questions
What are legal billing codes?
Legal billing codes are codes used to classify legal work, activities, or expenses in a legal invoice. They help law firms and clients organize billing entries in a more structured way.
What are legal billing codes used for?
Legal billing codes are used for invoice review, eBilling, legal spend analysis, outside counsel guideline compliance, budgeting, and matter reporting.
Are legal billing codes the same as UTBMS codes?
UTBMS codes are one common type of legal billing code system. Legal billing codes can also include client-specific codes, internal matter codes, expense codes, or other billing categories.
What are ABA legal billing codes?
ABA legal billing codes usually refer to task-based billing codes associated with legal work categories, especially litigation. They are often discussed together with UTBMS codes.
What is the difference between task codes and activity codes?
Task codes classify the type or phase of legal work. Activity codes classify the action performed, such as research, drafting, reviewing, communicating, or attending.
Do legal billing codes replace billing descriptions?
No. Legal billing codes classify the entry, but the billing description explains the actual work. A clear description is still important.
Are legal billing codes required for every law firm invoice?
No. Legal billing codes are usually required only when a client, insurer, legal operations team, or eBilling platform asks for them.
How can law firms improve legal billing code accuracy?
Law firms can improve accuracy by training timekeepers, reviewing client billing guidelines, using clear examples, capturing time promptly, and reviewing entries before invoice submission.

