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

# Create a fee line item on a purchase order

`POST /api/purchase-orders/{purchaseOrderId}/fee-line-items`

## Path parameters

- `purchaseOrderId` string, required

## Request body

- PurchaseOrderFeeLineItemCreateDto — Represents a fee line item on a purchase order.
  - `name` string, nullable — Verbose name for this entity.
  - `description` string, nullable — Verbose description for this entity.
  - `quantity` number, double, nullable — The line item quantity. Required for receivable line items.
  - `price` number, double, required — The line item unit price.
  - `isReceivable` boolean, nullable — Dictate if this fee is receivable. If not provided, defaults to false.
  - `accountingCodeId` string, nullable — Accounting code key identifier. Please reference /api/accounting-codes endpoint.
  - `unitOfMeasure` 'notApplicable' | 'piece' | 'linearFeet' | 'hour' | 'yard' — Line item unit of measure.
  - `isTaxable` boolean, nullable — Dictate if this fee is taxable. If not provided, defaults to false.
  - `taxCodeId` string, nullable — Tax code key identifier. Please reference /api/tax-rates endpoint.
  - `taxRate` number, double, nullable — Tax code to use for this entity. If a FulcrumProduct.PublicApi.Dto.PurchaseOrder.FeeLineItem.FeeLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.PurchaseOrder.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 purchase order

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

## Other responses

- `400` — Validation issues with input
- `404` — Purchase order does 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/1b5649cff14a/schema)
