GNOME Bugzilla – Bug 300042
Invoice Total Error
Last modified: 2018-06-29 20:51:16 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
*** Bug 173075 has been marked as a duplicate of this bug. ***
*** Bug 302608 has been marked as a duplicate of this bug. ***
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.
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.
Audited by chris. Merged into 2.0 in r14562 for 2.0.1
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.