GNOME Bugzilla – Bug 557876
Tax Calculation error
Last modified: 2018-06-29 22:11:39 UTC
Please describe the problem: When creating an invoice in the business module, and including tax amounts, the taxes are calculated on each line item. Each tax amount is rounded to 2 decimal places. When these tax amounts are totaled, the total amount is often $0.01 greater than it should be. The tax should be calculated on the total, before tax, invoice amount. Steps to reproduce: 1. Create an invoice with 2 line item amounts of $11.50 each. 2. include a 5% tax on both items. 3. Actual results: The total tax on the invoice will be $1.16, when it should be $23 x 0.05 = $1.15 Expected results: Does this happen every time? yes Other information: Each individual line item tax should be rounded to 3 decimal places, and the total tax rounded to 2 decimal places. This bug is a show stopper for me and makes the program unusable.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 502853 ***
Sorry, I marked is as a duplicate of the wrong bug. *** This bug has been marked as a duplicate of bug 504954 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=557876. Please update any external references or bookmarks.