On this page6 sections
POST/api/reports/sales-summaryReportsPermission: reports.view
Get Realtime Sales Summary Report
Generates paginated sales summary rows filtered by server persistence timestamp (`Invoice.createdAt`), outlet scope, and search query.
Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).
Outlet Scope Enforcement: Results and mutations are automatically scoped to the actor's accessible outlets when the
reportsmodule restriction applies.
Request
Provide the following fields in the request payload.
startDatestring (date-time)optional
start Date parameter.
endDatestring (date-time)optional
end Date parameter.
outletIdstring (uuid)optional
outlet Id parameter.
outletstringoptional
outlet parameter.
categorystringoptional
category parameter.
querystringoptional
query parameter.
pageIndexinteger | nulloptionaldefault: 0
page Index parameter.
pageSizeintegeroptionaldefault: 20
page Size parameter.
Responses
Select a status code to inspect schema.
OK — Sales summary report retrieved.application/json
successenum('true')
Success (true).
messagestring
Message.
dataobject | null
Response payload or null.
POST/api/reports/sales-summary
curl -X POST "https://api.invoger.com/api/reports/sales-summary" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{ "startDate": "2026-11-01T00:00:00.000Z", "endDate": "2026-11-26T23:59:59.999Z", "pageIndex": 0, "pageSize": 20 }'Interactive playground
Response
application/json
{
"success": true,
"message": "Success",
"data": {
"rows": [],
"total": 0,
"totalRevenue": 0
}
}