v3.23.2
Supplemental Financial Statement Information - Effects on Net Income of Amounts Reclassified from AOCI (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]        
Revenue $ 74,604 $ 69,685 $ 144,391 $ 137,696
Other income (expense), net 65 (439) 855 (1,599)
Benefit (provision) for income taxes (3,535) (3,012) (6,689) (5,510)
Net of income tax 18,368 16,002 33,419 32,438
Gains (Losses) Reclassified from AOCI to the Consolidated Statements of Income        
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]        
Net of income tax (193) 103 (408) 204
Gains (Losses) Reclassified from AOCI to the Consolidated Statements of Income | Unrealized gains (losses) on available-for-sale investments        
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]        
Other income (expense), net (254) (299) (628) (489)
Benefit (provision) for income taxes 56 66 138 108
Net of income tax (198) (233) (490) (381)
Gains (Losses) Reclassified from AOCI to the Consolidated Statements of Income | Unrealized gains (losses) on cash flow hedges        
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]        
Benefit (provision) for income taxes 6 (65) (7) (115)
Net of income tax 5 336 82 585
Gains (Losses) Reclassified from AOCI to the Consolidated Statements of Income | Unrealized gains (losses) on cash flow hedges | Foreign exchange contracts        
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]        
Revenue (2) 400 86 697
Gains (Losses) Reclassified from AOCI to the Consolidated Statements of Income | Unrealized gains (losses) on cash flow hedges | Interest rate contracts        
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]        
Other income (expense), net $ 1 $ 1 $ 3 $ 3