---
title: "Get unbilled items for a patient (dispensed medications not yet on an invoice)"
method: GET
path: "/Patients/{id}/unbilled-items"
tags: ["Patients"]
---

# Get unbilled items for a patient (dispensed medications not yet on an invoice)

`GET /Patients/{id}/unbilled-items`

## Path parameters

- `id` string, required

## Response `200`

OK

- DispensedItemDto[]
  - `transactionId` string
  - `inventoryItemId` string
  - `itemName` string
  - `sku` string, nullable
  - `category` string
  - `quantity` union
    - number, double
    - string, double
  - `unitCost` union
    - number, double
    - string, double
  - `calculatedPrice` union
    - number, double
    - string, double
  - `dispenseFee` union
    - number, double
    - string, double
  - `pricePolicy` string
  - `isTaxable` boolean
  - `lotNumber` string, nullable
  - `transactionDate` string, date-time
  - `notes` string, nullable
  - `markedForBilling` boolean — Whether this item is marked for billing (should appear on invoice). User-controlled toggle for samples, comped items, etc.
  - `isOnInvoice` boolean — Whether this item has already been added to an invoice (InvoiceLineItem exists).
  - `invoiceLineItemId` string, nullable
  - `dispenseType` string — Type of dispense: InHouse (administered now) or Prescription (take-home).
  - `prescriptionId` string, nullable
  - `dosage` string, nullable
  - `frequency` string, nullable
  - `refillsRemaining` union
    - integer
    - string, int32
  - `appointmentId` string, nullable — The appointment this dispense is tied to, if any. Null for walk-in/OTC dispenses made outside an appointment context.
  - `patientId` string, nullable

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/a905bde4e796/schema)
