---
title: "Get a list of refund lines items for a sales order"
method: POST
path: "/api/sales-orders/{salesOrderId}/refund-line-items/list"
tags: ["Sales Order Refund Line Item"]
---

# Get a list of refund lines items for a sales order

`POST /api/sales-orders/{salesOrderId}/refund-line-items/list`

## Request

- Base URL: `https://api.fulcrumpro.com`
- URL: `https://api.fulcrumpro.com/api/sales-orders/{salesOrderId}/refund-line-items/list`
- Auth: none declared

## Path parameters

- `salesOrderId` string, required

## Response `200`

List of refund line items for the given sales order id

- SalesOrderRefundLineItemDto[]
  - `id` string, required: Unique id associated to this entity.
  - `refundedLineId` string, required: The related, original line id that was refunded.
  - `name` string, required: The line item name.
  - `description` string, nullable: The refund line item description. Defaults to the item's description if none specified.
  - `refundQuantity` number, double, required: The quantity to be refunded.
  - `refundAmount` number, double, required: The refund amount.
  - `accountingCodeId` string, nullable: Accounting code key identifier. Please reference /api/accounting-codes endpoint.
  - `refundReasonCodeId` string, nullable: Refund reason code key identifier. Please reference /api/refund-reason-codes endpoint.
  - `isReturn` boolean, nullable: Indicate if a return is expected.
  - `returnQuantity` number, double, nullable: The quantity to be returned.
  - `externalReferences` object, nullable: Arbitrary key-value-pair like data that can be used to later on search for this line item.
  - `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 sales order did not exist

## Changes

- **2026-08-04** `6fc46fb4f45b`: 2 breaking
  - the `items/description` response property's minLength was decreased from `1` to `0` for the response status `200` (media type: application/json)
  - the `items/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 `items/externalReferences/additionalProperties/lastSyncedUtc` to the response with the `200` status (media type: application/json)
  - added the optional property `items/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 `items/number` to the response with the `200` status (media type: application/json)
  - added the optional property `items/number` to the response with the `200` status (media type: application/problem+json)
  - added the required property `items/accountingDetails` to the response with the `200` status (media type: application/json)
  - added the required property `items/accountingDetails` to the response with the `200` status (media type: application/problem+json)

[Operation history](https://skmtc.dev/fulcrumpro/apis/fulcrum-publicapi/changes/api/sales-orders/:salesOrderId/refund-line-items/list/post.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)
