---
title: "Get a paginated list of estimates with optional filters"
method: GET
path: "/Invoices"
tags: ["Invoices"]
---

# Get a paginated list of estimates with optional filters

`GET /Invoices`

## Query parameters

- `status` string
- `clientId` string
- `patientId` string
- `fromDate` string, date-time
- `toDate` string, date-time
- `page` union
  - integer
  - string, int32
- `pageSize` union
  - integer
  - string, int32

## Response `200`

OK

- InvoiceListResponseDto
  - `items` InvoiceSummaryDto[]
    - `id` string
    - `invoiceNumber` string
    - `clientName` string, nullable
    - `patientId` string, nullable — The invoice's patient, if any (null for client-only/POS bills).
    - `patientName` string, nullable
    - `status` string
    - `totalAmount` union
      - number, double
      - string, double
    - `sourceEstimateId` string, nullable — The estimate this invoice was converted from, or null for ad-hoc bills created directly (payments panel Invoices tab). The Estimates &amp; Invoices panels use it to avoid double-listing bills already represented by their estimate row.
    - `mergedIntoInvoiceId` string, nullable — When this invoice was combined into another bill, the successor combined invoice's id (the invoice is then Superseded). Grouping key for the nested combined view.
    - `mergedIntoInvoiceNumber` string, nullable — Human-readable number of the combined (successor) invoice.
    - `mergedIntoInvoiceStatus` string, nullable — Status of the combined (successor) invoice.
    - `orderDiscountAmount` union — Order-level discount-code amount on this invoice (0 when none). Surfaced on the summary so the Combine Invoices modal can warn that a source carries one and offer to carry it onto the merged bill. Excludes rule-engine order discounts.
      - number, double
      - string, double
    - `itemCount` union
      - integer
      - string, int32
    - `createdAt` string, date-time
  - `total` union
    - integer
    - string, int32

## Other responses

- `400` — Bad Request

---

[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/versions/a905bde4e796/schema)
