I don’t have the details from a prior year return. Can I get this from the IRS somehow? 

Yes, there are different types of transcripts that you can request from the IRS. If you would like to request a transcript, you can do so here.