XML 263 R208.htm IDEA: XBRL DOCUMENT v3.21.2
Guarantees, Commitments and Pledged Assets - Schedule of Various Guarantees and Indemnifications (Detail) - CAD ($)
Oct. 31, 2021
Oct. 31, 2020
Standby letters of credit and letters of guarantee [member]    
Guarantees commitments and pledged assets [Line Items]    
Maximum potential amount of future payments $ 37,277,000,000 $ 34,836,000,000
Liquidity facilities [member]    
Guarantees commitments and pledged assets [Line Items]    
Maximum potential amount of future payments 4,942,000,000 4,248,000,000
Derivatives [member]    
Guarantees commitments and pledged assets [Line Items]    
Maximum potential amount of future payments 4,203,000,000 4,866,000,000
Indemnifications [member]    
Guarantees commitments and pledged assets [Line Items]    
Maximum potential amount of future payments $ 1,306,000,000 $ 1,390,000,000