> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# `GET /api/v1/invoices`

> `GET /api/v1/invoices`

### Query parameters

<ParamField query="limit" type="integer (int32)">
  Maximum number of results to return (default: 50).
</ParamField>

<ParamField query="offset" type="integer (int32)">
  Number of results to skip (default: 0).
</ParamField>

<ParamField query="customer_id" type="string">
  Filter by customer ID (UUID).
</ParamField>

<ParamField query="order_id" type="string">
  Filter by order ID (UUID).
</ParamField>

<ParamField query="status" type="string">
  Filter by invoice status (draft, sent, viewed, paid, overdue, voided).
</ParamField>

<ParamField query="invoice_type" type="string">
  Filter by invoice type (standard, `credit_note`, `pro_forma`, recurring).
</ParamField>

<ParamField query="overdue_only" type="boolean">
  Filter overdue invoices only.
</ParamField>

<ParamField query="from_date" type="string">
  Invoices created on or after this date (RFC 3339).
</ParamField>

<ParamField query="to_date" type="string">
  Invoices created on or before this date (RFC 3339).
</ParamField>

### Responses

<ResponseField name="200" type="InvoiceListResponse">
  List of invoices
</ResponseField>

<ResponseField name="400" type="ErrorBody">
  Invalid filter parameter
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.stateset.com/api/v1/invoices' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "has_more": true,
    "invoices": [
      {
        "amount_paid": "string",
        "balance_due": "string",
        "created_at": "2026-07-24T12:00:00Z",
        "currency": "string",
        "customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "due_date": "2026-07-24T12:00:00Z",
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "invoice_date": "2026-07-24T12:00:00Z",
        "invoice_number": "string",
        "invoice_type": "string",
        "order_id": null,
        "status": "string",
        "subtotal": "string",
        "tax_amount": "string",
        "total": "string",
        "updated_at": "2026-07-24T12:00:00Z"
      }
    ],
    "limit": 1,
    "offset": 1,
    "total": 1
  }
  ```
</ResponseExample>
