---
title: "Quality and delivery numbers"
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.

# Quality and delivery numbers

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

How often invoices pass their first check, which rules reject them, how many were corrected, and how sending went, over 7, 30 or 90 days. Days are counted in the company's time zone. The numbers are cipher's, the insights add-on's, and the API passes cipher's status and body on unchanged. Cipher's own refusals have the shape `{detail: {code, message}}`.

## Query parameters

## Status codes

| Status | Meaning |
|---|---|
| `200` | `{firstPass, rejectedNow, unvalidated, corrections, rules, days, channels, delivery}`. |
| `400` | Cipher's answer: the window is not 7, 30 or 90 days (`bad_window`), or the direction is not `in` or `out` (`bad_direction`). |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `403` | Cipher's answer: the company has not switched the insights add-on on (`addon_off`). |
| `503` | Cipher or its database could not answer (`insights_unavailable`). Invoicing is not affected. |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/quality-and-delivery-numbers/index.mdx
