XML 202 R139.htm IDEA: XBRL DOCUMENT v3.25.3
Derivative Instruments - Summary of Notional Amounts (Detail) - CAD ($)
$ in Millions
Oct. 31, 2025
Oct. 31, 2024
Disclosure of financial assets [line items]    
Total notional amounts $ 11,888,377  
Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 11,671,891  
Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 216,486  
Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 6,765,396  
Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 6,622,186  
Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 143,210  
Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3,285,154  
Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3,213,317  
Later than one year and not later than five years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 71,837  
Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,837,827  
Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,836,388  
Over 5 years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,439  
Interest rate derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 9,350,972  
Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 9,314,422  
Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 36,550  
Interest rate derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 4,922,770  
Interest rate derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 4,891,592  
Interest rate derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 31,178  
Interest rate derivatives [member] | Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,775,367  
Interest rate derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,769,995  
Interest rate derivatives [member] | Later than one year and not later than five years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 5,372  
Interest rate derivatives [member] | Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,652,835  
Interest rate derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,652,835  
Foreign exchange derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,080,031  
Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,079,007  
Foreign exchange derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,024  
Foreign exchange derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,554,681  
Foreign exchange derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,553,657  
Foreign exchange derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,024  
Foreign exchange derivatives [member] | Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 347,802  
Foreign exchange derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 347,802  
Foreign exchange derivatives [member] | Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 177,548  
Foreign exchange derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 177,548  
Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 11,804  
Credit derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,704  
Credit derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 6,326  
Credit derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3,774  
Equity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 316,395  
Equity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 181,907  
Equity derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 134,488  
Equity derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 196,630  
Equity derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 117,883  
Equity derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 78,747  
Equity derivatives [member] | Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 117,499  
Equity derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 62,742  
Equity derivatives [member] | Later than one year and not later than five years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 54,757  
Equity derivatives [member] | Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,266  
Equity derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,282  
Equity derivatives [member] | Over 5 years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 984  
Precious metals and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 129,175  
Precious metals and other commodity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 84,399  
Precious metals and other commodity derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 44,424  
Precious metals and other commodity derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 89,611  
Precious metals and other commodity derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 57,167  
Precious metals and other commodity derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 32,261  
Precious metals and other commodity derivatives [member] | Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 38,160  
Precious metals and other commodity derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 26,283  
Precious metals and other commodity derivatives [member] | Later than one year and not later than five years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 11,708  
Precious metals and other commodity derivatives [member] | Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,404  
Precious metals and other commodity derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 949  
Precious metals and other commodity derivatives [member] | Over 5 years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 455  
Held For Trading For Trading Purpose [member]    
Disclosure of financial assets [line items]    
Total notional amounts 10,806,893 $ 7,322,125
Held For Trading For Trading Purpose [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 10,590,457 7,108,729
Held For Trading For Trading Purpose [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 216,436 213,396
Held For Trading For Trading Purpose [member] | Interest rate derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 8,388,060 5,299,972
Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 8,351,560 5,278,722
Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 36,500 21,250
Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,964,696 1,574,411
Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,963,672 1,573,700
Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,024 711
Held For Trading For Trading Purpose [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 11,804 8,532
Held For Trading For Trading Purpose [member] | Equity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 313,161 323,306
Held For Trading For Trading Purpose [member] | Equity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 178,673 163,965
Held For Trading For Trading Purpose [member] | Equity derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 134,488 159,341
Held For Trading For Trading Purpose [member] | Precious metals and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 129,172 115,904
Held For Trading For Trading Purpose [member] | Precious metals and other commodity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 84,396 83,474
Held For Trading For Trading Purpose [member] | Precious metals and other commodity derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 44,424 32,094
Held for hedging and held for trading for economic hedges [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,081,484 1,030,499
Held for hedging and held for trading for economic hedges [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,081,434 1,030,493
Held for hedging and held for trading for economic hedges [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 50 6
Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 962,912 941,169
Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 962,862 941,163
Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 50 6
Held for hedging and held for trading for economic hedges [member] | Foreign exchange derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 115,335 86,941
Held for hedging and held for trading for economic hedges [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 115,335 86,941
Held for hedging and held for trading for economic hedges [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts   19
Held for hedging and held for trading for economic hedges [member] | Equity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3,234 2,357
Held for hedging and held for trading for economic hedges [member] | Equity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3,234 2,357
Held for hedging and held for trading for economic hedges [member] | Precious metals and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3 13
Held for hedging and held for trading for economic hedges [member] | Precious metals and other commodity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3 13
Forward contract [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 12,314  
Forward contract [member] | Interest rate derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 11,943  
Forward contract [member] | Interest rate derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 370  
Forward contract [member] | Interest rate derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1  
Forward contract [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,141,387  
Forward contract [member] | Foreign exchange derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,107,993  
Forward contract [member] | Foreign exchange derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 31,812  
Forward contract [member] | Foreign exchange derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,582  
Forward contract [member] | Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 12,132 9,420
Forward contract [member] | Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,126,831 851,206
Forward contract [member] | Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 182 55
Forward contract [member] | Held for hedging and held for trading for economic hedges [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 14,556 14,723
Centrally cleared forward rate agreements [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 121,989  
Centrally cleared forward rate agreements [member] | Interest rate derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 85,716  
Centrally cleared forward rate agreements [member] | Interest rate derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 36,273  
Centrally cleared forward rate agreements [member] | Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 121,989 88,699
Swap contract [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 348,609  
Swap contract [member] | Interest rate derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 60,103  
Swap contract [member] | Interest rate derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 173,279  
Swap contract [member] | Interest rate derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 115,227  
Swap contract [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 767,093  
Swap contract [member] | Foreign exchange derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 280,000  
Swap contract [member] | Foreign exchange derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 311,127  
Swap contract [member] | Foreign exchange derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 175,966  
Swap contract [member] | Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 322,574 273,138
Swap contract [member] | Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 666,914 567,930
Swap contract [member] | Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 26,035 18,882
Swap contract [member] | Held for hedging and held for trading for economic hedges [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 100,179 71,540
Centrally cleared swap contracts [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 8,560,338  
Centrally cleared swap contracts [member] | Interest rate derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 4,527,608  
Centrally cleared swap contracts [member] | Interest rate derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,499,849  
Centrally cleared swap contracts [member] | Interest rate derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,532,881  
Centrally cleared swap contracts [member] | Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 7,626,410 4,805,504
Centrally cleared swap contracts [member] | Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 933,928 921,539
Purchased options [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 133,135  
Purchased options [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,121  
Purchased options [member] | Interest rate derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 102,507  
Purchased options [member] | Interest rate derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,121  
Purchased options [member] | Interest rate derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 28,507  
Purchased options [member] | Interest rate derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,121  
Purchased options [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 84,802  
Purchased options [member] | Foreign exchange derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 541  
Purchased options [member] | Foreign exchange derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 82,699  
Purchased options [member] | Foreign exchange derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 541  
Purchased options [member] | Foreign exchange derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,103  
Purchased options [member] | Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 130,705 47,772
Purchased options [member] | Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,121 1,069
Purchased options [member] | Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 84,802 72,180
Purchased options [member] | Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 541 67
Purchased options [member] | Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,430 644
Written options [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 138,037  
Written options [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 121  
Written options [member] | Interest rate derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 103,715  
Written options [member] | Interest rate derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 121  
Written options [member] | Interest rate derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 31,717  
Written options [member] | Interest rate derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,605  
Written options [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 85,725  
Written options [member] | Foreign exchange derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 423  
Written options [member] | Foreign exchange derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 82,965  
Written options [member] | Foreign exchange derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 423  
Written options [member] | Foreign exchange derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,760  
Written options [member] | Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 137,750 54,189
Written options [member] | Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 121 4,069
Written options [member] | Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 85,125 82,384
Written options [member] | Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 423 292
Written options [member] | Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 287 43
Written options [member] | Held for hedging and held for trading for economic hedges [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 600 678
Futures contract [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 35,308  
Futures contract [member] | Interest rate derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 29,936  
Futures contract [member] | Interest rate derivatives [member] | Later than one year and not later than five years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 5,372  
Futures contract [member] | Foreign exchange derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 60  
Futures contract [member] | Foreign exchange derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 60  
Futures contract [member] | Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 35,258 16,112
Futures contract [member] | Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 60 352
Futures contract [member] | Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 50 6
Credit default swap contracts - protection purchased [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3,164  
Credit default swap contracts - protection purchased [member] | Credit derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,565  
Credit default swap contracts - protection purchased [member] | Credit derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,414  
Credit default swap contracts - protection purchased [member] | Credit derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 185  
Credit default swap contracts - protection purchased [member] | Held For Trading For Trading Purpose [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3,164 2,782
Credit default swap contracts - protection purchased [member] | Held for hedging and held for trading for economic hedges [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts   19
Centrally cleared credit default swap contracts protection purchased [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 4,964  
Centrally cleared credit default swap contracts protection purchased [member] | Credit derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 36  
Centrally cleared credit default swap contracts protection purchased [member] | Credit derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,836  
Centrally cleared credit default swap contracts protection purchased [member] | Credit derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,092  
Centrally cleared credit default swap contracts protection purchased [member] | Held For Trading For Trading Purpose [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 4,964 3,071
Credit default swap contracts - protection sold [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 726  
Credit default swap contracts - protection sold [member] | Credit derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 103  
Credit default swap contracts - protection sold [member] | Credit derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 520  
Credit default swap contracts - protection sold [member] | Credit derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 103  
Credit default swap contracts - protection sold [member] | Held For Trading For Trading Purpose [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 726 936
Centrally cleared credit default swap contracts protection sold [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,950  
Centrally cleared credit default swap contracts protection sold [member] | Credit derivatives [member] | Later than one year and not later than five years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,556  
Centrally cleared credit default swap contracts protection sold [member] | Credit derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,394  
Centrally cleared credit default swap contracts protection sold [member] | Held For Trading For Trading Purpose [member] | Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,950 1,743
Centrally cleared commodity derivatives [member] | Precious metals and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 352  
Centrally cleared commodity derivatives [member] | Precious metals and other commodity derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 183  
Centrally cleared commodity derivatives [member] | Precious metals and other commodity derivatives [member] | Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 169  
Centrally cleared commodity derivatives [member] | Held For Trading For Trading Purpose [member] | Precious metals and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts $ 352 $ 336