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 |  |  |  |  |

X
- Definition Debt Instrument, Covenant, Maximum Leverage + References No definition available. + Details
Name: | cprt_DebtInstrumentCovenantMaximumLeverage
Namespace Prefix: | cprt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Instrument, Covenant, Minimum Liquidity + References No definition available. + Details
Name: | cprt_DebtInstrumentCovenantMinimumLiquidity
Namespace Prefix: | cprt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | cprt_LineofCreditFacilityCovenantTerms1
Namespace Prefix: | cprt_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum Liquidity + References No definition available. + Details
Name: | cprt_MinimumLiquidity
Namespace Prefix: | cprt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Repayments of Debt Instruments, Accrued Interest + References No definition available. + Details
Name: | cprt_RepaymentsOfDebtInstrumentsAccruedInterest
Namespace Prefix: | cprt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Repayments Of Senior Debt, Make Whole Payment + References No definition available. + Details
Name: | cprt_RepaymentsOfSeniorDebtMakeWholePayment
Namespace Prefix: | cprt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Repurchase of Senior Debt, Percentage + References No definition available. + Details
Name: | cprt_RepurchaseOfSeniorDebtPercentage
Namespace Prefix: | cprt_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total Consolidated Net Leverage Ratio + References No definition available. + Details
Name: | cprt_TotalConsolidatedNetLeverageRatio
Namespace Prefix: | cprt_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) of the credit facility. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDebtIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for a long-term debt where the holder has highest claim on the entity's asset in case of bankruptcy or liquidation during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfSeniorDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cprt_SecondAmendedAndRestatedCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=cprt_Scenario1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=cprt_Scenario2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cprt_NotePurchaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cprt_SeniorNotesSeriesAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cprt_SeniorNotesSeriesBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cprt_SeniorNotesSeriesCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cprt_SeniorNotesSeriesDMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=cprt_FixedRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=cprt_DailyRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=cprt_WellsFargoNationalAssociationTruistBankBMOHarrisBankNASantanderBankNAandBankofAmericaNAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cprt_CPRTGmbHMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cprt_CopartAutosEspanaSLUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cprt_CopartUKLimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |