Discount application on tax inclusive items

Discount application on tax inclusive items

Hi,
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%

Case 1:
Item total when Discount % is applied,
Item total = 500 - (10% of 500) = 450

Case 2:
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?

Thanks

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方