Quarterly report pursuant to Section 13 or 15(d)

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

v3.23.2
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ (872) $ (2,490) $ (1,102) $ (3,948)
Hedged Item 837 2,425 1,059 3,984
Interest rate risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (3,550) (7,989) (242) (19,023)
Hedged Item 3,516 7,974 211 19,193
Interest rate and foreign currency risk        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 107 (51) 115 (60)
Hedged Item (104) 51 (112) 59
Interest rate and foreign currency risk | Interest expense        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (1) (13) 7 (34)
Interest rate and foreign currency risk | Interest Income        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 1   1  
Interest rate and foreign currency risk | Market making and similar activities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 103 (39) 105 (25)
Interest rate risk on available-for-sale securities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 1,880 4,950 (1,147) 14,767
Hedged Item (1,884) (5,031) 1,132 (14,936)
Price risk on commodity inventory | Interest Income        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 691 600 172 368
Hedged Item (691) (569) (172) (332)
Accumulated Other Comprehensive Income (Loss) | Interest rate and foreign currency risk        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ 4 $ 1 $ 2 $ (1)