Skip to content

API reference

List what needs attention

Other routes API

GET/v1/attention

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

  • directionstring

    Return only received (in) or issued (out) invoices and mails. Both when omitted.

    One of in, out.
  • limitinteger
  • cursorstring

    The nextCursor from the previous page. A cursor this service did not issue returns 400, never an empty page.

Response

A 200 answer carries these fields.

  • itemsarray of objectRequired
    Show 6 child fields
    • subjectobjectRequired
      Show 2 child fields
      • kindstringRequired
        One of invoice, arrival.
      • idstringRequired

        The invoice id, or the id GET /v1/arrivals/not-accepted gives the mail.

    • directionstringRequired
      One of in, out.
    • referencestring or nullRequired

      The invoice number

    • partystring or nullRequired

      The seller of a received invoice

    • sincestring (date-time) or nullRequired

      When its oldest reason was seen.

    • reasonsarray of objectRequired
      Show 4 child fields
      • codestringRequired
        One of rejected, on_hold, bank_account_on_hold, duplicate_undecided, sending_failed, email_bounced, arrival_not_accepted, file_not_readable, virus_found.
      • sincestring (date-time) or nullRequired

        When the row that says it was written.

      • holdsstring or nullRequired

        What it holds back. Null when it holds nothing back and asks for review only.

        One of sending, automatic_sending, email_delivery, datev_export, datev_export_and_forwarding, filing, null.
      • actionsarray of stringRequired

        The actions that exist for it. Each is still allowed or refused by its own route.

  • countintegerRequired

    How many entries need attention in all.

  • nextCursorstring or nullRequired
  • hasMorebooleanRequired

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).
GET/v1/attention
Example
curl https://api.certinvo.com/v1/attention \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const response = await fetch(`https://api.certinvo.com/v1/attention`, {
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
  },
})
console.log(response.status, await response.json())
import os

import requests

response = requests.get(
    "https://api.certinvo.com/v1/attention",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
application/json
{
  "items": [
    {
      "subject": {
        "kind": "invoice",
        "id": "string"
      },
      "direction": "in",
      "reference": "string",
      "party": "string",
      "since": "2026-09-17T09:30:00Z",
      "reasons": [
        {
          "code": "rejected",
          "since": "2026-09-17T09:30:00Z",
          "holds": "sending",
          "actions": [
            "review_checks"
          ]
        }
      ]
    }
  ],
  "count": 0,
  "nextCursor": "string",
  "hasMore": true
}
Success response
GET
/v1/attention
List what needs attention
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Headers2
›Query Parameters3
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/attention" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close