hey ipb15,
The basis of the property in the corporation's hands will never automatically be the assumed liability (although it may coincidentally be).
Let's break it down:
For gain calculation purposes, you want to look at this like a sale transaction.
In that respect, it's as if the shareholder has $15,000 of basis ($10,000 cash contributed + $5,000 basis of property contributed) and receiving $20,000 (the liability taken off his hands). Therefore he would report $5,000 of gain.
Corporations are allowed to receive contributions without being taxed on them. The corporation would take a carryover value of $5,000 + $5,000 gain that the shareholder recognized, resulting in a basis of $10,000.
If you think about it logically, the shareholder is now $5,000 better off than he was before; so he must report a gain of $5,000.
On the shareholder's side it'll look like this:
Debit Liability $20,000
Credit Cash $10,000
Credit Property $5,000
Credit Gain $5,000
Likewise the corporation will now have in its possession:
Debit $10,000 of cash
Debit $10,000 of basis in the property ($5,000 carryover basis + $5,000 gain that the shareholder recognized)
Credit $20,000 liability
–>Since the shareholder recognized gain, we're allowed to add that gain to the basis of the property. If we did not, then once we sell the property for $40,000; we would recognize $35,000 of gain, instead of $30,000—Effectively recognizing the gain of $5,000 twice (once upon contribution by the shareholder, and once when the corporation sells the property). This way, the system is “balanced.”
**To take it a step further, let's assume the property took a basis of the liability assumed:
Then the corporation would possess:
Debit Cash $10,000
Debit Property $20,000
Credit Liability $20,000
The account doesn't balance.
**The situation where you're seeing the property taking a basis of the liability assumed is when the liability assumed is greater than the basis of the property and there isn't anything else in the contributing transaction to offset the gain.
e.g. if you contribute property to a corporation with:
FMV $10,000
Basis $5,000
Liability attached $20,000
You recognize a gain of $15,000
The corporation would take a basis in the property of $20,000 (Basis of $5,000 + $15,000)
It's just coincidence that the new basis and assumed liability are the same. The original problem had the factor of cash contributed which increased the basis of the shareholder in the transaction to offset the gain from the assumed liability.
Hope that made sense, it turned out a lot longer than I expected it to be…