Annual report pursuant to Section 13 and 15(d)

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

v3.22.4
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative $ (4,109) $ (1,905) $ 7,830
Hedged Item 3,990 1,750 (7,954)
Interest rate risk on long-term debt | Interest expense      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative (26,654) (7,018) 7,091
Hedged Item 26,825 6,838 (7,220)
Interest rate and foreign currency risk on long-term debt      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative (120) (90) 783
Hedged Item 119 79 (783)
Interest rate and foreign currency risk on long-term debt | Interest expense      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative (37) (73) 701
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 (81) 0 73
Interest rate risk on AFS securities | Interest Income      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative 21,991 5,203 (44)
Hedged Item (22,280) (5,167) 49
Price risk on commodity inventory | Interest Income      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative 674 0 0
Hedged Item (674) 0 0
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 $ (2) $ (17) $ 9