Yes, you must mention TAN while filing e-TDS returns. It is mandatory to quote TAN in TDS, and TCS returns, whether filed offline or online.