---
title: "Download your paid invoices as a file"
description: "Other routes 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 your paid invoices as a file

{/* 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/data-files/payments</code>
</div>
</div>

Returns every sent invoice marked paid, as one file: a CSV, an Excel sheet or JSON. The columns are `invoiceNumber` and `paidDate`, the day it was paid: the day a payments file gave, else the day it was marked paid. Of an invoice with several versions, the newest is listed. Any credential may read it.

## Query parameters

## Status codes

| Status | Meaning |
|---|---|
| `200` |  |
| `400` | The format is not one of `csv`, `xlsx` or `json` (`invalid_format`). |
| `401` | No usable credential was sent (`invalid_credentials`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/download-your-paid-invoices-as-a-file/index.mdx
