From: Jeff V. <jv...@ch...> - 2005-04-23 02:30:03
|
On Wed, 2005-04-20 at 11:30 +0100, Kevin Bailey wrote: > hi, > > so i have several parts in the system - and i go get them from a > supplier. > > now the supplier gives me his invoice on paper. > > and i go to enter this invoice into sql-ledger. > > one of the lines is causing the invoices not to match. > > 5 items at 0.95 each = 4.75 > > minus 30% discount - this should be 1.425 - say 1.43 rounded > > which should give a total of 3.32 > > but sql-ledger calculates the amount after discount as 3.30 > > its only 2p but obviously it will not work when reconciling the bank > statements. > > now i know that somtimes the VAT will differ by a penny so being > slightly different is going to happen. > > what i want to know is this... > > how do i change the amount to match what i actually paid the vendor? > > and is SL calculating the discount differently from expected? > > thanks - kevin > > > This rounding issue has been brought up before and the rounding occurs as Deiter has specified. SL does the rounding at the per-item level. IMHO rounding should be selectable by the user to do it at any one of three points; 1. per-item (greatest errors from expected) 2. per-line (extended price) on the invoice, or 3. per-invoice total. This would make it versatile enough to meet almost any need. |