When last I did it (at T1 a while ago) you didn't have to go through customs or immigration - just transit security. However, it did require having a CX staff person take my passport away to get me a new boarding pass while I waited in the lounge.I can't remember if the passport was stamped by immigration in the process. I'm fairly sure I didn't need to pay any tax.