Annual report pursuant to Section 13 and 15(d)

Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details)

v3.24.0.1
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative $ 61 $ (4,109) $ (1,905)
Hedged Item (210) 3,990 1,750
Interest rate risk on long-term debt | Interest expense      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative 3,594 (26,654) (7,018)
Hedged Item (3,652) 26,825 6,838
Interest rate and foreign currency risk      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative (17) (120) (90)
Hedged Item 27 119 79
Interest rate and foreign currency risk | Interest expense      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative 13 (37) (73)
Interest rate and foreign currency risk | Interest Income      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative 6 0 0
Interest rate and foreign currency risk | Market making and similar activities      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative (51) (81) 0
Interest rate risk on available-for-sale securities | Interest Income      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative (3,518) 21,991 5,203
Hedged Item 3,417 (22,280) (5,167)
Price risk on commodity inventory | Interest Income      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative 2 674 0
Hedged Item (2) (674) 0
Accumulated Other Comprehensive Income (Loss) | Interest rate and foreign currency risk      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative $ 15 $ (2) $ (17)