Expense report
Totals over the caller's own expenses for the same filters as the list. Unlike the list, this is not capped at 500 (hard cap 10000). byClient, byProject and byType are ordered by total descending. byDay is ordered by date ascending. A missing client or project is one row named "No client" or "No project" with a null id.
View as MarkdownAuthorization
bearer In: header
Query Parameters
datedateValue in
- "true"
- "false"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/reports/expenses"{ "total": 0, "billable": 0, "nonBillable": 0, "count": 0, "byClient": [ { "clientId": "string", "name": "string", "total": 0, "billable": 0, "count": 0 } ], "byProject": [ { "projectId": "string", "name": "string", "total": 0, "billable": 0, "count": 0 } ], "byType": [ { "type": "string", "name": "string", "total": 0, "billable": 0, "count": 0 } ], "byDay": [ { "date": "2019-08-24", "total": 0, "count": 0 } ]}Remove a receipt
Owner-scoped. No receipt is a success and leaves the expense in place.
Expense report as CSV
The same window as the JSON report, one row per expense, oldest first. Columns: date, type, client, project, pricing, quantity, unit_rate, amount, billable, note, receipt. A value that would be a spreadsheet formula is prefixed with an apostrophe.