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

# Get a specific vendor credit line item for a purchase order

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

## Request

- Base URL: `https://api.fulcrumpro.com`
- URL: `https://api.fulcrumpro.com/api/purchase-orders/{purchaseOrderId}/vendor-credit-line-items/{lineItemId}`
- Auth: none declared

## Path parameters

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

## Response `200`

Vendor credit line item

- PurchaseOrderVendorCreditLineItemDto: Represents a vendor credit line item on a purchase order.
  - `id` string, required: Unique id associated to this entity.
  - `name` string, required: line item name
  - `quantity` number, double, required: The line item quantity
  - `vendorCredit` number, double, required: The value of the vendor credit.
  - `itemId` string, required: Item id associated with this credit.
  - `purchaseOrderId` string, nullable: Parent purchase order id associated with this credit.
  - `lineItemId` string, required: Part or outside processing line item id associated with this credit.
  - `description` string, nullable: The line item description.
  - `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.
  - `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

## Changes

- **2026-08-04** `6fc46fb4f45b`: 2 breaking
  - the `description` response property's minLength was decreased from `1` to `0` for the response status `200` (media type: application/json)
  - the `description` response property's minLength was decreased from `1` to `0` for the response status `200` (media type: application/problem+json)
- **2026-06-14** `68a3cf300a5d`: 2 info
  - added the optional property `externalReferences/additionalProperties/lastSyncedUtc` to the response with the `200` status (media type: application/json)
  - added the optional property `externalReferences/additionalProperties/lastSyncedUtc` to the response with the `200` status (media type: application/problem+json)
- **2026-01-12** `30a13c1e996e`: 4 info
  - added the optional property `number` to the response with the `200` status (media type: application/json)
  - added the optional property `number` to the response with the `200` status (media type: application/problem+json)
  - added the required property `accountingDetails` to the response with the `200` status (media type: application/json)
  - added the required property `accountingDetails` to the response with the `200` status (media type: application/problem+json)

[Operation history](https://skmtc.dev/fulcrumpro/apis/fulcrum-publicapi/changes/api/purchase-orders/:purchaseOrderId/vendor-credit-line-items/:lineItemId/get.md)

---

[API](https://skmtc.dev/fulcrumpro/apis/fulcrum-publicapi.md) - [All operations](https://skmtc.dev/fulcrumpro/apis/fulcrum-publicapi/llms.txt) - [OpenAPI document](https://skmtc.dev/fulcrumpro/apis/fulcrum-publicapi/revisions/c9e6f41852d1?raw)
