Get a list of expenses
query Parameters
startDate
string · dateOnly return expenses that are dated after or including this date
endDate
string · dateOnly return expenses that are dated before or including this date
userId
string · uuidOnly return expenses that are associated with this user
matterId
string · uuidOnly return expenses that are associated with this matter
clientId
string · uuidOnly return expenses that are associated with this client
billed
booleanReturn items based on whether they are billed or not
select
stringUsed to include additional detail in the response with a comma separated list of object identifiers.. Fields can be prefixed with a minus sign to exclude them. Supported fields: client, matter, user, meta
sort
stringSorting parameters for expenses. Supported sort fields: date, amount, description Example: "-date,amount" sorts by date descending, then amount ascending
limit
integer · int32Maximum number of items to return (default: 1000)
offset
integer · int32Number of items to offset (default: 0)
modifiedSince
string · date-timeOnly return results that have the ModifiedDate property after this date and time (optional)
Responses
OK
data
array | nullThe list of items returned by the API
pagination
objectPagination information
Create a new expense
Request Body
matterId
string · uuid · requiredThe matter is required.
date
string · date · requiredThe date of the expense. Required
description
string · minLength: 1 · requiredThe description of the expense. Required
amount
number · double · requiredThe amount of the expense (Required)
userId
string | null · uuidThe user associated with the expense. If ommitted, the expense with associated with the firm
expenseCode
string | nullLEDES activity code
Responses
OK
Update an expense
Updating an expense is only possible if it has not been billed (added to an invoice). The update is "sparse", where only the fields that are provided in the request will be updated.
path Parameters
id
string · uuid · requiredThe id of the expense to update
Request Body
matterId
string | null · uuidUpdate the matter of the expense.
userId
string | null · uuidUpdate the user of the expense.
date
string | null · dateUpdate the date of the expense
description
string | nullUpdate the description of the expense, provide null to keep the current description
amount
number | null · doubleUpdate the amount of the expense, provide null to keep the current amount
expenseCode
string | nullLEDES expense code
Responses
OK