---
title: "Changes to Add a line item to an invoice"
method: POST
path: "/companies/{companyId}/invoices/{invoiceId}/line-items"
---

# Changes to Add a line item to an invoice

`POST /companies/{companyId}/invoices/{invoiceId}/line-items`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `9395020f3da2`: 1 warning, 15 info

## Changes

- **2026-11-03** `9395020f3da2`: 1 warning, 15 info
  - added the new `custom` enum value to the `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/unitType` response property for the response status `200`
  - added the new optional request property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/costCenterRef`
  - added the new optional request property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/customUnitType`
  - added the new optional request property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/discount`
  - added the new optional request property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/projectRef`
  - added the new optional request property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/reverseChargeType`
  - added the new optional request property `oneOf[subschema #1: lineItem]/oneOf[subschema #2: descriptionOnlyItem]/costCenterRef`
  - added the new optional request property `oneOf[subschema #1: lineItem]/oneOf[subschema #2: descriptionOnlyItem]/projectRef`
  - added the new `custom` enum value to the request property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/unitType`
  - added the optional property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/costCenterRef` to the response with the `200` status
  - added the optional property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/customUnitType` to the response with the `200` status
  - added the optional property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/discount` to the response with the `200` status
  - added the optional property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/projectRef` to the response with the `200` status
  - added the optional property `oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/reverseChargeType` to the response with the `200` status
  - added the optional property `oneOf[subschema #1: lineItem]/oneOf[subschema #2: descriptionOnlyItem]/costCenterRef` to the response with the `200` status
  - added the optional property `oneOf[subschema #1: lineItem]/oneOf[subschema #2: descriptionOnlyItem]/projectRef` to the response with the `200` status

---

[Operation](https://skmtc.dev/bokio/apis/company-api/docs/companies/:companyId/invoices/:invoiceId/line-items/post.md) - [API](https://skmtc.dev/bokio/apis/company-api.md) - [Page](https://skmtc.dev/bokio/apis/company-api/changes/companies/:companyId/invoices/:invoiceId/line-items/post)
