---
title: "Select All"
method: GET
path: "/billing/invoice/select-all"
tags: ["provider", "billing"]
---

# Select All

`GET /billing/invoice/select-all`

## Query parameters

- `page` integer, nullable
- `per_page` integer, nullable
- `sort_by` string, nullable
- `sort_direction` 'asc' | 'desc', nullable
- `location_id` string, nullable
- `search_term` string, nullable
- `rule_set_id` string, nullable
- `status` InvoiceSetStatus[], nullable
- `amount` integer[], nullable
- `created_date` string[], nullable
- `send_time` string[], nullable
- `tz` string, nullable

## Headers

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

## Response `200`

Successful Response

- InvoiceSetForTable[]
  - `id` string, required
  - `status` 'ACTIVE' | 'PAUSED' | 'CANCELLED' | 'EXPIRED' | 'PAID' | 'WILL_FAIL' | 'FAILED', required — The status of an invoice set.
  - `resumedDate` string, date-time, nullable
  - `pausedDate` string, date-time, nullable
  - `createdDate` string, date-time, required
  - `updatedDate` string, date-time, nullable
  - `invoices` InvoiceForTable[], required
    - `id` string, required
    - `method` 'CHARGE_CARD' | 'SMS' | 'EMAIL' | 'CALL' | 'MAIL' | 'EXPIRY' — The method used to send an invoice to a patient.
    - `status` 'PENDING' | 'SENT' | 'FAILED' | 'PAUSED' | 'CANCELLED', required — The status of an invoice.
    - `rule` RuleDetails
      - `id` string, required
      - `name` string, required
      - `methods` InvoiceMethod[], required
      - `delayInDays` integer, required
      - `message` string, required
    - `amount` integer, required
    - `sendTime` string, date-time, nullable
    - `pausedDate` string, date-time, nullable
    - `resumedDate` string, date-time, nullable
    - `methodsAttempted` array[], required
      - unknown[]
        - unknown
    - `failedReason` string, nullable
    - `pdfPath` string, nullable
    - `emailStatus` string, nullable
    - `smsContent` string, nullable
    - `callStatus` string, nullable
  - `patient` PatientInvoicingDetails, required
    - `id` string, required
    - `firstName` string, required
    - `lastName` string, nullable
    - `phoneNumber` string, nullable
    - `email` string, nullable
    - `address` string, nullable
    - `addressLineTwo` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `zipCode` string, nullable
    - `country` string, nullable
    - `charges` ChargeInvoicingDetails[], required
      - `id` string, required
      - `createdDate` string, date-time, required
      - `totalOutstanding` integer, required
      - `total` integer, required
      - `externalCreatedDate` string, date-time, nullable

## 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-service-production.skmtc.workers.dev/v1/apis/decodahealth/decoda-api/revisions/4939a65a89d2/schema)
