Hello Pipedrive,
So I am working with Pipedrive deal products. And I’m curious about the way Pipedrive calculate the Item amount in the product group. In this following example, amount is 1990 as a result of ((price * quantity) - discount). Which means the discount shown in the table should be the total discount amount rather than the item discount. Any specific reason for this ?
As an integration developer we are used to the item discounts and we are calculating the price without tax and then multiply by quantity ((price - discount) * quantity) when calculating the amount.
This different methods can result in conflict of amount for the same product. For an example,
price - 1000
quantity - 0
discount - 10
Pipedrive calculation - ((price * quantity) - discount) = ((1000 * 0) - 10) = - 10
Our calculation - ((price - discount) * quantity) = ((1000 - 10) * 0) = 0