https://letyourmoneygrow.com/event/telefonica-sell-stock-exdividend-date-order-avoid-spanish-tax-dividends/
Telefonica - sell the stock before exDividend date in order to avoid Spanish tax on dividends