XML 52 R36.htm IDEA: XBRL DOCUMENT v3.22.1
Cash and Cash Equivalents, Investments, and Funds Held for Customers - Classification on Balance Sheets (Details) - USD ($)
$ in Millions
Apr. 30, 2022
Jul. 31, 2021
Apr. 30, 2021
Cash and Cash Equivalents Items [Line Items]      
Cash and cash equivalents $ 3,531 $ 2,562 $ 3,164
Available-for-sale debt securities, amortized cost 583 1,504  
Total cash and cash equivalents, investments, and funds held for customers, amortized cost 4,453 4,323  
Cash equivalents: 3,531 2,562  
Available-for-sale debt securities, fair value 573 1,508  
Total cash and cash equivalents, investments, and funds held for customers, fair value 4,443 4,327  
Investments      
Cash and Cash Equivalents Items [Line Items]      
Available-for-sale debt securities, amortized cost 377 1,305  
Available-for-sale debt securities, fair value 373 1,308  
Funds held for customers      
Cash and Cash Equivalents Items [Line Items]      
Available-for-sale debt securities, amortized cost 545 456  
Available-for-sale debt securities, fair value $ 539 $ 457