EaserixDocs
DevelopersAPI referenceCronCrunchExpenses

List expenses

The caller's own expenses, newest first, at most 500. from and to are inclusive calendar dates (YYYY-MM-DD) on spentOn. Sharing a project never adds a teammate's expenses.

View as Markdown
GET
/v1/expenses
AuthorizationBearer <token>

In: header

Query Parameters

from?string
Formatdate
to?string
Formatdate
clientId?string
projectId?string
type?string
billable?string

Value in

  • "true"
  • "false"

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/expenses"
{  "expenses": [    {      "id": "string",      "clientId": "string",      "clientName": "string",      "projectId": "string",      "projectName": "string",      "projectColor": "string",      "spentOn": "2019-08-24",      "pricing": "amount",      "amount": 0,      "quantity": 0,      "unitRate": 0,      "type": "string",      "billable": true,      "note": "string",      "hasReceipt": true,      "receipt": {        "contentType": "string",        "sizeBytes": 0,        "filename": "string",        "url": "string"      },      "created": "2019-08-24T14:15:22Z"    }  ]}