A purchase discount is one-time discount applied to a specific purchase when it is in draft status. Once a purchase is in the purchased or cancelled status it is no longer possible to remove, edit, or add purchase discounts.
Purchase Discount Object Fields
Property | Type | Description |
---|---|---|
purchaseId | Integer | The Fusebill generated ID of the purchase [Read Only] |
discountType | Enum: {Percentage, Amount, AmountPerUnit} | Indicates how amount is interpreted for calculating the discount |
amount | Decimal | The dollar amount or percentage, depending on discountType |
id | Integer | The Fusebill generated ID that uniquely identifies this purchase discount object [Read Only] |
uri | String | The full string path to this resource [Read Only] |