v2

latestOpenAPI 3.0.12026-07-262352981007.0 KB
Expenses

Get expenses

Returns a list of expenses for the specified matter.

get/matters/{matterId}/expenses

Path parameters

matterIdstring required

Query parameters

Offsetinteger
Limitinteger
UpdatedSinceinteger

Returns expenses updated since a specified time (.net ticks representation of the UTC datetime).

Response

When request is successful. Returns a paged collection of 'Expense' objects.

idstring nullable
hrefstring nullable
relationstring nullable
methodstring nullable
offsetinteger nullable
limitinteger nullable
sizeinteger

Example response

{
  "value": [
    {
      "versionId": "23d2a4bc-8529-462e-8560-dfbf4fa24e49",
      "createdByUserId": "8a7f40ea-4123-4ebe-bb05-e9b4b666e706",
      "invoiceId": "fdb766bc-eb20-4bc1-9417-08b51a7b2286",
      "activityCode": "PRT",
      "utbmsTaskCode": "E101",
      "subject": "Review contract",
      "description": "Print documents",
      "expenseDate": "2022-07-01",
      "costType": "Hard",
      "quantity": 3,
      "price": 350.32,
      "amount": 900.21,
      "amountExcTax": 810.01,
      "amountIncTax": 900.21,
      "tax": 90,
      "outputTax": 85
    }
  ]
}