XML 84 R67.htm IDEA: XBRL DOCUMENT v3.24.3
Long-Term Debt - Narrative (Details)
12 Months Ended
May 24, 2022
USD ($)
Dec. 21, 2021
USD ($)
Jul. 31, 2024
USD ($)
Jul. 31, 2023
USD ($)
Jul. 31, 2022
USD ($)
Dec. 20, 2021
USD ($)
Dec. 03, 2014
USD ($)
Line of Credit Facility [Line Items]              
Debt instrument costs     $ 0 $ 0 $ 1,212,000    
Senior Notes              
Line of Credit Facility [Line Items]              
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.0
4.07% Senior Notes, Series A | Senior Notes              
Line of Credit Facility [Line Items]              
Senior notes             $ 100,000,000.0
Stated interest rate             4.07%
4.19% Senior Notes, Series B | Senior Notes              
Line of Credit Facility [Line Items]              
Senior notes             $ 100,000,000.0
Stated interest rate             4.19%
4.25% Senior Notes, Series C | Senior Notes              
Line of Credit Facility [Line Items]              
Senior notes             $ 100,000,000.0
Stated interest rate             4.25%
4.35% Senior Notes, Series D | Senior Notes              
Line of Credit Facility [Line Items]              
Senior notes             $ 100,000,000.0
Stated interest rate             4.35%
Revolving Credit Facility              
Line of Credit Facility [Line Items]              
Debt instrument costs   $ 2,700,000          
Revolving Credit Facility | Second Amended and Restated Credit Agreement              
Line of Credit Facility [Line Items]              
Outstanding borrowings     $ 0 $ 11,000,000      
Covenant maximum leverage amount   50,000,000          
Covenant minimum liquidity amount   $ 75,000,000          
Total consolidated net leverage ratio     (1.81)        
Minimum liquidity     $ 4,600,000,000        
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Scenario 1              
Line of Credit Facility [Line Items]              
Total net leverage ratio   3.25          
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Scenario 2              
Line of Credit Facility [Line Items]              
Total net leverage ratio   3.50          
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Minimum              
Line of Credit Facility [Line Items]              
Commitment fee rate range     0.175%        
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Minimum | Base Rate              
Line of Credit Facility [Line Items]              
Commitment fee rate range     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]              
Commitment fee rate range     0.275%        
Revolving Credit Facility | Second Amended and Restated Credit Agreement | Maximum | Base Rate              
Line of Credit Facility [Line Items]              
Commitment fee rate range     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 | 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          
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          
Letter of Credit, Sublimit | 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   $ 100,000,000       $ 60,000,000