---
title: "List what needs attention"
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.

# List what needs attention

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

Returns every invoice and refused mail that needs a person, oldest first, with why. One entry per invoice or mail, never one per finding. Only the newest version of an edited invoice is listed. Any credential may read it.

Each reason says what it holds back (`holds`) and which actions exist for it (`actions`). A reason whose `holds` is null holds nothing back and asks for review only. Every action is still allowed or refused by its own route.

| Reason | When | |---|---| | `rejected` | The newest check rejected the invoice, and it was never sent. | | `on_hold` | A received invoice your settings hold out of DATEV because the gate rejected it, not yet released or dismissed. | | `bank_account_on_hold` | A received invoice your settings hold for its bank account, out of DATEV and the forward to your own system, not yet released or dismissed. | | `duplicate_undecided` | A likely duplicate nobody kept or dismissed yet. | | `sending_failed` | Its email was tried and will not be tried again, and nobody emailed it since. | | `email_bounced` | After its newest email, the recipient's mail server bounced, failed or suppressed it, and no delivery followed. | | `arrival_not_accepted` | A refused mail that still keeps its files. | | `file_not_readable` | A file that was accepted and could not be read, such as a PDF with no invoice data in it. Kept for 30 days unless dismissed. | | `virus_found` | A received file in which the virus scan found a virus. The file was not kept; the entry stays for 30 days unless dismissed. |

Findings that let an invoice through, overdue payments and invoices a person sends by hand are not listed. `count` is the number of all entries, on every page.

Pass the `nextCursor` of the previous page as `cursor`. The cursor is opaque. Do not parse it.

## Query parameters

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | One page, oldest first. |
| `400` | A parameter is not one this route reads (`invalid_query`), or the cursor was not issued by this service (`invalid_cursor`). |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `503` | No database is configured (`store_unavailable`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/list-what-needs-attention/index.mdx
