[ic] Working with VAT inclusive prices

Rene Hertell interchange-users at hertell.com
Tue Mar 22 18:25:54 EST 2005


> I spent a long time playing with Interchange trying to get VAT to
> work correctly
> without rounding errors, in the end I concluded the only way to do things
> properly was store the ex VAT prices in the database with 5
> decimal places and
> use my own calculations to assign VAT. Every other way caused
> rounding errors.

I have not followed this thread so precisely, so this can be way off the
topic...

I'm not sure how you guys calculate TAX from a price, but this is how I do
it manually when writing a receipt for a product that has a 22% TAX

TAX=(22*price)/122

Regards,

René




More information about the interchange-users mailing list