The service period and withdrawal amount impact the tax rate on EPFO. If PAN is provided, then TDS is 10% on withdrawals that are made before 5 years and exceed ₹50,000; without PAN, it's 30%.
There will be no tax if the withdrawal is less than 50k or the service is 5+ years.