On 23/01/12 11:01 -0800, Giedrius Slavinskas wrote:
> 
> On 23 Sau, 16:00, Cédric Krier <[email protected]> wrote:
> > Sorry but it is correct because if you get a line like this:
> >
> > Line1: unitprice=0.1260, quantity=5, subtotal=0.63
> >
> > vat_21_base=0.63, VAT_21%=0.13
> >
> 
> In this case, it is correct, because vat_21_base=0.63 and 21% of this
> is 0.1323,
> but 21% of 0.65 is not 0.13.
> 
> Of course these incorrect amounts are very small, and they can be
> ignored. But the main purpose should be to have the correct invoice
> without questionable amounts. I don't want to have a customer who
> thinks that I don't know how to count :)

Any solution will always have such strange result.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpyB3OFRxHAA.pgp
Description: PGP signature

Reply via email to