v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Invoice Line Item

Get a list of lines items for an invoice, regardless of type

post/api/invoices/{invoiceId}/line-items/list

Path parameters

invoiceIdstring required

Response

List of all line items for the given invoice id

idstring required

Unique id associated to this entity.

type'part' | 'additionalFee' | 'shipping' | 'discount' | 'tax' | 'deposit' | 'depositAdjustment' | 'refund' | 'blanket' required

Invoice line item type

quantitynumber double required

The line item quantity

pricenumber double required

The line item price.

discountedPricenumber double required

The discounted line item price.

subtotalnumber double required

The subtotal for this line item which generally represents quantity * price.

discountedSubtotalnumber double required

The discounted subtotal for this line item which generally represents quantity * discountedPrice.

namestring nullable

Verbose name for this entity.

descriptionstring nullable

Line item description.

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.

salesOrderLineItemIdstring nullable

Related sales order line item id.

externalReferencesobject nullable

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

isTaxableboolean nullable

Dictate if this line item is taxable.

numberinteger

Line number