---
title: "Changes to Create an invoice"
method: POST
path: "/companies/{companyId}/invoices"
---

# Changes to Create an invoice

`POST /companies/{companyId}/invoices`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `9395020f3da2`: 1 breaking, 4 warning, 18 info

## Changes

- **2026-11-03** `9395020f3da2`: 1 breaking, 4 warning, 18 info
  - added `#/components/schemas/customerRef` to the `customerRef` request property `allOf` list
  - removed the request property `customerRef/id`
  - removed the optional property `customerRef/id` from the response with the `200` status
  - removed the optional property `customerRef/name` from the response with the `200` status
  - added the new `custom` enum value to the `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/unitType` response property for the response status `200`
  - added the new optional request property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/costCenterRef`
  - added the new optional request property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/customUnitType`
  - added the new optional request property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/discount`
  - added the new optional request property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/projectRef`
  - added the new optional request property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/reverseChargeType`
  - added the new optional request property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #2: descriptionOnlyItem]/costCenterRef`
  - added the new optional request property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #2: descriptionOnlyItem]/projectRef`
  - added the new optional request property `totalRoundingEnabled`
  - added the new `custom` enum value to the request property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/unitType`
  - added the optional property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/costCenterRef` to the response with the `200` status
  - added the optional property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/customUnitType` to the response with the `200` status
  - added the optional property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/discount` to the response with the `200` status
  - added the optional property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/projectRef` to the response with the `200` status
  - added the optional property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #1: salesItem]/reverseChargeType` to the response with the `200` status
  - added the optional property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #2: descriptionOnlyItem]/costCenterRef` to the response with the `200` status
  - added the optional property `lineItems/items/oneOf[subschema #1: lineItem]/oneOf[subschema #2: descriptionOnlyItem]/projectRef` to the response with the `200` status
  - added the optional property `totalRoundingEnabled` to the response with the `200` status
  - added `#/components/schemas/customerRef` to the `customerRef` response property `allOf` list for the response status `200`

---

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