Get your taxes done using TurboTax

I am confused. In your calculation, isn't Y the same as Z? They are both your 2023 S-Corp income tax, right? By entering both you are double reporting and deducting your same 2023 income tax, right?