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 300042 - Invoice Total Error
Invoice Total Error
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Business
1.8.x
Other All
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
: 173075 302608 (view as bug list)
Depends on:
Blocks: 347575
 
 
Reported: 2005-04-09 23:40 UTC by David Blomquist
Modified: 2018-06-29 20:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Blomquist 2005-04-09 23:40:40 UTC
Please describe the problem:
When an invoice is created, under certain conditions, the invoice total will be
incorrect.

Steps to reproduce:
1. Create an invoice as described below.
2. The tax used in the example is 8.25%. 

Description Quantity Unit Price Taxable Subtotal Tax

Item one    1.00      43.29             43.29     0.00
Item two    1.00      60.00     X       60.00     4.95
Item three   .50      90.00     X       45.00     3.71
Item four    .25      90.00     X       22.50     1.86
Item five    .25      90.00     X       22.50     1.86

Total:$205.66  Subtotal:$193.29   Tax:$12.38


Actual results:
The wrong total is produced.

Expected results:
The total should be $205.67, not $205.66.

Does this happen every time?
Yes. This has been reproduced by another GnuCash user.

Other information:
Please see:

https://lists.gnucash.org/pipermail/gnucash-user/2005-April/013452.html

https://lists.gnucash.org/pipermail/gnucash-user/2005-April/013455.html
Comment 1 Christian Stimming 2005-04-11 09:07:53 UTC
*** Bug 173075 has been marked as a duplicate of this bug. ***
Comment 2 Derek Atkins 2005-05-27 21:44:06 UTC
*** Bug 302608 has been marked as a duplicate of this bug. ***
Comment 3 Derek Atkins 2006-07-17 02:05:14 UTC
Ahh, I think I've tracked this down.  I've used your test case and it seems to work right now.  So I think this has been fixed in trunk in r14531.  Awaiting audit for backport to the 2.0 release.
Comment 4 Derek Atkins 2006-07-20 01:16:00 UTC
Chris had a comment on my original change <http://lists.gnucash.org/pipermail/gnucash-devel/2006-July/018211.html>.  In particular he questioned my hard-coding the SCU into the ledger.  So I've fixed that in r14545.  Awaiting the re-audit for backport.
Comment 5 Derek Atkins 2006-07-26 02:39:54 UTC
Audited by chris.  Merged into 2.0 in r14562 for 2.0.1
Comment 6 John Ralls 2018-06-29 20:51:16 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=300042. Please update any external references or bookmarks.