Skip to main content
InputObject Discount details for the line item.

Input Fields

amount
required
An amount discounted at the individual line item level.
taxCalculation
If taxes were calculated, you can specify if they were calculated before or after the discount was applied.
rate
The rate of the discount, formatted as a decimal. e.g., 5.00% will be formatted as 0.05
{
  "amount": Decimal,
  "taxCalculation": "POST_DISCOUNT",
  "rate": Decimal
}