LeanLaw Developer Platform
LeanLaw API

Invoice

Endpoint:https://api.leanlaw.io

Get a list of invoices

GET
https://api.leanlaw.io
/v2/invoices

Listing invoices can be used to see either billed or collected in the system, including balance due to for clients.

Get a list of invoicesquery Parameters

  • startDatestring · date

    Filter invoices by start date (inclusive)

  • endDatestring · date

    Filter invoices by end date (inclusive)

  • invoiceStatestring · enum

    Filter invoices by state (draft, review, approved, final)

    The state of an invoice

    Enum values:
    draft
    review
    approved
    final
  • clientIdstring · uuid

    Filter invoices by client ID

  • matterIdstring · uuid

    Filter invoices by matter ID

  • 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, meta

  • sortstring

    Sorting parameters for invoices. Supported sort fields: client.name, client.reference, date, amount, balance, invoicenumber, state Example: "client.name,-amount" sorts by client name, then amount descending

  • 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 invoicesResponses

OK

  • dataarray | null

    The list of items returned by the API

  • paginationobject

    Pagination information