XML 100 R87.htm IDEA: XBRL DOCUMENT v3.22.4
Financial Instruments - Summary of Fair Value Hierarchy of Instruments Carried at Fair Value on a Recurring Basis (Parenthetical) (Detail) - CAD ($)
$ in Millions
Jan. 31, 2023
Oct. 31, 2022
Gross carrying amount [member]    
Disclosure of fair value measurement of assets [line items]    
Investment securities measured at amortized cost $ 24,195 $ 23,610