XML 80 R64.htm IDEA: XBRL DOCUMENT v3.25.2
Long-Term Debt (Details) - Second Amended and Restated Credit Agreement
12 Months Ended
Dec. 21, 2021
USD ($)
Jul. 31, 2025
USD ($)
Jul. 31, 2024
USD ($)
Dec. 20, 2021
USD ($)
Revolving Credit Facility        
Line of Credit Facility [Line Items]        
Outstanding borrowings   $ 0 $ 0  
Maximum leverage $ 50,000,000      
Minimum liquidity 75,000,000      
Total consolidated net leverage ratio   (2.35)    
Minimum liquidity requirement   $ 6,000,000,000    
Debt issuance fees $ 2,700,000      
Revolving Credit Facility | Scenario 1        
Line of Credit Facility [Line Items]        
Line of credit facility, covenant terms 3.25      
Revolving Credit Facility | Scenario 2        
Line of Credit Facility [Line Items]        
Line of credit facility, covenant terms 3.50      
Revolving Credit Facility | Minimum        
Line of Credit Facility [Line Items]        
Commitment fee rate (as a percent)   0.175%    
Revolving Credit Facility | Minimum | Base Rate        
Line of Credit Facility [Line Items]        
Commitment fee rate (as a percent)   1.00%    
Revolving Credit Facility | Minimum | Daily Rate        
Line of Credit Facility [Line Items]        
Debt instrument, basis spread on variable rate (as a percent)   0.00%    
Revolving Credit Facility | Maximum        
Line of Credit Facility [Line Items]        
Commitment fee rate (as a percent)   0.275%    
Revolving Credit Facility | Maximum | Base Rate        
Line of Credit Facility [Line Items]        
Commitment fee rate (as a percent)   1.75%    
Revolving Credit Facility | Maximum | Daily Rate        
Line of Credit Facility [Line Items]        
Debt instrument, basis spread on variable rate (as a percent)   0.75%    
Revolving Credit Facility | Wells Fargo, National Association, Trust Bank, BMO Harris Bank N.A., Santander Bank N.A., and Bank of America, N.A.        
Line of Credit Facility [Line Items]        
Increase in credit facility $ 200,000,000      
Maximum borrowing capacity 1,250,000,000      
Outstanding borrowings 100,000,000     $ 60,000,000
Letter of Credit | Wells Fargo, National Association, Trust Bank, BMO Harris Bank N.A., Santander Bank N.A., and Bank of America, N.A.        
Line of Credit Facility [Line Items]        
Maximum borrowing capacity 550,000,000      
Letter of Credit | Wells Fargo, National Association, Trust Bank, BMO Harris Bank N.A., Santander Bank N.A., and Bank of America, N.A. | CPRT GmbH        
Line of Credit Facility [Line Items]        
Maximum borrowing capacity 150,000,000      
Letter of Credit | Wells Fargo, National Association, Trust Bank, BMO Harris Bank N.A., Santander Bank N.A., and Bank of America, N.A. | Copart Autos España, S.L.U.        
Line of Credit Facility [Line Items]        
Maximum borrowing capacity 150,000,000      
Letter of Credit | Wells Fargo, National Association, Trust Bank, BMO Harris Bank N.A., Santander Bank N.A., and Bank of America, N.A. | Copart UK Limited        
Line of Credit Facility [Line Items]        
Maximum borrowing capacity $ 250,000,000