XML 85 R67.htm IDEA: XBRL DOCUMENT v3.23.3
Long-Term Debt - Narrative (Details) - USD ($)
12 Months Ended
May 24, 2022
Dec. 21, 2021
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Dec. 20, 2021
Dec. 03, 2014
Line of Credit Facility [Line Items]              
Debt instrument costs     $ 0 $ 1,212,000 $ 0    
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            
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%
Revolving Credit Facility [Member]              
Line of Credit Facility [Line Items]              
Debt instrument costs   $ 2,700,000          
Revolving Credit Facility [Member] | Second Amended and Restated Credit Agreement              
Line of Credit Facility [Line Items]              
Outstanding borrowings     $ 11,000,000 $ 0      
Covenant maximum leverage amount   50,000,000          
Covenant minimum liquidity amount   $ 75,000,000          
Total consolidated net leverage ratio     (130.00%)        
Minimum liquidity     $ 3,600,000,000        
Revolving Credit Facility [Member] | Second Amended and Restated Credit Agreement | Scenario 1              
Line of Credit Facility [Line Items]              
Total net leverage ratio   325.00%          
Revolving Credit Facility [Member] | Second Amended and Restated Credit Agreement | Scenario 2              
Line of Credit Facility [Line Items]              
Total net leverage ratio   350.00%          
Revolving Credit Facility [Member] | Second Amended and Restated Credit Agreement | Minimum              
Line of Credit Facility [Line Items]              
Commitment fee rate range     0.175%        
Revolving Credit Facility [Member] | Second Amended and Restated Credit Agreement | Minimum | Base Rate              
Line of Credit Facility [Line Items]              
Commitment fee rate range     1.00%        
Revolving Credit Facility [Member] | 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 [Member] | Second Amended and Restated Credit Agreement | Maximum              
Line of Credit Facility [Line Items]              
Commitment fee rate range     0.275%        
Revolving Credit Facility [Member] | Second Amended and Restated Credit Agreement | Maximum | Base Rate              
Line of Credit Facility [Line Items]              
Commitment fee rate range     1.75%        
Revolving Credit Facility [Member] | 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 [Member] | Second Amended and Restated Credit Agreement | WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,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 | Second Amended and Restated Credit Agreement | WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A.              
Line of Credit Facility [Line Items]              
Maximum borrowing capacity   550,000,000          
Letter of Credit | Second Amended and Restated Credit Agreement | WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,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 | WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,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 | WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. | Copart UK Limited              
Line of Credit Facility [Line Items]              
Maximum borrowing capacity   $ 250,000,000