---
title: "Download an invoice's evidence"
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.

# Download an invoice's evidence

{/* 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;/evidence</code>
</div>
</div>

Returns one ZIP with everything kept about the invoice, for an auditor:

- `manifest.json`: the invoice, its verdict, the rule set, engine and mapping that decided it, what the check graded (with `model`, the sha256 of the invoice data its files were made from), the customer's file it was made from, and every file in the ZIP with its media type, size and sha256.
- `files/`: every stored file of the invoice, and the customer's own file when it was made from one.
- `history.json`: the invoice's whole history, oldest first.

A file the download holds back is not in the ZIP. The manifest names it under `withheld` with the code and the reason the download would give. The manifest carries no time of its own, so the same files give the same list. Downloading the ZIP is recorded in the history when it holds an invoice file.

## Path parameters

## Status codes

| Status | Meaning |
|---|---|
| `200` | The evidence, as a ZIP. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | This company filed no invoice with this id (`unknown_invoice`). |

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

</div>
</div>

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