---
title: "Update the DATEV settings"
description: "Settings 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.

# Update the DATEV settings

{/* 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/datev-settings</code>
</div>
</div>

Saves the DATEV settings as a new, immutable version. Earlier versions are never edited. The body has the same shape the export uses. Only a signed-in person may call this, as for `/v1/validation-policy`. An API key is refused with 401 `session_required`. The new version records the person as `createdBy`.

## 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 settings were refused (`invalid_datev_settings`). The message names the field. Nothing was changed. |
| `401` | No usable credential was sent (`invalid_credentials`), or an API key was used (`session_required`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/settings/update-the-datev-settings/index.mdx
