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.
View as MarkdownAuthorization
bearer In: header
Query Parameters
datedateValue in
- "true"
- "false"
Response Body
text/csv
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/reports/expenses.csv""string"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.
Mark a window of time invoiced or paid
Owner or admin only. Moves finished billable entries in the window one step: unbilled to invoiced, or invoiced to paid. In a team workspace that is every member's time in the workspace; elsewhere it is the caller's own. Exactly one of clientId or projectId. Running entries and non-billable entries are left alone. In a team workspace, unbilled time is invoiced only when its week is an approved timesheet. Other entries in the window are counted in skipped, and the call is 409 when none of them are approved. Does not number or send an invoice.