---
title: "Create an invoice draft"
method: POST
path: "/invoices/create"
tags: ["Invoices"]
---

# Create an invoice draft

`POST /invoices/create`

Creates an invoice draft with sensible defaults and generated line item IDs. You can include `client` details inline.

## Request body

- object
  - `client` object
  - `clientId` string
  - `invoice` object

## Response `201`

Invoice created

- SuccessEnvelope
  - `data` unknown
  - `success` true, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `409` — Invoice ID already exists
- `500` — Internal Server Error

---

[API](https://skmtc.dev/vocal/apis/magic-heidi-invoicing-software-api.md) · [All operations](https://skmtc.dev/vocal/apis/magic-heidi-invoicing-software-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vocal/magic-heidi-invoicing-software-api/revisions/591ae048f0a0/schema)
