XML 175 R84.htm IDEA: XBRL DOCUMENT v3.22.4
Loan Sale and Servicing Activities and Variable Interest Entities (Cash Flows Associated with Loan Sale and Servicing Activities) (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Residential Mortgages    
Cash flows from sales of loans $ 5,124 $ 8,426
Cash flows from repurchases of previously transferred loans 187 239
Cash flows from servicing fees 405 367
Cash flows from servicing advances (funded) 11 33
Cash flows on mortgage-backed securities held 3,790 9,001
Carrying value of mortgage-backed securities held 21,400 17,600
Commercial Mortgages    
Cash flows from sales of loans 3,332 3,611
Cash flows from repurchases of previously transferred loans 27 207
Cash flows from servicing fees 190 165
Cash flows from servicing advances (funded) 42 26
Cash flows on mortgage-backed securities held 84 76
Carrying value of mortgage-backed securities held $ 700 $ 600