XML 113 R101.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of Changes in Accumulated Other Comprehensive Income (Loss) by Component (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period $ 141,988 $ 118,304  
Accounting Standards Update [Extensible List] us-gaap:AccountingStandardsUpdate201601Member us-gaap:AccountingStandardsUpdate201601Member us-gaap:AccountingStandardsUpdate201601Member
Other comprehensive income (loss) $ (6,500) $ (1,374) $ 3,526
Balance, end of period 166,542 141,988 118,304
Derivatives      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period (19) (38) 0
Unrealized gains (losses), net of tax (57) 34 (38)
Tax expense (benefit) included in provision for income taxes (16) 2 0
Amounts reclassified from accumulated other comprehensive income (loss) 63 (15) 0
Other comprehensive income (loss) 6 19 (38)
Balance, end of period (13) (19) (38)
Derivatives | Other Income (Expense), Net      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Reclassification adjustments for (gains) losses included in other income (expense), net 79 (17) 0
Investments      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period 3,222 5,478 1,488
Unrealized gains (losses), net of tax (5,405) (2,216) 3,987
Tax expense (benefit) included in provision for income taxes (12) 13 (1)
Amounts reclassified from accumulated other comprehensive income (loss) 45 (50) 3
Other comprehensive income (loss) (5,360) (2,266) 3,990
Balance, end of period (2,138) 3,222 5,478
Investments | Cumulative effect of accounting changes      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period 0 10 0
Balance, end of period   0 10
Investments | Other Income (Expense), Net      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Reclassification adjustments for (gains) losses included in other income (expense), net 57 (63) 4
Translation adjustments and other      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period (1,381) (2,254) (1,828)
Other comprehensive income (loss) (1,146) 873 (426)
Balance, end of period (2,527) (1,381) (2,254)
Accumulated other comprehensive income (loss)      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period 1,822 3,186 (340)
Other comprehensive income (loss) (6,500) (1,374) 3,526
Balance, end of period (4,678) 1,822 3,186
Accumulated other comprehensive income (loss) | Cumulative effect of accounting changes      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Balance, beginning of period $ 0 10 0
Balance, end of period   $ 0 $ 10