v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Purchase Order Fee Line Item

Create a fee line item on a purchase order

post/api/purchase-orders/{purchaseOrderId}/fee-line-items

Path parameters

purchaseOrderIdstring required

Request body

namestring nullable

Verbose name for this entity.

descriptionstring nullable

Verbose description for this entity.

quantitynumber double nullable

The line item quantity. Required for receivable line items.

pricenumber double required

The line item unit price.

isReceivableboolean nullable

Dictate if this fee is receivable. If not provided, defaults to false.

accountingCodeIdstring nullable

Accounting code key identifier. Please reference /api/accounting-codes endpoint.

unitOfMeasure'notApplicable' | 'piece' | 'linearFeet' | 'hour' | 'yard'

Line item unit of measure.

isTaxableboolean nullable

Dictate if this fee is taxable. If not provided, defaults to false.

taxCodeIdstring nullable

Tax code key identifier. Please reference /api/tax-rates endpoint.

taxRatenumber 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.

overrideTaxRateboolean nullable

Indicate if the tax supplied is intended to be an override.

externalReferencesobject nullable

Arbitrary key-value-pair like data that can be used to later on search for this line item.

Response

Fee line item added to purchase order

idstring required

The id of the created record