diff --git src/report/business-reports/taxinvoice.eguile.scm src/report/business-reports/taxinvoice.eguile.scm
index c0601f1..c00ca22 100644
--- src/report/business-reports/taxinvoice.eguile.scm
+++ src/report/business-reports/taxinvoice.eguile.scm
@@ -46,7 +46,7 @@
            (txn          (gncInvoiceGetPostedTxn  opt-invoice))
            (currency     (gncInvoiceGetCurrency   opt-invoice))
            (entries      (gncInvoiceGetEntries    opt-invoice))
-           (splits      '())
+           (splits      '());'
            (slots        (qof-book-get-slots book))
            (coyname      (coy-info slots gnc:*company-name*))
            (coycontact   (coy-info slots gnc:*company-contact*))
@@ -336,7 +336,7 @@
               (inv-total 'add currency rtaxval)
               (tax-total 'add currency rtaxval)
               (sub-total 'add currency rval)
-              (dsc-total 'add currency rdiscval)
+              (dsc-total 'add currency rdiscval);'
     ?>
     <tr valign="top">
       <?scm (if opt-col-date (begin ?>
@@ -415,7 +415,7 @@
 
     <!-- total row -->
     <tr valign="top">
-      <td align="left" class="total" colspan="<?scm:d spancols_total ?>"><strong><?scm:d opt-amount-due-heading ?><?scm (if (not (string=? (gnc-commodity-get-mnemonic opt-report-currency) "")) (begin ?>,
+      <td align="left" class="total" colspan="<?scm:d (if (and tax? taxtables?) (+ spancols_total 1)(+ spancols_total 0)) ?>"><strong><?scm:d opt-amount-due-heading ?><?scm (if (not (string=? (gnc-commodity-get-mnemonic opt-report-currency) "")) (begin ?>,
         <?scm:d (gnc-commodity-get-mnemonic opt-report-currency) ?><?scm )) ?></strong></td>
       <td align="right" class="total"><strong><?scm (display-comm-coll-total inv-total #f) ?></strong></td>
     </tr>
