---
title: "Read a sheet into rows for serial invoices"
description: "Invoicing 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.

# Read a sheet into rows for serial invoices

{/* 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="post">POST</span>
<code class="cvo-op-path-code">/v1/sheets</code>
</div>
</div>

Reads an Excel sheet (.xlsx), a CSV file with a header row or a JSON list into columns and rows, for serial invoices. Every line of the file is one row, in the file's order, and nothing is dropped. Nothing is stored. `suggested` offers each column the canonical fields its name matches, best first: a header that names one business term (`Rechnungsnummer (BT-1)`) is that term, otherwise the names Certinvo knows for each field in German and English. An empty list means nothing matched. A CSV is read with the `delimiter` and `encoding` given, or with the ones proposed from the file, which the answer states. A JSON list of complete canonical invoices is answered as `invoices`, each as written.

## Request body

`application/json`, required

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The sheet's columns and rows, or its invoices. |
| `400` | The body was refused, or the file is no sheet the readers read (`unreadable_file`, `invalid_json`, `invalid_operation`). Nothing was read. |
| `401` |  |
| `413` | The file is larger than one document may be (`document_too_large`, `file_too_large_to_read`). Nothing was read. |
| `502` | The engine could not run, so nothing was read (`engine_unavailable`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/invoicing/read-a-sheet-into-rows-for-serial-invoices/index.mdx
