---
title: "Partial update simplified invoice line item"
method: PATCH
path: "/simplified-invoices/{invoice_id}/line-items/{id}/"
tags: ["Simplified Invoice Line Items"]
---

# Partial update simplified invoice line item

`PATCH /simplified-invoices/{invoice_id}/line-items/{id}/`

Endpoint for partially updating an existing simplified invoice line item.

## Path parameters

- `invoice_id` string, required
- `id` string, required

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- PatchedSimplifiedInvoiceLineItem — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `account` string — The account associated with this line item.
  - `cost_center` string — The cost center associated with this line item.
  - `created_ts` string, date-time — The timestamp in UTC when the line item was created.
  - `description` string — The description of the line item.
  - `discount` number, double, nullable — The discount as the percentage.
  - `id` string — The unique identifier of the line item.
  - `item` string — The item associated with this line item.
  - `item_unit_of_measure` string, nullable — The item unit of measure for this line item.
  - `legacy_id` string — [Deprecated] The legacy identifier of the line item.
  - `line_amount` number, double — The total amount for this line item.
  - `modified_ts` string, date-time — The timestamp in UTC when the line item was last modified.
  - `order` integer
  - `quantity` number, double — The quantity of the item or service.
  - `tax_amount` number, double — The total tax amount for this line item.
  - `tax_rate` string — The tax rate applied to this line item.
  - `unit_amount` number, double — The unit amount of the item or service.

## Response `200`

- SimplifiedInvoiceLineItem — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `account` string, required — The account associated with this line item.
  - `cost_center` string — The cost center associated with this line item.
  - `created_ts` string, date-time, required — The timestamp in UTC when the line item was created.
  - `description` string, required — The description of the line item.
  - `discount` number, double, nullable — The discount as the percentage.
  - `id` string, required — The unique identifier of the line item.
  - `item` string — The item associated with this line item.
  - `item_unit_of_measure` string, nullable — The item unit of measure for this line item.
  - `legacy_id` string, required — [Deprecated] The legacy identifier of the line item.
  - `line_amount` number, double, required — The total amount for this line item.
  - `modified_ts` string, date-time, required — The timestamp in UTC when the line item was last modified.
  - `order` integer
  - `quantity` number, double, required — The quantity of the item or service.
  - `tax_amount` number, double, required — The total tax amount for this line item.
  - `tax_rate` string — The tax rate applied to this line item.
  - `unit_amount` number, double, required — The unit amount of the item or service.

---

[API](https://skmtc.net/wafeq/apis/wafeq-public-api.md) · [All operations](https://skmtc.net/wafeq/apis/wafeq-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wafeq/wafeq-public-api/versions/36816b4fce7f/schema)
