XML 29 R7.htm IDEA: XBRL DOCUMENT v3.20.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Cash flow from operating activities    
Net income $ 1,194,080 $ 240,304
Adjustments to reconcile net income to net cash used in operating activities:    
Net gains on loans held for sale at fair value (1,881,724) (468,041)
Change in fair value of mortgage servicing rights, mortgage servicing liabilities and excess servicing spread 1,349,926 1,024,604
Mortgage servicing rights hedging gains (1,027,327) (587,883)
Capitalization of interest on loans held for sale at fair value (55,920) (56,800)
Amortization of net debt issuance cost and (premiums) 12,163 (6,601)
Results of real estate acquired in settlement of loans (803) (1,205)
Stock based compensation expense 26,220 19,124
Provision for servicing advance losses 79,402 19,973
Depreciation and amortization 17,126 10,650
Amortization of right-to-use assets 9,176 7,258
Origination of loans held for sale (20,580,388) (7,249,762)
Purchase of loans held for sale from non-affiliates (2,515,624) (1,132,749)
Purchase of loans from Ginnie Mae securities and early buyout investors for modification and subsequent sale (5,980,081) (4,172,281)
Sale to non-affiliates and principal payments of loans held for sale 67,209,239 39,084,441
Repurchase of loans subject to representations and warranties (43,664) (15,427)
Settlement of repurchase agreement derivatives 8,270 31,993
Increase in servicing advances (156,964) (9,871)
Sale of real estate acquired in settlement of loans 27,842 17,141
Increase in other assets (305,100) (22,415)
Decrease in operating lease liabilities (10,378) (9,234)
Increase in accounts payable and accrued expenses 102,789 78,800
Payments to exchanged Private National Mortgage Acceptance Company, LLC unitholders under tax receivable agreement (10,374)  
Net cash used in operating activities (3,923,531) (1,690,141)
Cash flow from investing activities    
(Increase) decrease in short-term investments (27,525) 27,161
Net settlement of derivative financial instruments used for hedging of mortgage servicing rights 1,000,865 542,139
Purchase of mortgage servicing rights (25,473) (227,445)
Purchase of furniture, fixtures, equipment and leasehold improvements (5,584) (5,534)
Acquisition of capitalized software (38,443) (22,190)
Decrease (increase) in margin deposits 205 (168,062)
Net cash provided by investing activities 924,599 169,416
Cash flow from financing activities    
Sale of assets under agreements to repurchase 68,122,809 41,296,345
Repurchase of assets sold under agreements to repurchase (64,997,443) (39,692,086)
Issuance of mortgage loan participation purchase and sale certificates 17,814,845 17,498,589
Repayment of mortgage loan participation purchase and sale certificates (17,777,414) (17,516,431)
Advances of obligations under capital lease   25,123
Repayments of obligations under capital lease (6,853) (7,847)
Issuance of unsecured senior notes 500,000  
Repayment of excess servicing spread financing (25,112) (30,901)
Payment of debt issuance costs (26,362) (4,489)
Issuance of common stock pursuant to exercise of stock options 8,431 3,900
Payment of withholding taxes relating to stock-based compensation (5,265) (4,634)
Payment of dividend to holders of common stock (19,830)  
Repurchase of common stock (248,210) (1,056)
Net cash provided by financing activities 3,339,596 1,566,513
Net increase in cash and restricted cash 340,664 45,788
Cash and restricted cash at beginning of period 188,578 155,924
Cash and restricted cash at end of period 529,242 201,712
Cash 529,166 201,268
Restricted cash included in Other assets 76 444
PMT    
Adjustments to reconcile net income to net cash used in operating activities:    
Accrual of interest on excess servicing spread financing payable to PennyMac Mortgage Investment Trust 6,416 8,124
Change in fair value of investment in common shares of PennyMac Mortgage Investment Trust 681 (270)
Purchase of loans held for sale from PennyMac Mortgage Investment Trust (43,721,458) (32,619,639)
Sale of loans held for sale to Penny Mac Mortgage Investment Trust 2,248,896 4,095,079
Increase in receivable from affiliates (80,531) (9,598)
Decrease in payable to affiliate (14,001) (45,869)
Increase in income taxes payable 168,580 80,013
Cash flow from investing activities    
Net change in assets purchased from PMT under agreement to resell $ 20,554 $ 23,347