- Home /

Hello, I faced a problem with online ordering.

We trying to test some taxes for online orders and probably can't find a way to calculate it right.

For example: There is an order with total 11.01 But the item in this order costs 10.00 and applied tax 10%. After creating order and paying for it 11$ we see that it's not enough to make order fully paid.

Order:

Order item:

Comment

**Answer** by dan
·
Mar 20, 2017 at 08:17 PM

Basically, the tax from each of the two tax rates relevant to the line item is being calculated and rounded separately. In this specific case, we have:

An line*item with a unit*price of 1000 and two tax rates, one for 0.06755% and another for 0.0325%.

This results in tax amounts of 68 (67.55 rounds up) cents and 33 (32.5 rounds up) cents respectively.

Therefore the total is 1000 + 68 + 33 => 1101

This becomes more complicated when there are multiple line items with the same tax rate and discounts.

Follow
### Follow this Question

Calculating Tax On An Order 0 Answers

How to remove tax from order using android SDK ? 1 Answer

Manual Transactions and Tax Rates 1 Answer

Looking for a proper way of adding payment for order 1 Answer

EU Payment receipt differs from Orders receipt when mulpitle tax rates & discounts enterd by App 0 Answers

Copyright © 2010-16 DZone, Inc. - All rights reserved.

- Anonymous
- Sign in
- Create
- Ask a question
- Create an article
- Spaces
- Help
- Explore
- Topics
- Questions
- Users
- Badges