Foreign tax credit computation: how to actually work through Form 1116
I've been living in Germany for three years and I'm trying to do my own foreign tax credit computation for the first time. I paid a significant amount in German income tax and I'd rather take the credit than the FEIE because I have some US-source income that the exclusion won't help with anyway. I pulled up Form 1116 and I'm staring at Part I, Part II, and Part III and I can't figure out the right order of operations. I filled in the foreign taxes paid in Part II, but then Part I asks me to allocate deductions against foreign income and I'm not sure how to do that or what goes on lines 1a through 2. Do I need to split my income into categories first? Does my German salary count as general category or something else? I know there's a limitation involved but I'm not sure how to get from the taxes I paid to the credit I actually get.