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 Name | Type | Required | Description |
---|---|---|---|
quantity | integer | Required | Item quantity being purchased. |
taxCode | string | Optional | Tax code for the item being purchased. If not provided, the value defaults to the code for tangible personal property (tpp). |
description | string | Optional | Line item description. |
amount | decimal | Required | The total cost of the line items being purchased. |
itemCode | string | Required | Unique ID for the line item. |
Response
Property Name | Type | Description |
---|---|---|
quantity | integer | Item quantity being purchased. |
taxCode | string | Tax code for the item being purchased. If not provided, the value defaults to the code for tangible personal property (tpp). |
description | string | Line item description. |
amount | decimal | The cost of the line item. |
itemCode | string | Unique ID for the line item. |
tax | decimal | Tax for the line item. |