Quarterly report pursuant to Section 13 or 15(d)

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

v3.23.1
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative $ (230) $ (1,458)
Hedged Item 222 1,559
Interest rate risk on long-term debt    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 3,308 (11,034)
Hedged Item (3,305) 11,219
Interest rate and foreign currency risk on long-term debt    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 8 (9)
Hedged Item (8) 8
Interest rate and foreign currency risk on long-term debt | Interest expense    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 8 (21)
Interest rate and foreign currency risk on long-term debt | Market making and similar activities    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 1 14
Interest rate risk on AFS securities    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative (3,027) 9,817
Hedged Item 3,016 (9,905)
Price risk on commodity inventory | Interest Income    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative (519) (232)
Hedged Item 519 237
Accumulated Other Comprehensive Income (Loss) | Interest rate and foreign currency risk on long-term debt    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative $ (1) $ (2)