Investors & landlords

yes you can.  you need to submit form 8453 with the details. see the instructions for filing it and the support make sure M appears in column f of form 8949. (M  indicates to the IRS that this is a summary total so it will be looking for the form and details to match up).  

only submit detail to match the summary totals.

https://www.irs.gov/pub/irs-pdf/f8453.pdf