Harvest icon

Harvest

Interact with Harvest API for time tracking and invoicing

Report → Get Expense Report by Category

AI-generated

Summary

Retrieve an expense report grouped by category for a specified date range from Harvest.

Inputs

  • From Date (required) — Start date for the report (YYYY-MM-DD format)
  • To Date (required) — End date for the report (YYYY-MM-DD format)
  • Options — Optional pagination parameters: page number and number of records per page (max 2000)

Output shape

a list of expense report entries grouped by category

Supports pagination via 'page' and 'perPage' options to retrieve multiple pages of report data.

Examples

Example 1: Retrieve expense report grouped by category for January 2024 with default pagination.

Set 'From Date' to '2024-01-01' and 'To Date' to '2024-01-31'. The output returns a list of expenses summarized by category within that period.

Discussion