XML 212 R147.htm IDEA: XBRL DOCUMENT v3.22.2.2
Derivative Instruments - Summary of Notional Amounts (Detail) - CAD ($)
$ in Millions
Oct. 31, 2022
Oct. 31, 2021
Disclosure of financial assets [line items]    
Total notional amounts $ 6,744,130  
Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 6,487,648  
Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 256,482  
Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3,346,291  
Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 3,154,135  
Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 192,156  
Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,358,181  
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,294,938  
Later than one year and not later than five years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 63,243  
Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,039,658  
Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,038,575  
Over 5 years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,083  
Interest rate derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 5,065,684  
Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 4,955,157  
Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 110,527  
Interest rate derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,235,633  
Interest rate derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 2,147,728  
Interest rate derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 87,905  
Interest rate derivatives [member] | Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,950,487  
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 1,927,865  
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 22,622  
Interest rate derivatives [member] | Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 879,564  
Interest rate derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 879,564  
Foreign exchange derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,351,845  
Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,351,803  
Foreign exchange derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 911,067  
Foreign exchange derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 911,025  
Foreign exchange derivatives [member] | Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 285,103  
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 285,103  
Foreign exchange derivatives [member] | Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 155,675  
Foreign exchange derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 155,675  
Credit derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 5,796  
Credit derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,956  
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,944  
Credit derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,896  
Equity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 230,385  
Equity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 120,899  
Equity derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 109,486  
Equity derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 145,361  
Equity derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 65,407  
Equity derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 79,954  
Equity derivatives [member] | Later than one year and not later than five years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 83,424  
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 54,616  
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 28,808  
Equity derivatives [member] | Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,600  
Equity derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 876  
Equity derivatives [member] | Over 5 years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 724  
Precious metal and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 90,420  
Precious metal and other commodity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 53,937  
Precious metal and other commodity derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 36,427  
Precious metal and other commodity derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 52,274  
Precious metal and other commodity derivatives [member] | Within 1 year [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 27,969  
Precious metal and other commodity derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 24,255  
Precious metal 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 37,223  
Precious metal 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 25,404  
Precious metal 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,813  
Precious metal and other commodity derivatives [member] | Over 5 years [member]    
Disclosure of financial assets [line items]    
Total notional amounts 923  
Precious metal and other commodity derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 564  
Precious metal and other commodity derivatives [member] | Over 5 years [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 359  
Held For Trading For Trading Purpose [member]    
Disclosure of financial assets [line items]    
Total notional amounts 6,033,400 $ 5,065,287
Held For Trading For Trading Purpose [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 5,776,940 4,756,788
Held For Trading For Trading Purpose [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 256,460 308,499
Held For Trading For Trading Purpose [member] | Interest rate derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 4,435,806 3,556,518
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 4,325,301 3,376,372
Held For Trading For Trading Purpose [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 110,505 180,146
Held For Trading For Trading Purpose [member] | Foreign exchange derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,272,649 1,243,248
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,272,607 1,243,242
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 5,723 5,415
Held For Trading For Trading Purpose [member] | Equity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 228,813 177,176
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 119,327 83,612
Held For Trading For Trading Purpose [member] | Equity derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 109,486 93,564
Held For Trading For Trading Purpose [member] | Precious metal and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 90,409 82,930
Held For Trading For Trading Purpose [member] | Precious metal and other commodity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 53,926 48,028
Held For Trading For Trading Purpose [member] | Precious metal and other commodity derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 36,427 34,783
Held for hedging and held for trading for economic hedges [member]    
Disclosure of financial assets [line items]    
Total notional amounts 710,730 552,335
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 710,708 552,335
Held for hedging and held for trading for economic hedges [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 22  
Held for hedging and held for trading for economic hedges [member] | Interest rate derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 629,878 490,343
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 629,856 490,343
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 22  
Held for hedging and held for trading for economic hedges [member] | Foreign exchange derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 79,196 60,011
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 79,196 60,011
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 73 150
Held for hedging and held for trading for economic hedges [member] | Equity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,572 1,831
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 1,572 1,831
Held for hedging and held for trading for economic hedges [member] | Equity derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 0  
Held for hedging and held for trading for economic hedges [member] | Precious metal and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 11  
Held for hedging and held for trading for economic hedges [member] | Precious metal and other commodity derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 11  
Forward contract [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 11,326  
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 9,098  
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 2,228  
Forward contract [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 727,077  
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 699,241  
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 26,247  
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,589  
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   7,149
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 719,885 709,628
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 11,326 5,611
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 7,192 6,937
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 111,616  
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 95,241  
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 16,375  
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 111,616 100,198
Centrally cleared forward rate agreements [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 0  
Swap contract [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 268,025  
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 55,981  
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 123,774  
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 88,270  
Swap contract [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 569,187  
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 160,500  
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 254,614  
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 154,073  
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 246,336 243,655
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 497,830 491,884
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 21,689 23,205
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 71,357 52,247
Centrally cleared swap contracts [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 4,526,711  
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 1,964,761  
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 1,772,589  
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 789,361  
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 3,930,263 2,998,139
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 596,448 460,922
Purchased options [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 20,450  
Purchased options [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 6  
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 12,219  
Purchased options [member] | Interest rate derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 6  
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 7,142  
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 1,089  
Purchased options [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 25,735  
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 23,800  
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 1,922  
Purchased options [member] | Foreign exchange derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 13  
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 20,160 13,319
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 6 5,251
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 25,734 19,843
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 290 344
Purchased 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 1 88
Written options [member] | Interest rate derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 17,029  
Written options [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,006  
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 10,428  
Written options [member] | Interest rate derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 1,006  
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 5,757  
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 844  
Written options [member] | Foreign exchange derivatives [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 29,804  
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 27,484  
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,320  
Written options [member] | Foreign exchange derivatives [member] | Over 5 years [member] | Over-the-counter clearing house [member]    
Disclosure of financial assets [line items]    
Total notional amounts 0  
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 16,926 13,912
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 1,006 10,251
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 29,158 21,887
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 103 261
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 646 739
Futures contract [member] | Interest rate derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 109,515  
Futures contract [member] | Interest rate derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 86,893  
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 22,622  
Futures contract [member] | Foreign exchange derivatives [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 42  
Futures contract [member] | Foreign exchange derivatives [member] | Within 1 year [member] | Exchange traded [member]    
Disclosure of financial assets [line items]    
Total notional amounts 42  
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 109,493 164,644
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 42 6
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 22  
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 2,214  
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,305  
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 533  
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 376  
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 2,195 2,210
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 27
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 1,855  
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 203  
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 633  
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 1,019  
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 1,801 1,524
Centrally cleared 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 54 123
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 1,029  
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 448  
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 458  
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 123  
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 1,029 1,304
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 698  
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 320  
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 378  
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 698 377
Centrally cleared commodity derivatives [member] | Precious metal and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts 56  
Centrally cleared commodity derivatives [member] | Precious metal and other commodity derivatives [member] | Within 1 year [member]    
Disclosure of financial assets [line items]    
Total notional amounts 50  
Centrally cleared commodity derivatives [member] | Precious metal 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 6  
Centrally cleared commodity derivatives [member] | Held For Trading For Trading Purpose [member] | Precious metal and other commodity derivatives [member]    
Disclosure of financial assets [line items]    
Total notional amounts $ 56 $ 119