---
title: "Download your code book 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 code book 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/codes</code>
</div>
</div>

Returns your code book as one file: a CSV, an Excel sheet or JSON. The columns are `list`, `code` and `official`: the official list, your code as your files write it, and the official code it means. With no codes saved, the file has only its header row (or is an empty JSON list). The CSV is separated by semicolons, in UTF-8 with a byte order mark. A cell starting with `=`, `+`, `-` or `@` is written with a leading `'`; an import takes it off again. The Excel sheet writes every cell as text, so `007` keeps its zeros. 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-code-book-as-a-file/index.mdx
