---
title: "Confirm a correction's class for DATEV"
description: "Invoices 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.

# Confirm a correction's class for DATEV

{/* 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/invoices/&#123;id&#125;/correction</code>
</div>
</div>

Confirms the class the DATEV export books this correction by: `non-financial` books nothing, `financial` the difference, `replacement` the original reversed plus this invoice. The class may be raised above the derived one, never lowered. It is written once.

## Path parameters

## Request body

`application/json`, required

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The correction, with its confirmed class. |
| `400` | The body names no class (`invalid_correction`). |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | No such invoice (`unknown_invoice`), or it corrects nothing (`not_a_correction`). |
| `409` | The class is below the derived one (`class_below_derived`), another class is confirmed already (`correction_already_confirmed`), or no invoice model could be read (`invoice_has_no_model`, `invoice_changed_since_check`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/invoices/confirm-a-correction-s-class-for-datev/index.mdx
