After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 557876 - Tax Calculation error
Tax Calculation error
Status: RESOLVED DUPLICATE of bug 504954
Product: GnuCash
Classification: Other
Component: Business
2.2.x
Other All
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2008-10-25 16:38 UTC by T Hagglund
Modified: 2018-06-29 22:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description T Hagglund 2008-10-25 16:38:51 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.
Comment 1 Geert Janssens 2010-08-24 15:32:01 UTC
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 ***
Comment 2 Geert Janssens 2010-08-24 15:35:22 UTC
Sorry, I marked is as a duplicate of the wrong bug.

*** This bug has been marked as a duplicate of bug 504954 ***
Comment 3 John Ralls 2018-06-29 22:11:39 UTC
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.