Add LEDES Electronic Billing Codes to an Existing Matter

Have you ever had to add all LEDES “L” Codes to the Phase tab of Billing Preferences for an already billable Matter? What a tedious job!

You can avoid the tedium.

Adding Electronic Billing Preferences to a new Matter is easy. You are prompted to apply one of your Billing Preferences templates. It contains the dozens of Phase Codes (LEDES “L” codes).

If a Matter already has Billing Preferences but no Phases, you have to add each of the Phases manually to the Phase tab:

Add Phase code to a Matter

Add Phase code to a Matter

A time-saving shortcut involves using MS SQL Server Studio to delete the existing Billing Preferences. Once they are deleted you may reapply an entire Billing Preferences template, including its list of Phase Codes of any length.

Use the following query to check for the presence of Billing Preferences already linked to a particular Matter where 1234 is the Matter Number:

-- Run a check on the presence of 
-- a Matter's Billing Preferences
SELECT MAT.mat_no, BILO.sysid as 'billopt sysid'
FROM lntmuid.matter MAT
INNER JOIN lntmuid.billopt BILO
ON MAT.sysid = BILO.owner_id
where MAT.mat_no = '1234'

Warning: Don’t experiment with SQL queries on your real database. You can do serious damage if you don’t know what you’re doing. Also, if you do know or think you know! Especially hazardous are DELETE queries, such as the next one shown. That is why it is important to run a query like the one above to check that you have selected the single, correct record to delete.

To delete the link to the existing Billing Preferences for a Matter, in this case, Matter Number 1234, run this query:

-- Delete the Billing Preferences
-- for a Matter.
DELETE BILO
FROM lntmuid.matter MAT
INNER JOIN lntmuid.billopt BILO
ON MAT.sysid = BILO.owner_id
where MAT.mat_no = '1234'

After running the query, open the Matter record. Uncheck the Billable box and then check it. Choose Billing Preferences from the Edit menu of the Matter record. You should be prompted to choose one of the Billing Preferences templates. Choosing one with Phases already entered will apply them to your Matter.

Now you also need to tweak the Billing Preferences with any settings particular to this Matter and not found in the Billing Preferences Template.

This tip works equally well for any set of Phases that need to be added to an existing Matter. Just keep in mind that all the Matter’s Billing Preferences will be removed and you’ll have to add them back with a Billing Preferences Template or manually.