IRS Pub 523 lists only the following deductible selling expenses: commissions, advertising fees, legal fees, and "loan charges paid by seller".
What about inspection fees, Natural Hazard Disclosure (Calif req), notary fees, doc prep (deed), county transfer tax, and "3R report" (San Francisco disclosure req)?
All costs are included in the Seller's Closing Statement that the escrow company provided. But that statement includes costs that I presume are __not__ deductible, e.g. prorated property taxes.