Quarterly report pursuant to Section 13 or 15(d)

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

v3.23.3
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Sep. 30, 2023
Sep. 30, 2022
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ (1,881) $ 1,169 $ (2,983) $ (2,779)
Hedged Item 1,849 (1,192) 2,908 2,792
Interest rate risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (4,339) (8,435) (4,581) (27,458)
Hedged Item 4,299 8,437 4,510 27,630
Interest rate and foreign currency risk        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 114 (77) 229 (137)
Hedged Item (113) 78 (225) 137
Interest rate and foreign currency risk | Interest expense        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 2 (6) 9 (40)
Interest rate and foreign currency risk | Interest Income        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 21   22  
Interest rate and foreign currency risk | Market making and similar activities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 90 (71) 195 (96)
Interest rate risk on available-for-sale securities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 1,934 8,675 787 23,442
Hedged Item (1,927) (8,769) (795) (23,705)
Price risk on commodity inventory | Interest Income        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 410 1,006 582 1,374
Hedged Item (410) (938) (582) (1,270)
Accumulated Other Comprehensive Income (Loss) | Interest rate and foreign currency risk        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ 1 $ 0 $ 3 $ (1)