report_revenue_summary
Generate a revenue summary for orders invoiced within a date range, filtering by invoicedDate, aggregating by status and splitting paid vs unpaid. Pages all orders for consistent totals; inspect truncated flag.
Instructions
Generate a revenue summary for orders INVOICED within a date range (filtered on invoicedDate, not order creation date). Aggregates by status and splits paid vs. unpaid revenue. Pages the full order list each call for a consistent total — check the returned truncated flag if the shop is very large.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date in ISO 8601 format (e.g., "2026-04-30") | |
| startDate | Yes | Start date in ISO 8601 format (e.g., "2026-04-01") | |
| locationId | No | Filter by location ID. Defaults to SHOPMONKEY_LOCATION_ID env var if set. |