GET
/
matters
/
{matterId}
/
expenses
/
{id}
curl --request GET \
  --url https://api.smokeball.com/matters/{matterId}/expenses/{id} \
  --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"
  },
  "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
}

Authorizations

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

Path Parameters

id
string
required
matterId
string
required

Response

200
application/json

When request is successful. Returns a 'Expense' object.

The response is of type object.