I am trying to give discount on 'tax inclusive items' at line_item level and I want to show discount amount instead of discount percentage on my invoice.
The issue i am facing is described below
Item A rate(tax inclusive) = 500 Rs.
Discount % = 10 %
Discount Amount = 50 Rs.
GST on Item A = 18%
Item total when Discount % is applied,
Item total = 500 - (10% of 500) = 450
Item total when Discount Amount is applied,
Item total = 500 - 50 = 450(Desired value)
However the actual item total i got is, Rs 441
Why discount amount is applied on tax exclusive total and discount percentage is applied on tax inclusive total.
Also there is no parameter for 'is_discount_before_tax' in zoho inventory api at line item level.
I would like to know ,are there any api parameters to include in request to achieve the expected results?