v3.24.0.1
Supplemental Financial Statement Information - Reclassifications Out of Accumulated Other Comprehensive Income (Loss) (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Revenues $ 307,394 $ 282,836 $ 257,637
Other income (expense), net 1,424 (3,514) 12,020
Benefit (provision) for income taxes (11,922) (11,356) (14,701)
Net of income tax 73,795 59,972 76,033
Reclassification out of AOCI      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Net of income tax (954) 699 218
Reclassification out of AOCI | Unrealized gains (losses) on available-for-sale investments      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Other income (expense), net (1,497) (1,291) 82
Benefit (provision) for income taxes 329 284 (18)
Net of income tax (1,168) (1,007) 64
Reclassification out of AOCI | Unrealized Gains (Losses) on Cash Flow Hedges      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Benefit (provision) for income taxes (5) (346) (17)
Net of income tax 214 1,706 154
Reclassification out of AOCI | Unrealized Gains (Losses) on Cash Flow Hedges | Foreign exchange contracts      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Revenues 213 2,046 165
Reclassification out of AOCI | Unrealized Gains (Losses) on Cash Flow Hedges | Interest rate contracts      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Other income (expense), net $ 6 $ 6 $ 6