LeanLaw Developer Platform
LeanLaw API

FixedFee

Endpoint:https://api.leanlaw.io

Get a list of fixed fees

GET
https://api.leanlaw.io
/v2/fixed-fees

Get a list of fixed feesquery Parameters

  • startDatestring · date

    Only return fixed fees that are dated after or including this date

  • endDatestring · date

    Only return fixed fees that are dated before or including this date

  • userIdstring · uuid

    Only return fixed fees that are associated with this user

  • matterIdstring · uuid

    Only return fixed fees that are associated with this matter

  • clientIdstring · uuid

    Only return fixed fees that are associated with this client

  • billedboolean

    Filter based on whether fixed fee was billed or not

  • selectstring

    Used 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

  • sortstring

    Sorting parameters for fixed fees. Supported sort fields: date, amount, description Example: "-date,amount" sorts by date descending, then amount ascending

  • limitinteger · int32

    Maximum number of items to return (default: 1000)

  • offsetinteger · int32

    Number of items to offset (default: 0)

  • modifiedSincestring · date-time

    Only return results that have the ModifiedDate property after this date and time (optional)

Get a list of fixed feesResponses

OK

  • dataarray | null

    The list of items returned by the API

  • paginationobject

    Pagination information


Create a new fixed fee

POST
https://api.leanlaw.io
/v2/fixed-fees

Create a new fixed feeRequest Body

  • matterIdstring · uuid · required

    The matter is required.

  • datestring · date · required

    The date of the fixed fee. Required

  • descriptionstring · minLength: 1 · required

    The description of the fixed fee. Required

  • amountnumber · double · required

    The amount of the fixed fee (Required)

  • userIdstring | null · uuid

    The user associated with the fixed fee. If ommitted, the fixed fee with associated with the firm

  • activityCodestring | null

    LEDES activity code

  • taskCodestring | null

    LEDES task code

Create a new fixed feeResponses

OK

No data returned

Get a fixed fee by id

GET
https://api.leanlaw.io
/v2/fixed-fees/{id}

Get a fixed fee by idpath Parameters

  • idstring · uuid · required

    The id of the fixed fee

Get a fixed fee by idResponses

OK

  • dataobject

Update a fixed fee

PUT
https://api.leanlaw.io
/v2/fixed-fees/{id}

Updating a fixed fee 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.

Update a fixed feepath Parameters

  • idstring · uuid · required

    The id of the fixed fee to update

Update a fixed feeRequest Body

  • datestring | null · date

    The date of the fixed fee.

  • matterIdstring | null · uuid

    The matter that the fixed fee is associated with.

  • userIdstring | null · uuid

    The user that the fixed fee is associated with.

  • descriptionstring | null

    The description of the fixed fee.

  • amountnumber | null · double

    The amount of the fixed fee

  • activityCodestring | null

    LEDES activity code

  • taskCodestring | null

    LEDES task code

Update a fixed feeResponses

OK

No data returned

Delete a fixed fee

DELETE
https://api.leanlaw.io
/v2/fixed-fees/{id}

Deleting a fixed fee will remove it from the system permanently. Fixed fees that have been billed (added to an invoice) or that are assigned to time entries cannot be deleted.

Delete a fixed feepath Parameters

  • idstring · uuid · required

    The id of the fixed fee to delete

Delete a fixed feeResponses

OK

No data returned