See at a glance how much tax and health insurance contributions are payable on the lump-sum payment from your occupational pension, and how much tax an investment allowance (IAB) saves in the year of payment.
Cashing in your occupational pension: What will you be left with?
You can find background information and a detailed calculation example in my post Withdrawing your company pension: How to keep more of your capital.