---
title: "Get a specific line item for a purchase order of generic type"
method: GET
path: "/api/purchase-orders/{purchaseOrderId}/line-items/{lineItemId}"
tags: ["Purchase Order Line Item"]
---

# Get a specific line item for a purchase order of generic type

`GET /api/purchase-orders/{purchaseOrderId}/line-items/{lineItemId}`

## Path parameters

- `purchaseOrderId` string, required
- `lineItemId` string, required

## Response `200`

Line item

- PurchaseOrderLineItemDto — Represents a generic line item on a purchase order.
  - `id` string, required — Unique id associated to this entity.
  - `type` 'part' | 'outsideProcessing' | 'tax' | 'discount' | 'fee' | 'vendorCredit', required — Purchase order line item type
  - `price` number, double, required — The line item price.
  - `discountedPrice` number, double, nullable — The line item discounted unit price.
  - `name` string, nullable — Verbose name for this entity.
  - `description` string, nullable — Line item description.
  - `quantity` number, double, required — The line item quantity
  - `externalReferences` object, nullable — Arbitrary key-value-pair like data that can be used to later on search for this line item.
  - `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.
  - `isTaxable` boolean, required — Dictate if this line item is taxable.
  - `lineItemId` string, nullable — The line item id (if applicable).
  - `expectedReceiveDate` string, date-time, nullable — Line item Expected receipt date.
  - `subTotal` number, double, required — Total line item cost, including applicable discounts
  - `preDiscountSubTotal` number, double, required — Total line item cost, before discounts
  - `isPercentageDiscount` boolean, nullable — Indicates whether FulcrumProduct.PublicApi.Dto.PurchaseOrder.PurchaseOrderLineItemDto.DiscountAmount discount is percentage based (else, it's an absolute amount).
  - `discountAmount` number, double, nullable — The amount of the discount.
  - `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` — Purchase order or line item 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/versions/1b5649cff14a/schema)
