Hello, I would like to understand how to calculate tax for orders created via API. Per Clover documentation at https://docs.clover.com/build/web-app...

I see tax calculation is only done at once on order working total. How is this possible to calculate it at order level since every inventory item in clover can be associated with one or more tax rates? How do i apply these tax rates at order level?

I am using pay api to make a payment for the order with my calculated totals that is turning out a cent less or more that the order total that clover calculates thru the Orders app. So i would like to know how to calculate tax properly if it needs to be done per item and its tax rates and/or on whole order sum total?

Could you kindly clarify?

Regards, Liju