v3.24.1.u1
Supplemental Financial Statement Information - Effects on Net Income of Amounts Reclassified from AOCI (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]    
Revenue $ 80,539 $ 69,787
Other income (expense), net 2,843 790
Benefit (provision) for income taxes (4,653) (3,154)
Net of income tax 23,662 15,051
Reclassification out of Accumulated Other Comprehensive Income    
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]    
Net of income tax (240) (215)
Reclassification out of Accumulated Other Comprehensive Income | Unrealized gains (losses) on available-for-sale investments    
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]    
Other income (expense), net (399) (374)
Benefit (provision) for income taxes 88 82
Net of income tax (311) (292)
Reclassification out of Accumulated Other Comprehensive Income | Unrealized gains (losses) on cash flow hedges    
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]    
Benefit (provision) for income taxes (4) (13)
Net of income tax 71 77
Reclassification out of Accumulated Other Comprehensive Income | Unrealized gains (losses) on cash flow hedges | Foreign exchange contracts    
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]    
Revenue 74 88
Reclassification out of Accumulated Other Comprehensive 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 $ 2