Common/EventListener/AbstractSaleListener.php
protected function isTaxationUpdateNeeded(SaleInterface $sale)
    {
        // TODO (Order) Abort if "completed" and not "has changed for completed"

        // TODO Get tax resolution mode. (by invoice/delivery/origin).

        if ($this->persistenceHelper->isChanged($sale, ['taxExempt', 'customer', 'vatValid'])) {
            return true;
        }

        return $this->didDeliveryCountryChanged($sale);
    }
protected function isTaxationUpdateNeeded(SaleInterface $sale)
    {
        // TODO (Order) Abort if "completed" and not "has changed for completed"

        // TODO Get tax resolution mode. (by invoice/delivery/origin).

        if ($this->persistenceHelper->isChanged($sale, ['taxExempt', 'customer', 'vatValid'])) {
            return true;
        }

        return $this->didDeliveryCountryChanged($sale);
    }
Returns whether or not the taxation adjustments should be updated.

@param SaleInterface $sale

@return bool