---
title: "Update a Line Item Group"
method: PUT
path: "/invoices/{invoice}/line-item-groups/{id}"
tags: ["Invoice Line Items"]
---

# Update a Line Item Group

`PUT /invoices/{invoice}/line-item-groups/{id}`

Update a Line Item Group

## Path parameters

- `invoice` string, required
- `id` string, required

## Headers

- `Authorization` string, required
- `sequence-version` '2024-07-30'

## Request body

- UpdateLineItemGroupRequestModel
  - `title` string, required — Line Item Group Title
  - `description` string — Line Item Group Description
  - `taxCategoryId` string — The tax category for all line items in this line item group
  - `revenueRecognitionMethod` 'STRAIGHT_LINE' | 'USAGE' | 'MILESTONE' | 'POINT_IN_TIME'
  - `revenueClassification` 'PREPAYMENT' | 'EARNED' | 'BURNDOWN'
  - `servicePeriod` InclusiveDateRange — Service Period
    - `start` string, required — Start date, included in the whole range
    - `endInclusive` string, required — End date, included in the whole range
  - `index` integer — Index (for maintaining order)

## Response `200`

OK

- LineItemGroupResponseModel
  - `id` string, required — Line Item Group ID
  - `invoiceId` string, required — Invoice ID
  - `title` string, required — Line Item Group Title
  - `description` string — Line Item Group Description
  - `index` integer, required — Index (for maintaining order)
  - `netTotal` string, required — Net total, in decimal format of the Invoice's currency
  - `totalTax` string, required — Total tax, in decimal format of the Invoice's currency
  - `grossTotal` string, required — Gross total, in decimal format of the Invoice's currency
  - `taxCategory` TaxCategoryResponse — The tax category for all line items in this line item group
    - `id` string, required — Tax Category ID
    - `name` string, required — Tax Category name

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

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