---
title: "Return results of invoice search"
method: GET
path: "/invoice/search"
tags: ["Invoice"]
---

# Return results of invoice search

`GET /invoice/search`

## Query parameters

- `endDate` integer
- `page` integer
- `perPage` integer
- `q` string
- `startDate` integer

## Headers

- `X-Fields` string, mask

## Response `200`

Invoice search results.

- InvoiceSeachResult
  - `hasNext` boolean
  - `hasPrev` boolean
  - `items` Invoice
    - `amount` number
    - `amountUnpaid` number
    - `clientId` integer
    - `created` integer
    - `datePaid` integer
    - `due` integer
    - `id` integer
    - `sent` integer
    - `status` string
  - `nextPage` integer
  - `page` integer
  - `pages` integer
  - `perPage` integer
  - `prevPage` integer
  - `total` integer

## Other responses

- `400` — Invalid invoice search request.
- `403` — You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission.

---

[API](https://skmtc.net/hivelocity/apis/hivelocity-api.md) · [All operations](https://skmtc.net/hivelocity/apis/hivelocity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hivelocity/hivelocity-api/versions/ee6b717b5015/schema)
