---
title: "List invoices"
description: "Invoices API"
---

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

# List invoices

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="get">GET</span>
<code class="cvo-op-path-code">/v1/invoices</code>
</div>
</div>

Returns the invoices filed under the credential's company, newest first, one page at a time.

### Versions

For an edited invoice, only the newest version is listed. Every version stays readable at `/v1/invoices/{id}`, which names the version it replaces and the version that replaced it.

### Pagination

Pass the `nextCursor` of the previous page as `cursor`. The cursor is opaque. Do not parse it.

### The journal

Filter by the newest check's `verdict`, search with `q`, and ask the history what happened with `withEvent` and `withoutEvent`: every invoice not yet sent is `withoutEvent=api:sent`. There is no status field: the history is a list of what happened, and a filter asks it. `format=csv` returns every match, up to 10,000, as CSV. Each invoice says how it came in as `channel` (`upload`, `made`, `api`, `email` or `sftp`), and `channel` narrows the list to one.

## Query parameters

## Status codes

| Status | Meaning |
|---|---|
| `200` | One page of invoices, newest first, or every match as CSV with `format=csv` or as Excel with `format=xlsx`. |
| `400` | The cursor was not issued by this service (`invalid_cursor`), a query parameter is out of range (`invalid_query`), or a CSV would hold more than 10,000 invoices (`too_many_rows`). |
| `401` | No usable credential was sent (`invalid_credentials`). |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/invoices/list-invoices/index.mdx
