diff --git a/app/code/Magento/Sales/Model/Order/Invoice/Total/Tax.php b/app/code/Magento/Sales/Model/Order/Invoice/Total/Tax.php index 0d78b37d28d0d..2a6894553b7e9 100644 --- a/app/code/Magento/Sales/Model/Order/Invoice/Total/Tax.php +++ b/app/code/Magento/Sales/Model/Order/Invoice/Total/Tax.php @@ -47,7 +47,7 @@ public function collect(\Magento\Sales\Model\Order\Invoice $invoice) $orderItem = $item->getOrderItem(); $orderItemQty = $orderItem->getQtyOrdered(); - if ($orderItem->getTaxAmount() && $orderItemQty) { + if (($orderItem->getTaxAmount() || $orderItem->getHiddenTaxAmount()) && $orderItemQty) { if ($item->getOrderItem()->isDummy()) { continue; }