Expense
List expenses
Retrieves a paginated list of expenses. The list can be filtered by taskId and sorted by various criteria. Pagination is 1-based.
get/v1/expenses
Query parameters
taskIdstring
Task ID to filter expenses by
filterstring
Filter expenses by status: 'all', 'paid', 'unpaid'
sortstring
Sort field: 'date' for sort by date, 'created' for sort by creation time. Default is date.
orderstring
Sort order: 'asc' for ascending, 'desc' for descending. Default is asc.
pageinteger
Page number (1-based). Default is 1.
limitinteger
Number of items per page (1-100). Default is 20.
organizationIdstring
Organization ID. When set together with admin or invoicing permission on the organization, the response includes expenses across all teams in that organization (used by the document picker).
Response
List of expenses