XML 80 R65.htm IDEA: XBRL DOCUMENT v3.22.2.2
Long-Term Debt - Narrative (Details) - USD ($)
12 Months Ended
May 24, 2022
Dec. 21, 2021
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Dec. 20, 2021
Dec. 03, 2014
Line of Credit Facility [Line Items]              
Debt instrument costs     $ 1,212,000 $ 0 $ 2,814,000    
Senior Notes              
Line of Credit Facility [Line Items]              
Repurchase of senior notes, percent 100.00%            
Repayments of senior notes $ 420,600,000            
Make whole payment 16,800,000            
Accrued interest $ 3,800,000            
Revolving Credit Facility              
Line of Credit Facility [Line Items]              
Debt instrument costs   $ 2,700,000          
Second Amended and Restated Credit Agreement | Revolving Credit Facility              
Line of Credit Facility [Line Items]              
Covenant maximum leverage amount   50,000,000          
Covenant minimum liquidity amount   $ 75,000,000          
Total consolidated net leverage ratio     80.00%        
Minimum liquidity     $ 2,600,000,000        
Second Amended and Restated Credit Agreement | Revolving Credit Facility | Minimum              
Line of Credit Facility [Line Items]              
Commitment fee rate range     0.175%        
Second Amended and Restated Credit Agreement | Revolving Credit Facility | Maximum              
Line of Credit Facility [Line Items]              
Commitment fee rate range     0.275%        
Second Amended and Restated Credit Agreement | Revolving Credit Facility | Scenario 1              
Line of Credit Facility [Line Items]              
Total net leverage ratio   325.00%          
Second Amended and Restated Credit Agreement | Revolving Credit Facility | Scenario 2              
Line of Credit Facility [Line Items]              
Total net leverage ratio   350.00%          
Note Purchase Agreement | Senior Notes              
Line of Credit Facility [Line Items]              
Senior notes             $ 400,000,000
4.07% Senior Notes, Series A | Senior Notes              
Line of Credit Facility [Line Items]              
Senior notes             $ 100,000,000
Stated interest rate             4.07%
4.19% Senior Notes, Series B | Senior Notes              
Line of Credit Facility [Line Items]              
Senior notes             $ 100,000,000
Stated interest rate             4.19%
4.25% Senior Notes, Series C | Senior Notes              
Line of Credit Facility [Line Items]              
Senior notes             $ 100,000,000
Stated interest rate             4.25%
4.35% Senior Notes, Series D | Senior Notes              
Line of Credit Facility [Line Items]              
Senior notes             $ 100,000,000
Stated interest rate             4.35%
Fixed Rate | Second Amended and Restated Credit Agreement | Revolving Credit Facility | Minimum              
Line of Credit Facility [Line Items]              
Applicable interest rate added to reference rate in order to compute variable interest rate     1.00%        
Fixed Rate | Second Amended and Restated Credit Agreement | Revolving Credit Facility | Maximum              
Line of Credit Facility [Line Items]              
Applicable interest rate added to reference rate in order to compute variable interest rate     1.75%        
Daily Rate | Second Amended and Restated Credit Agreement | Revolving Credit Facility | Minimum              
Line of Credit Facility [Line Items]              
Applicable interest rate added to reference rate in order to compute variable interest rate     0.00%        
Daily Rate | Second Amended and Restated Credit Agreement | Revolving Credit Facility | Maximum              
Line of Credit Facility [Line Items]              
Applicable interest rate added to reference rate in order to compute variable interest rate     0.75%        
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. | Revolving Credit Facility | Line of Credit              
Line of Credit Facility [Line Items]              
Outstanding borrowings     $ 0 $ 0      
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. | Second Amended and Restated Credit Agreement | Revolving Credit Facility              
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  
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. | Second Amended and Restated Credit Agreement | Letter of Credit              
Line of Credit Facility [Line Items]              
Maximum borrowing capacity   550,000,000          
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. | Second Amended and Restated Credit Agreement | Letter of Credit | CPRT GmbH              
Line of Credit Facility [Line Items]              
Maximum borrowing capacity   150,000,000          
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. | Second Amended and Restated Credit Agreement | Letter of Credit | Copart Autos España, S.L.U.              
Line of Credit Facility [Line Items]              
Maximum borrowing capacity   150,000,000          
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. | Second Amended and Restated Credit Agreement | Letter of Credit | Copart UK Limited              
Line of Credit Facility [Line Items]              
Maximum borrowing capacity   $ 250,000,000