Comment 4 for bug 452854

Revision history for this message
sraps (Alistek) (erpsraps) wrote : Re: Cannon validate foreign currency invoices

Thank you for the patch, but...

Although it seems that it would solve the problem (I am sure it would, for about 1/2 of the cases), solving this problem with the rounding is not a solution.

These cases actually are being dealt in any mature accounting software (no hard feelings), by adding another accounting move to cover the difference.

Have just opened book about Concorde XAL dated back to 1996. It says:
------
Penny Difference

When entries are made in foreign currency, the conversions of the individual parts of the invoice amount may result in a penny difference. If this is the case, a penny difference will be entered...
------
I have made an inquiry, this is the same in current systems too. This should NOT be solved by rounding.

This is similar to a Write off entry. Usually this is being set somewhere in the settings, the account where the penny difference move should be made and the allowed sum of money for the difference.

Regarding proposed patch, I would not mess with the price accuracy in the accounting moves as there are legislation rules which state what accuracy should be used in accounting. In this case as this is the final sum, this rounding probably should be done using rounding factor from particular currency.

Kaspars