Ebix, Inc. and Subsidiaries
Consolidated Statements of Cash Flows
  Six Months Ended
  June 30,
  2021 2020
Cash flows from operating activities:    
Net income attributable to Ebix, Inc. $37,312 $48,198
Net loss attributable to noncontrolling interest (1.076) (489)
Adjustments to reconcile net income to net cash provided by operating activities:    
Amortization and depreciation 7,785 6,750
(Benefit) provision for deferred taxes (3,175) 225
Share based compensation 2,717 2,253
Benefit for doubtful accounts (2,815) (50)
Amortization of right-of-use assets 2,507 3,257
Amortization of capitalized software development costs 1,647 1,670
Reduction of acquisition accruals (3,308)
Changes in assets and liabilities, net of effects from acquisitions:    
Accounts receivable 2,025 14,190
Receivables from service providers (8,592) 12,381
Payables to service agents (1,154) (7,802)
Other assets (10,489) (1,260)
Accounts payable and accrued expenses (9,469) (8,004)
Accrued payroll and related benefits (1,318) 2,130
Contract liabilities 2,182 (306)
Lease liabilities (264) (3,008)
Reserve for potential uncertain income tax return positions 334 206
Other liabilities 3,503 (8,634)
Net cash provided by operating activities 21,660 58,399
     
Cash flows from investing activities:    
Cash paid for acquisitions, net of cash acquired (5,170)
Capitalized software development costs (3,106) (3,257)
Maturities (purchases) of unrestricted marketable securities, net 11,250 (27,301)
Capital expenditures (1,705) (757)
Net cash provided by (used in) investing activities 6,439 (36,485)
     
Cash flows from financing activities:    
Proceeds from revolving line of credit, net 1,364
Principal payments of term loan obligation (31,297) (9,414)
Proceeds from the exercise of stock options 636
Forfeiture of certain shares to satisfy exercise costs and the recipients income tax obligations related to stock options exercised and restricted stock vested (119) (1,841)
Dividend payments (4,642) (4,605)
Payments of debt obligations (149) (119)
Payments of working capital facility, net (6,886) (19,763)
Payments of financing lease obligations (48) (113)
Net cash used in financing activities (43,141) (33,855)
Effect of foreign exchange rates on cash (4,806) (10,030)
Net change in cash and cash equivalents, and restricted cash (19,848) (21,971)
Cash and cash equivalents, and restricted cash at the beginning of the period 120,213 111,369
Cash and cash equivalents, and restricted cash at the end of the period $100,365 $89,398
Supplemental disclosures of cash flow information:    
Interest paid $14,065 $15,434
Income taxes paid $12,073 $2,096