Skip to main content
InputObject Line-item details about what was purchased with a given order. It includes items, quantity, price, product codes, and other pertinent details.

Input Fields

description
required
Description of the goods or services.
commodityCode
required
A specific code used to classify and categorize the type of goods and services being purchased.
productCode
required
The supplier’s unique product identifier, inventory number, or UPC code used to identity a specific product.
discount
Details regarding any discounts applied to the line item.
taxes
Tax details applicable to the individual line item. If the item is not taxable, these fields should be set to null.
lineItemAmount
required
The total amount of the item. Calculated as [Unit price * Unit quantity]
productSku
required
A SKU, or Stock Keeping Unit, is a unique alphanumeric code assigned by a retailer to identify and track each distinct product or product variation within their inventory.
unitPrice
required
The “per unit” price of the line item.
unitQuantity
required
The number of units included in the line item.
unitOfMeasure
required
The metric used for understanding the quantity of a given line item. e.g., for quantities, use “each” or “piece” for length, use “meter” or “inch” for volume, use “liter” or “gallon” and for weight, use “gram” or “pound”, etc.
{
  "description": "xyz789",
  "commodityCode": "xyz789",
  "productCode": "abc123",
  "discount": LineItemDiscountInput,
  "taxes": LineItemTaxesInput,
  "lineItemAmount": Decimal,
  "productSku": "xyz789",
  "unitPrice": Decimal,
  "unitQuantity": 123,
  "unitOfMeasure": "xyz789"
}