--- a/uc_vat.module +++ b/uc_vat.module @@ -903,8 +903,7 @@ function uc_vat_apply_tax($order, $tax) { $taxable_amount += $other_tax->amount; } } - //$taxable_amount is inclusive of VAT as patch #898776-9 was applied to ubercart 6.x-2.6 - $amount = $taxable_amount - ($taxable_amount / (1 + $tax->rate)); + $amount = $taxable_amount * $tax->rate; if ($amount) { $line_item = (object)array( 'id' => $tax->id,