---
title: "Get an invoice"
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.

# Get an invoice

{/* 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/&#123;id&#125;</code>
</div>
</div>

Returns the stored record of one invoice: what it is, the validation result, and which files exist. It always answers JSON.

To get the files themselves, use `GET /v1/invoices/{id}/download`.

The record includes the provenance of the result: the ruleset version, the engine version and the mapping config version, as recorded at filing. These values cannot be added later. A null value means it was never recorded.

## Path parameters

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The invoice record. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | No such invoice exists for this company (`unknown_invoice`). The same answer is given when another company owns the invoice or the id is not valid. This API never returns 403 here. |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/invoices/get-an-invoice/index.mdx
