v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Purchase Order Line Item

Get a list of lines items for a purchase order, regardless of type

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

Path parameters

purchaseOrderIdstring required

Response

List of all line items for the given purchase order id

idstring required

Unique id associated to this entity.

type'part' | 'outsideProcessing' | 'tax' | 'discount' | 'fee' | 'vendorCredit' required

Purchase order line item type

pricenumber double required

The line item price.

discountedPricenumber double nullable

The line item discounted unit price.

namestring nullable

Verbose name for this entity.

descriptionstring nullable

Line item description.

quantitynumber double required

The line item quantity

externalReferencesobject nullable

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

accountingCodeIdstring nullable

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

taxCodeIdstring nullable

The key identifier for the tax code for the line item.

isTaxableboolean required

Dictate if this line item is taxable.

lineItemIdstring nullable

The line item id (if applicable).

expectedReceiveDatestring date-time nullable

Line item Expected receipt date.

subTotalnumber double required

Total line item cost, including applicable discounts

preDiscountSubTotalnumber double required

Total line item cost, before discounts

isPercentageDiscountboolean nullable

Indicates whether FulcrumProduct.PublicApi.Dto.PurchaseOrder.PurchaseOrderLineItemDto.DiscountAmount discount is percentage based (else, it's an absolute amount).

discountAmountnumber double nullable

The amount of the discount.

numberinteger

Line number