---
title: "Create an invoice item"
method: POST
path: "/invoice-items"
tags: ["Invoicing"]
---

# Create an invoice item

`POST /invoice-items`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/invoice-items`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Adds an item to the company item library. unitPrice is in major currency units (e.g. 125.50) and may be negative for discount items; the response returns integer cents. Optional accountId is the default revenue account copied onto invoice lines when the item is used. Requires manage:invoices.

## Request body

- object
  - `name` string, required: Unique per company among active items
  - `unitPrice` number: Major currency units; negative for discount items
  - `accountId` string, uuid, nullable: Default revenue account UUID

## Response `201`

Created invoice item

## Other responses

- `409`: An active item with this name already exists
- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
