XML 62 R43.htm IDEA: XBRL DOCUMENT v3.23.2
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts 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, 2023
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Amortized Cost        
Cash and cash equivalents $ 2,848 $ 2,796 $ 2,562  
Investments 819 490    
Funds receivable and amounts held for customers 424 435    
Total cash and cash equivalents, investments, and funds receivable and amounts held for customers 4,091 3,721    
Fair Value        
Cash and cash equivalents 2,848 2,796    
Investments 814 485    
Funds receivable and amounts held for customers 420 431 $ 457 $ 455
Total cash and cash equivalents, investments, and funds receivable and amounts held for customers $ 4,082 $ 3,712