---
title: "Forward an invoice to your own system"
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.

# Forward an invoice to your own system

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

Announces one file of this invoice to this company's webhooks as the history step `api:forwarded`, with the link to download it. The file is not in the post: your system fetches it from `href` with its API key.

The file is announced only when the invoice's newest check accepts it, as for a download of an invoice not sent yet. An invoice already sent stays downloadable on the check it was sent with, but forwarding it again needs the newest check. At least one live webhook must hear `api:forwarded`.

## Path parameters

## Headers

## Request body

`application/json`, required

## Response

A `202` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `202` | The step was added; the webhooks post it. |
| `400` | The body is not JSON (`invalid_json`), or is not one invoice file (`invalid_forward`). Nothing was sent. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | No such invoice exists for this company, or it has no file of that format (`unknown_invoice`). |
| `409` | The file may not leave, for the reason the download gives (`invoice_rejected`, `invoice_not_validated`, `invoice_changed_since_check`), it cannot be written in that format (`conversion_would_be_incomplete`), no live webhook hears `api:forwarded` (`no_webhook_for_forwards`), your settings hold this received invoice for its bank account (`invoice_on_hold`), or an edit replaced this version (`invoice_replaced`; the message names the newest version). Nothing was sent. A repeat with the same Idempotency-Key and another body (`idempotency_key_reused`), or while the first is still being done (`request_in_progress`; send it again in a moment). Nothing was done twice. |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/invoices/forward-an-invoice-to-your-own-system/index.mdx
