CASH FLOWS STATEMENTS - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Mar. 31, 2016
Mar. 31, 2015
Mar. 31, 2016
Mar. 31, 2015
Operations        
Net income $ 3,756 $ 4,985 $ 13,676 $ 15,388
Adjustments to reconcile net income to net cash from operations:        
Depreciation, amortization, and other 1,707 1,515 4,712 4,464
Stock-based compensation expense 672 641 2,004 1,920
Net recognized losses (gains) on investments and derivatives 65 (55) 216 (179)
Deferred income taxes 351 253 177 868
Deferral of unearned revenue 13,073 10,163 36,066 28,385
Recognition of unearned revenue (12,210) (11,209) (35,494) (33,347)
Changes in operating assets and liabilities:        
Accounts receivable 2,288 3,655 5,546 6,904
Inventories 241 (430) 408 157
Other current assets (420) (111) (1,914) (550)
Other long-term assets 7 (108) 58 341
Accounts payable (129) (390) 105 (912)
Other current liabilities 626 200 (1,293) (1,952)
Other long-term liabilities 340 492 594 1,332
Net cash from operations 10,367 9,601 24,861 22,819
Financing        
Proceeds from issuance (repayments) of short-term debt, maturities of 90 days or less, net 2,622 (6,575) 481 1,222
Proceeds from issuance of debt 25 10,680 13,274 10,680
Repayments of debt (900) 0 (2,771) (1,500)
Common stock issued 159 146 495 483
Common stock repurchased (3,857) (5,131) (12,292) (10,164)
Common stock cash dividends paid (2,842) (2,532) (8,185) (7,386)
Other (123) 316 (366) 601
Net cash used in financing (4,916) (3,096) (9,364) (6,064)
Investing        
Additions to property and equipment (2,308) (1,391) (5,688) (4,163)
Acquisition of companies, net of cash acquired, and purchases of intangible and other assets (559) (162) (1,330) (3,097)
Purchases of investments (27,341) (30,218) (99,661) (73,470)
Maturities of investments 5,192 5,561 16,229 9,643
Sales of investments 19,599 21,063 76,292 53,616
Securities lending payable (66) (334) 281 (463)
Net cash used in investing (5,483) (5,481) (13,877) (17,934)
Effect of foreign exchange rates on cash and cash equivalents 17 (36) (45) (76)
Net change in cash and cash equivalents (15) 988 1,575 (1,255)
Cash and cash equivalents, beginning of period 7,185 6,426 5,595 8,669
Cash and cash equivalents, end of period $ 7,170 $ 7,414 $ 7,170 $ 7,414