---
title: "Report what happened to an invoice"
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.

# Report what happened to an invoice

{/* 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="post">POST</span>
<code class="cvo-op-path-code">/v1/invoices/&#123;id&#125;/events</code>
</div>
</div>

Adds one event to an invoice's history, as your own system saw it after the invoice left Certinvo: `api:sent`, `api:acknowledged` (the buyer's side received it), `api:accepted`, `api:rejected` or `api:paid`.

An event never changes the invoice's verdict or which files may leave: only the check decides those. Who reported it is taken from your credential and recorded with the event. `note` is kept as your own text, in the event's `data`.

## Path parameters

## Request body

`application/json`, required

## Response

A `201` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `201` | The event, as it was added to the history. |
| `400` | The body is not JSON (`invalid_json`), names a field other than `code` and `note` or a note longer than 500 characters (`invalid_event`), or reports a code outside the list above (`unknown_event_code`). Nothing was added. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | No such invoice exists for this company (`unknown_invoice`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/invoices/report-what-happened-to-an-invoice/index.mdx
