---
title: "Count the invoices behind the current policy"
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.

# Count the invoices behind the current policy

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

Says how many invoices are behind the current validation policy. An invoice is behind when its newest check ran under an older policy version, or under none, and none of its files has left Certinvo. A file has left when the invoice's history holds anything beyond receiving, reading, writing and checking it: an email, a download, a webhook, an SFTP delivery, a DATEV export, the archive, or a status your system reported. Such an invoice keeps the check it left with. Only the newest version of an edited invoice counts. A company with no policy of its own is graded by the default, so nothing is behind it.

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The current policy version and how many invoices are behind it. |
| `401` | No usable credential was sent (`invalid_credentials`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/count-the-invoices-behind-the-current-policy/index.mdx
