---
title: "Save a new draft"
description: "Invoicing 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.

# Save a new draft

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

Saves an invoice being written. The draft is checked only for its shape and size: `invoice` and `settings` are objects, together at most 1 MiB. The validator checks the invoice when it is filed. A quote and a pro forma are drafts of their `kind`. They are never sent as e-invoices.

## Request body

`application/json`, required

## Response

A `201` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `201` | The saved draft. |
| `400` |  |
| `401` |  |
| `501` |  |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/invoicing/save-a-new-draft/index.mdx
