---
title: "One clinician's cash collections for a month, quarter or year to date, beside the practice's"
method: GET
path: "/companies/{companyId}/metrics/practice/collections"
tags: ["Overview"]
---

# One clinician's cash collections for a month, quarter or year to date, beside the practice's

`GET /companies/{companyId}/metrics/practice/collections`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/companies/{companyId}/metrics/practice/collections`
- Auth: HTTP bearer

#4967 (Augusto, #4092 c7008792485): from the current approved practice packet's monthly collections rows. Cash basis: a payment counts in the month it is paid, a refund in the month it is refunded, processor overlap removed before approval. `period` is `month`, `quarter_to_date` (from the first month of `month`'s calendar quarter) or `year_to_date` (from January), whole months only. A window partly covered is answered for its covered months (`window.partial`, `coveredFrom`, `coveredThrough`); otherwise `unavailable` with `no_packet`, `no_monthly_collections` or `not_covered`, every figure null. Nothing is interpolated. Labelled collections, never profit or owner pay. `practiceCollections` is the whole practice, payments tied to no clinician included (median-ops #599); `unattributedCollections` is that part on its own ("Not tied to a clinician"), zero when the packet records none and null when unavailable. `shareBasisPoints` is the therapist's net over the practice's net, half up, null unless the practice net is positive. A therapist the current packet does not name is refused (422). Human sessions only (API keys 403). 404 unless `practice_metrics` is in the company's `additionalMetrics` list.

## Path parameters

- `companyId` string, uuid, required

## Query parameters

- `therapist` string, required
- `period` 'month' | 'quarter_to_date' | 'year_to_date', required
- `month` string, required

## Response `200`

The clinician's and the practice's collections for the window, or why they are unavailable

- PracticeCollectionsResponse
  - `success` true, required
  - `data` object, required
    - `status` 'ok' | 'unavailable', required
    - `reason` 'no_packet' | 'no_monthly_collections' | 'not_covered' | 'null', nullable, required
    - `basis` 'cash', required
    - `therapist` object, nullable, required
      - `key` string, required
      - `label` string, required
    - `window` object, required
      - `period` 'month' | 'quarter_to_date' | 'year_to_date', required
      - `month` string, required
      - `start` string, date, required
      - `end` string, date, required
      - `coveredFrom` string, date, nullable, required
      - `coveredThrough` string, date, nullable, required
      - `partial` boolean, required
    - `currency` string, nullable, required
    - `therapistCollections` PracticeCollectionsFigures, nullable, required: #4967: cash collections in integer cents of `currency`; null when unavailable. netCents is gross less refunds and can be negative.
      - `grossCents` integer, required
      - `refundsCents` integer, required
      - `netCents` integer, required
    - `practiceCollections` PracticeCollectionsFigures, nullable, required: #4967: cash collections in integer cents of `currency`; null when unavailable. netCents is gross less refunds and can be negative.
      - `grossCents` integer, required
      - `refundsCents` integer, required
      - `netCents` integer, required
    - `unattributedCollections` PracticeCollectionsFigures, nullable, required: #4967: cash collections in integer cents of `currency`; null when unavailable. netCents is gross less refunds and can be negative.
      - `grossCents` integer, required
      - `refundsCents` integer, required
      - `netCents` integer, required
    - `shareBasisPoints` integer, nullable, required
    - `source` object, nullable, required
      - `packetId` string, required
      - `approvedAt` string, date-time, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: practice_metrics is not in this company's additionalMetrics list
- `422`: Validation error

## Changes

- **2026-11-19** `4221d727b94f`: 1 info
  - added the required property `data/unattributedCollections` to the response with the `200` status
- **2026-11-19** `fd3e388e1643`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/companies/:companyId/metrics/practice/collections/get.md)

---

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