XML 113 R101.htm IDEA: XBRL DOCUMENT v3.23.2
Summary of Changes in Accumulated Other Comprehensive Income (Loss) by Component (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period $ 166,542 $ 141,988  
Other comprehensive income (loss) (1,665) (6,500) $ (1,374)
Balance, end of period 206,223 166,542 141,988
Derivatives      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period (13) (19) (38)
Unrealized losses, net of tax 34 (57) 34
Tax expense (benefit) included in provision for income taxes 13 (16) 2
Amounts reclassified from accumulated other comprehensive income (loss) (48) 63 (15)
Other comprehensive income (loss) (14) 6 19
Balance, end of period (27) (13) (19)
Derivatives | Other Income (Expense), Net      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Reclassification adjustments for (gains) losses included in other income (expense), net (61) 79 (17)
Investments      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period (2,138) 3,222 5,478
Unrealized losses, net of tax (1,523) (5,405) (2,216)
Tax expense (benefit) included in provision for income taxes (20) (12) 13
Amounts reclassified from accumulated other comprehensive income (loss) 79 45 (50)
Other comprehensive income (loss) (1,444) (5,360) (2,266)
Balance, end of period (3,582) (2,138) 3,222
Investments | Cumulative effect of accounting changes      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period 0 0 10
Balance, end of period   0 0
Investments | Other Income (Expense), Net      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Reclassification adjustments for (gains) losses included in other income (expense), net 99 57 (63)
Translation adjustments and other      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period (2,527) (1,381) (2,254)
Other comprehensive income (loss) (207) (1,146) 873
Balance, end of period (2,734) (2,527) (1,381)
Accumulated other comprehensive income (loss)      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period (4,678) 1,822 3,186
Other comprehensive income (loss) (1,665) (6,500) (1,374)
Balance, end of period (6,343) (4,678) 1,822
Accumulated other comprehensive income (loss) | Cumulative effect of accounting changes      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period $ 0 0 10
Balance, end of period   $ 0 $ 0