XML 58 R46.htm IDEA: XBRL DOCUMENT v3.23.1
Long-Term Debt (Details) - USD ($)
9 Months Ended
Dec. 21, 2021
Apr. 30, 2023
Apr. 30, 2022
Jul. 31, 2022
Dec. 20, 2021
Line of Credit Facility [Line Items]          
Debt offering costs   $ 0 $ 1,212,000    
Revolving Credit Facility          
Line of Credit Facility [Line Items]          
Debt offering costs $ 2,700,000        
Revolving Credit Facility | Second Amended and Restated Credit Agreement          
Line of Credit Facility [Line Items]          
Outstanding borrowings   $ 22,600,000   $ 0  
Maximum leverage 50,000,000        
Minimum liquidity $ 75,000,000        
Total consolidated net leverage ratio   (121.00%)      
Minimum liquidity   $ 3,300,000,000      
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Scenario 1          
Line of Credit Facility [Line Items]          
Line of credit facility, covenant terms 325.00%        
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Scenario 2          
Line of Credit Facility [Line Items]          
Line of credit facility, covenant terms 350.00%        
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Minimum          
Line of Credit Facility [Line Items]          
Line of credit facility, commitment fee percentage   0.175%      
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Minimum | Base Rate          
Line of Credit Facility [Line Items]          
Line of credit facility, commitment fee percentage   1.00%      
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Minimum | Daily Rate          
Line of Credit Facility [Line Items]          
Applicable interest rate added to reference rate in order to compute variable interest rate   0.00%      
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Maximum          
Line of Credit Facility [Line Items]          
Line of credit facility, commitment fee percentage   0.275%      
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Maximum | Base Rate          
Line of Credit Facility [Line Items]          
Line of credit facility, commitment fee percentage   1.75%      
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Maximum | Daily Rate          
Line of Credit Facility [Line Items]          
Applicable interest rate added to reference rate in order to compute variable interest rate   0.75%      
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Wells Fargo, National Association, Truist Bank, BMO Harris Bank N.A., Santander Bank N.A., and Bank of America, N.A.          
Line of Credit Facility [Line Items]          
Line of credit facility, increase (decrease), net $ 200,000,000        
Maximum borrowing capacity 1,250,000,000        
Outstanding borrowings 100,000,000       $ 60,000,000
Letter of Credit | Second Amended and Restated Credit Agreement | Wells Fargo, National Association, Truist 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 | Second Amended and Restated Credit Agreement | Wells Fargo, National Association, Truist 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 | Second Amended and Restated Credit Agreement | Wells Fargo, National Association, Truist 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 | Second Amended and Restated Credit Agreement | Wells Fargo, National Association, Truist 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