---
title: "Get 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.

# Get 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="get">GET</span>
<code class="cvo-op-path-code">/v1/invoices/&#123;id&#125;/correction</code>
</div>
</div>

What this invoice corrects, the class its changes show, the class confirmed, and where the original and the correction went to DATEV. It corrects the version it replaces when an earlier version went to DATEV, else the invoice its preceding invoice reference (BT-25) names.

## Path parameters

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The correction. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | No such invoice (`unknown_invoice`), or it corrects nothing (`not_a_correction`). |
| `409` | 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/get-a-correction-s-class-for-datev/index.mdx
