--- /usr/local/ledgersmb/LedgerSMB/IRBac2.pm	2009-01-09 18:08:27.000000000 -0600
+++ /usr/local/ledgersmb/LedgerSMB/IR.pm	2009-01-09 18:07:31.000000000 -0600
@@ -246,7 +246,7 @@ sub post_invoice {
            #09012009-SHC--The program convert the amount multiply the sellprice in exchange and don't do that with taxes , so I added this part
             for (@taxaccounts) {
                 $form->{acc_trans}{ $form->{id} }{ $_->account }{amount} +=
-                  $_->value ;
+                  $_->value * $form->{exchangerate};
             }
 
             $grossamount = $form->round_amount( $linetotal, 2 );
