GET
/
matters
/
{matterId}
/
invoices
curl --request GET \
  --url https://api.smokeball.com/matters/{matterId}/invoices \
  --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": [
    {
      "status": "Paid",
      "description": "<string>",
      "total": 1899,
      "lineItems": [
        {
          "product": {
            "id": "<string>",
            "href": "<string>",
            "relation": "<string>",
            "method": "<string>"
          },
          "description": "<string>",
          "interval": "<string>",
          "amount": 109,
          "tax": 10.9,
          "preTaxCredit": 200,
          "quantity": 3
        }
      ],
      "createdDate": "2022-04-23T14:00:00Z"
    }
  ],
  "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

The unique identifier of the matter that the invoice belongs to.

Query Parameters

updatedSince
integer

Timestamp in ticks. Use this to only get invoices which have been updated

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

Response

200 - application/json

Returns the invoices

The response is of type object.