diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index 1f91badfaa8e..2c7fc0fcc555 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -1201,7 +1201,7 @@ class Invoice extends EntityModel implements BalanceAffecting } foreach ($this->invoice_items as $invoiceItem) { - $itemTaxAmount = $this->getItemTaxable($invoiceItem, $taxable); + $taxable = $this->getItemTaxable($invoiceItem, $taxable); if ($invoiceItem->tax_name1) { $itemTaxAmount = round($taxable * ($invoiceItem->tax_rate1 / 100), 2);