---
title: "Create Invoice"
method: POST
path: "/v1/public/invoices"
tags: ["Invoices"]
---

# Create Invoice

`POST /v1/public/invoices`

## Request body

- PublicInvoiceRequest
  - `external_id` string, nullable
  - `contact_id` string, nullable
  - `contact_external_id` string, nullable
  - `company_id` string, nullable
  - `company_external_id` string, nullable
  - `start_date` string, nullable
  - `due_date` string, nullable
  - `status` string, nullable
  - `currency` string, nullable
  - `notes` string, nullable
  - `tax_rate` number, nullable
  - `tax_inclusive` boolean, nullable
  - `tax_option` string, nullable
  - `total_price` number, nullable
  - `total_price_without_tax` number, nullable

## Response `200`

OK

- PublicInvoiceResponse
  - `ok` boolean, required
  - `status` string, required
  - `external_id` string, nullable
  - `invoice_id` string, nullable
  - `ctx_id` string, nullable

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/sankahq/apis/ninjaapi.md) · [All operations](https://skmtc.net/sankahq/apis/ninjaapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sankahq/ninjaapi/versions/c273ff62266a/schema)
