Get a list of expenses
query Parameters
startDatestring · dateOnly return expenses that are dated after or including this date
endDatestring · dateOnly return expenses that are dated before or including this date
userIdstring · uuidOnly return expenses that are associated with this user
matterIdstring · uuidOnly return expenses that are associated with this matter
clientIdstring · uuidOnly return expenses that are associated with this client
billedbooleanReturn items based on whether they are billed or not
selectstringUsed 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
sortstringSorting parameters for expenses. Supported sort fields: date, amount, description Example: "-date,amount" sorts by date descending, then amount ascending
limitinteger · int32Maximum number of items to return (default: 1000)
offsetinteger · int32Number of items to offset (default: 0)
modifiedSincestring · date-timeOnly return results that have the ModifiedDate property after this date and time (optional)
Responses
OK
dataarray | nullThe list of items returned by the API
paginationobjectPagination information
Create a new expense
Request Body
matterIdstring · uuid · requiredThe matter is required.
datestring · date · requiredThe date of the expense. Required
descriptionstring · minLength: 1 · requiredThe description of the expense. Required
amountnumber · double · requiredThe amount of the expense (Required)
userIdstring | null · uuidThe user associated with the expense. If ommitted, the expense with associated with the firm
expenseCodestring | 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
idstring · uuid · requiredThe id of the expense to update
Request Body
matterIdstring | null · uuidUpdate the matter of the expense.
userIdstring | null · uuidUpdate the user of the expense.
datestring | null · dateUpdate the date of the expense
descriptionstring | nullUpdate the description of the expense, provide null to keep the current description
amountnumber | null · doubleUpdate the amount of the expense, provide null to keep the current amount
expenseCodestring | nullLEDES expense code
Responses
OK