GET
/
matters
/
{matterId}
/
expenses
curl --request GET \
  --url https://api.smokeball.com/matters/{matterId}/expenses \
  --header 'Authorization: <api-key>' \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET",
  "self": {
    "id": "<string>",
    "href": "<string>",
    "relation": "<string>",
    "method": "GET"
  },
  "value": [
    {
      "id": "<string>",
      "href": "<string>",
      "relation": "<string>",
      "method": "GET",
      "self": {
        "id": "<string>",
        "href": "<string>",
        "relation": "<string>",
        "method": "<string>"
      },
      "versionId": "23d2a4bc-8529-462e-8560-dfbf4fa24e49",
      "createdByUserId": "8a7f40ea-4123-4ebe-bb05-e9b4b666e706",
      "staff": {
        "id": "<string>",
        "href": "<string>",
        "relation": "<string>",
        "method": "<string>"
      },
      "matter": {
        "id": "<string>",
        "href": "<string>",
        "relation": "<string>",
        "method": "<string>"
      },
      "staffId": "<string>",
      "matterId": "<string>",
      "invoiceId": "fdb766bc-eb20-4bc1-9417-08b51a7b2286",
      "origin": "<string>",
      "activityCode": "PRT",
      "utbmsTaskCode": "E101",
      "subject": "Review contract",
      "description": "Print documents",
      "expenseDate": "2022-07-01",
      "quantity": 3,
      "price": 350.32,
      "amount": 900.21,
      "amountExcTax": 810.01,
      "amountIncTax": 900.21,
      "tax": 90,
      "taxInclusive": false,
      "finalized": false,
      "isWrittenOff": false,
      "isBillable": false,
      "isInvoicedExternally": false,
      "isDeleted": false
    }
  ],
  "offset": 123,
  "limit": 123,
  "size": 123,
  "first": {
    "id": "<string>",
    "href": "<string>",
    "relation": "<string>",
    "method": "<string>"
  },
  "previous": {
    "id": "<string>",
    "href": "<string>",
    "relation": "<string>",
    "method": "<string>"
  },
  "next": {
    "id": "<string>",
    "href": "<string>",
    "relation": "<string>",
    "method": "<string>"
  },
  "last": {
    "id": "<string>",
    "href": "<string>",
    "relation": "<string>",
    "method": "<string>"
  }
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

matterId
string
required

Query Parameters

Offset
integer
Required range: 0 <= x <= 2147483647
Limit
integer
Required range: 1 <= x <= 500
UpdatedSince
integer

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

Response

200 - application/json

When request is successful. Returns a list of 'Expense' objects.

The response is of type object.