Harvest icon

Harvest

Interact with Harvest API for time tracking and invoicing

Report → Get Expense Report by Client

AI-generated

Summary

Retrieve an expense report grouped by client from the Harvest API within a specified date range.

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 — Optional parameters for pagination including page number and number of records per page (max 2000)

Output shape

a list of expense report items grouped by client

The results support pagination via the 'page' and 'perPage' options, defaulting to page 1 and 100 records per page. The returned array contains objects representing aggregated expense data by client for the specified date range. Errors during API requests will be thrown unless continuation on failure is enabled.

Discussion