LeanLaw Concepts
This page discusses some specific concepts in LeanLaw that are helpful to understand to use the API effectively.
Clients and Matters
Most things in LeanLaw revolve around clients and matters.
-
All matters are associated with exactly one client (and by extension, a client have zero or more matters)
-
All matters have exactly one responsible user assigned
-
One or more users are assigned to a matter. In some firms, all users are assigned to all matters, but in some cases users are only assigned to the ones they are working on.
Law firms may have ids associated with clients and/or matters that they use to identify them. These ids are referred to in the API as "reference". In LeanLaw's UI, they are called "Client ID" or "Matter ID". This should not be confused with the internal GUIDs used for all resources in the API. For example, here is JSON representing a matter in the system
Code
The internal LeanLaw ids (GUIDs) that are used by the API are seen as the matterId
and clientId
in the JSON object.
The Matter ID as known by users of the firm is seen in the reference
property as "25-0912".
In this case, the firm has a reference on the matter, but not on the client. In some firms, there are references on both, and in other firms on neither.
Billable Items
Billable items are one of the following types, each with their own set of endpoints in the system:
-
Time entries
-
Expenses
-
Fixed Fees
Some things to be aware of with billable items:
-
They are always assigned a date
-
They always have a description
-
They are associated with exactly one matter (and by extension, its client)
-
Time entries always has a user assigned; expenses and fixed fees optionally have a user