All of the costs would rolled in, so it breaks down like this:
$33,215 MSRP
$31,099 Selling price (base cap cost)
-$3,000 downpayment
-$1,200 trade
-$750 rebate
$1,246 Downpayment tax, title, registration, doc, acquisition fee, etc
$27,395 Adjusted cap cost
$16,939 Residual value
$327.xx...