XML 73 R43.htm IDEA: XBRL DOCUMENT v3.22.2.2
Cash and Cash Equivalents, Investments, and Funds Held for Customers - Table of cash and cash equivalents, investments, and funds receivable and amounts held for customers by balance sheet classification (Details) - USD ($)
$ in Millions
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Amortized Cost      
Cash and cash equivalents $ 2,796 $ 2,562 $ 6,442
Investments 694 1,504  
Total cash and cash equivalents, investments, and funds held for customers 3,721 4,323  
Fair Value      
Cash and cash equivalents 2,796 2,562  
Investments 685 1,508  
Total cash and cash equivalents, investments, and funds held for customers 3,712 4,327  
Investments      
Amortized Cost      
Investments 490 1,305  
Fair Value      
Investments 485 1,308  
In funds receivable and amounts held for customers      
Amortized Cost      
Investments 435 456  
Fair Value      
Investments $ 431 $ 457