---
title: "Save the company's invoice layout"
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.

# Save the company's invoice layout

{/* 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="put">PUT</span>
<code class="cvo-op-path-code">/v1/invoice-layout</code>
</div>
</div>

Saves the layout as a new, immutable version. The next ZUGFeRD PDF the company files is printed from it. Only a signed-in person may call this. An API key is refused with 401 `session_required`. Only a template is saved: anything else, a design of the retired designer among them, or a template, language or switch the engine does not have, is refused with 400 `invalid_layout`, and the message names why.

## Request body

`application/json`, required

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The new version, which is now current. |
| `400` | The layout was refused (`invalid_layout`). Nothing was changed. |
| `401` | No usable credential (`invalid_credentials`), or an API key was used (`session_required`). |
| `503` | No database is configured (`store_unavailable`), so no layout can be saved. |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/save-the-company-s-invoice-layout/index.mdx
