Like-kind exchange: boot received and basis of the replacement property
Rule us-fed.irc.1031-boot-and-basis
When an otherwise qualifying exchange also gives the taxpayer money or other property, gain is recognized up to the money plus the other property's fair market value; no loss is recognized. Liabilities the other party assumes, or subject to which the relinquished property passes, count as money received. Liabilities the taxpayer takes on, and cash or other property it gives, offset liabilities relieved, but liabilities taken on never offset cash or other property received. The replacement's basis is the basis given up, less money received and plus gain recognized; the regulation's examples also add liabilities taken on and cash paid. Other property received takes its fair market value as basis.
26 USC 1031(b), (c) and (d); 26 CFR 1.1031(b)-1(c) and 1.1031(d)-2Sources checked AI-drafted