---
title: "Create a fee line item on a sales order"
method: POST
path: "/api/sales-orders/{salesOrderId}/fee-line-items"
tags: ["Sales Order Fee Line Item"]
---

# Create a fee line item on a sales order

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

## Path parameters

- `salesOrderId` string, required

## Request body

- SalesOrderFeeLineItemCreateDto — Represents a fee line item on a sales order.
  - `name` string, nullable — Verbose name for this entity.
  - `description` string, nullable — Verbose description for this entity. If this value is not provided and the name matches a defined "default fee", the description on the "default fee" will be used.
  - `quantity` number, double, nullable — The line item quantity
  - `price` number, double, required — The line item price.
  - `accountingCodeId` string, nullable — Accounting code key identifier. Please reference /api/accounting-codes endpoint. If this value is not provided and the name matches a defined "default fee", the accounting code on the "default fee" will be used.
  - `isTaxable` boolean, nullable — Dictate if this fee is taxable.
  - `taxCodeId` string, nullable — Tax code key identifier.
  - `taxRate` number, double, nullable — Tax code to use for this entity. If a FulcrumProduct.PublicApi.Dto.SalesOrder.FeeLineItem.FeeLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.SalesOrder.FeeLineItem.FeeLineItemCreateDto.TaxRate will supercede the defined tax rate.
  - `overrideTaxRate` boolean, nullable — Indicate if the tax supplied is intended to be an override.
  - `externalReferences` object, nullable — Arbitrary key-value-pair like data that can be used to later on search for this line item.

## Response `200`

Fee line item added to sales order

- CreatedResponseDto — Response for a created record
  - `id` string, required — The id of the created record

## Other responses

- `400` — Validation issues with input

---

[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/1b5649cff14a/schema)
