XML 51 R40.htm IDEA: XBRL DOCUMENT v3.10.0.1
Servicing Activities - Sales of Mortgage Loans (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Cash Flows Between Transferor and Transferee [Abstract]        
Proceeds from new loan sales or securitizations     $ 584 $ 1,651
Servicing fees from capitalized portfolio     29 104
Purchases of previously sold loans     (2) (15)
Servicing advances     (244) (627)
Repayment of servicing advances     301 782
Realized Gain on Sale        
Pre-tax gains related to sale or securitization of residential mortgage loans $ 5 $ 46 $ 18 95
All loan sales        
Cash Flows Between Transferor and Transferee [Abstract]        
Repayment of servicing advances       $ 21