---
title: "Get a list of lines items for an invoice, regardless of type"
method: POST
path: "/api/invoices/{invoiceId}/line-items/list"
tags: ["Invoice Line Item"]
---

# Get a list of lines items for an invoice, regardless of type

`POST /api/invoices/{invoiceId}/line-items/list`

## Path parameters

- `invoiceId` string, required

## Response `200`

List of all line items for the given invoice id

- InvoiceLineItemDto[]
  - `id` string, required — Unique id associated to this entity.
  - `type` 'part' | 'additionalFee' | 'shipping' | 'discount' | 'tax' | 'deposit' | 'depositAdjustment' | 'refund' | 'blanket' | 'progressBilling' | 'progressBillingAdjustment', required — Invoice line item type
  - `quantity` number, double, required — The line item quantity
  - `price` number, double, required — The line item price.
  - `discountedPrice` number, double, required — The discounted line item price.
  - `subtotal` number, double, required — The subtotal for this line item which generally represents quantity * price.
  - `discountedSubtotal` number, double, required — The discounted subtotal for this line item which generally represents quantity * discountedPrice.
  - `name` string, nullable — Verbose name for this entity.
  - `description` string, nullable — Line item description.
  - `accountingCodeId` string, nullable — Accounting code key identifier. Please reference /api/accounting-codes endpoint.
  - `taxCodeId` string, nullable — The key identifier for the tax code for the line item.
  - `salesOrderLineItemId` string, nullable — Related sales order line item id.
  - `externalReferences` object, nullable — Arbitrary key-value-pair like data that can be used to later on search for this line item.
  - `isTaxable` boolean, nullable — Dictate if this line item is taxable.
  - `number` integer — Line number
  - `accountingDetails` CommonAccountingDetailsDto, required — An object that contains all accounting details.
    - `classId` string, nullable — Item class identifier. Please reference /api/item-classes endpoint.
    - `incomeAccountId` string, nullable — Income account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `assetAccountId` string, nullable — Asset account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `expenseAccountId` string, nullable — Expense account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `cogsAccountId` string, nullable — COGS account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.

## Other responses

- `404` — The invoice did not exist

---

[API](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi.md) · [All operations](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fulcrumpro/fulcrum-publicapi/revisions/016c1fd45a3f/schema)
