---
title: "Download an invoice template"
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 an invoice template

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

A starting point for sending invoices, made from Certinvo's invoice model and from invoices the validator accepted. Neither file holds anybody's data.

`invoices.csv` is one row per invoice line, separated by semicolons, in UTF-8 with a byte order mark. Each column is named with the field's name and its BT id. Rows with the same invoice number are one invoice, so one file holds many invoices; a line's tax columns give that line's rate, so one invoice can have several. Dates are written `31.12.2026` and amounts `1234,56`. An allowance or charge on the whole invoice goes in its own columns, one per row, marked `-` for an allowance and `+` for a charge; a row with no line in it carries only that. An allowance on a single line cannot go in this flat file. A filled copy with the same header row is read as a `mapped-file` conversion with no mapping of your own.

`invoices.xlsx` is the same template in Excel: the same columns and rows on one sheet, every column formatted as text, so a date typed `31.12.2026` and an amount typed `1234,56` stay as typed. A filled copy with the same header row is read the same way, with no mapping of your own.

`invoices.json` is a batch of canonical invoices, one with two VAT rates and one with allowances and charges. Send it as the items of a `canonical-invoices` conversion.

## Path parameters

## Status codes

| Status | Meaning |
|---|---|
| `200` | The template file. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | There is no template of that name (`unknown_template`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/download-an-invoice-template/index.mdx
