---
title: "List all Line Item Groups"
method: GET
path: "/invoices/{invoice}/line-item-groups"
tags: ["Invoice Line Items"]
---

# List all Line Item Groups

`GET /invoices/{invoice}/line-item-groups`

List all Line Item Groups

## Path parameters

- `invoice` string, required

## Query parameters

- `before` string
- `after` string
- `limit` integer
- `sortOrder` 'ASC' | 'DESC'

## Headers

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

## Response `200`

OK

- ListLineItemGroupEndpointProductListLineItemGroupPaginatedResponseModel
  - `items` LineItemGroupResponseModel[], required — LineItemGroups
    - `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
  - `pagination` PaginationMeta, required — Results pagination
    - `after` string — Cursor for the page after this (if it exists)
    - `before` string — Cursor for the page before this (if it exists)
    - `totalResultSize` integer — Total number of entries across all pages

## 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)
