Quarterly report pursuant to Section 13 or 15(d)

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

v3.24.1.u1
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative $ (490) $ (230)
Hedged Item 479 222
Interest rate risk on long-term debt    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative (3,104) 3,308
Hedged Item 3,090 (3,305)
Interest rate and foreign currency risk    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 344 8
Hedged Item (329) (8)
Interest rate and foreign currency risk | Interest expense    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 0 8
Interest rate and foreign currency risk | Interest Income    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 9 0
Interest rate and foreign currency risk | Market making and similar activities    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 324 1
Interest rate risk on available-for-sale securities    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 2,490 (3,027)
Hedged Item (2,502) 3,016
Price risk on commodity inventory | Interest Income    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative (220) (519)
Hedged Item 220 519
Accumulated Other Comprehensive Income (Loss) | Interest rate and foreign currency risk    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative $ 11 $ (1)