Harvest icon

Harvest

Interact with Harvest API for time tracking and invoicing

Report → Get Expense Report by Team

AI-generated

Summary

Retrieve an expense report grouped by team members for a specified date range from the Harvest system.

Inputs

  • From Date (required) — Start date for the report in YYYY-MM-DD format.
  • To Date (required) — End date for the report in YYYY-MM-DD format.
  • Options — Additional options including pagination: 'Page' (page number) and 'Per Page' (number of records per page, max 2000).

Output shape

a list of expense report records grouped by team members

The returned data is paginated according to 'Page' and 'Per Page' options. Each record represents aggregated expense information for a team member within the specified date range. Errors are thrown if the API call fails.

Examples

Example 1: Fetch expenses by team members from January 1 to January 31, 2024

Set From Date to '2024-01-01', To Date to '2024-01-31', set Page to 1 and Per Page to 100 for initial results.

Discussion