lines (JSON object)

Contains the line item details of the purchase

lines is an array of one or more objects representing the line item details of the purchase. Each object contains the following properties.

Request

Property NameTypeRequiredDescription
quantityintegerRequiredItem quantity being purchased.
taxCodestringOptionalTax code for the item being purchased.
If not provided, the value defaults to the code for tangible personal property (tpp).
descriptionstringOptionalLine item description.
amountdecimalRequiredThe cost of the line item.
itemCodestringRequiredUnique ID for the line item.

Response

Property NameTypeDescription
quantityintegerItem quantity being purchased.
taxCodestringTax code for the item being purchased.
If not provided, the value defaults to the code for tangible personal property (tpp).
descriptionstringLine item description.
amountdecimalThe cost of the line item.
itemCodestringUnique ID for the line item.
taxdecimalTax for the line item.