---
title: "Get Revenue Breakdown Group Summaries"
method: GET
path: "/analytics/dashboards/product-sales-breakdown/revenue-breakdown-group-summaries"
tags: ["provider", "analytics"]
---

# Get Revenue Breakdown Group Summaries

`GET /analytics/dashboards/product-sales-breakdown/revenue-breakdown-group-summaries`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/analytics/dashboards/product-sales-breakdown/revenue-breakdown-group-summaries`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/analytics/dashboards/product-sales-breakdown/revenue-breakdown-group-summaries/get.ts> (a function with typed inputs; its response is checked against the schema)

Get summary statistics for each group in the revenue breakdown.

## Query parameters

- `group_by` 'location' | 'provider' | 'item_category' | 'payment_medium' | 'created_date', required
- `timezone` string, required: Timezone for date grouping (e.g., 'America/New_York', 'UTC')
- `sort_by` string
- `sort_direction` 'asc' | 'desc'
- `start_date` string, nullable
- `end_date` string, nullable
- `location_ids` string[], nullable
- `location_names` string[], nullable
- `provider_ids` string[], nullable
- `provider_names` string[], nullable
- `patient_ids` string[], nullable
- `patient_names` string[], nullable
- `item_categories` string[], nullable
- `item_types` string[], nullable
- `item_names` string[], nullable
- `payment_mediums` string[], nullable
- `min_net_amount` integer, nullable
- `max_net_amount` integer, nullable
- `comment` string, nullable

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- DecodaAppsApiRoutesAnalyticsDashboardsProductSalesBreakdownGroupSummary[]
  - `groupKey` string, required: The group key this summary belongs to
  - `totalItems` integer, required: Total number of items in this group
  - `totalQuantity` integer, required: Total quantity (formatted)
  - `totalGrossAmount` integer, required: Total gross amount (formatted as currency)
  - `totalItemDiscountAmount` integer, required: Total item-level discount amount (formatted as currency)
  - `totalChargeDiscountAmount` integer, required: Total charge-level discount amount (formatted as currency)
  - `totalTaxAmount` integer, required: Total tax amount (formatted as currency)
  - `totalNetAmount` integer, required: Total net amount (formatted as currency)
  - `uniquePatients` integer, required: Number of unique patients
  - `uniqueProviders` integer, required: Number of unique providers
  - `uniqueLocations` integer, required: Number of unique locations

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
