XML 56 R44.htm IDEA: XBRL DOCUMENT
v3.20.2

Long-Term Debt (Details) - USD ($) $ in Millions |  |  |  | 3 Months Ended | 4 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Oct. 31, 2020 | Jul. 21, 2016 | Mar. 15, 2016 | Oct. 31, 2020 | Oct. 31, 2020 | Jul. 21, 2016 | Jul. 31, 2020 | Jul. 31, 2016 | Dec. 03, 2014
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Maturity date |  |  |  |  |  | Mar. 15, 2021 |  |  |
Applicable interest rate added to reference rate in order to compute variable interest rate |  |  |  |  | 1.50% |  |  |  |
Scenario 3 |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Long-term Debt |  |  |  |  | not to exceed $50.0 million |  |  |  |
Scenario 4 |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Long-term Debt |  |  |  |  | not less than $75.0 million |  |  |  |
Credit Agreement | Term Loan Facility |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Maturity date |  |  |  |  |  | Dec. 03, 2019 |  |  |
Note Purchase Agreement | Senior Notes |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  | $ 400.0
Note Purchase Agreement | Senior Notes, Series A |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  | 4.07%
Note Purchase Agreement | Senior Notes, Series B |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  | 4.19%
Note Purchase Agreement | Senior Notes, Series C |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  | 4.25%
Note Purchase Agreement | Senior Notes, Series D |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  | 4.35%
Senior Notes, Series A [Member] | Senior Notes |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  | $ 100.0
Senior Notes, Series B [Member] | Senior Notes |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  | 100.0
Senior Notes, Series C [Member] | Senior Notes |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  | 100.0
Senior Notes, Series D [Member] | Senior Notes |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  | 100.0
Eurodollar [Member] | Minimum |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Applicable interest rate added to reference rate in order to compute variable interest rate | 0.75% |  |  | 0.75% |  |  |  |  |
Wells Fargo and Bank of America, N.A. | Line of Credit |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Repayments of Lines of Credit |  | $ 242.5 |  |  |  |  |  |  |
Wells Fargo and Bank of America, N.A. | Credit Agreement | Revolving Credit Facility |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  |  | 300.0
Wells Fargo and Bank of America, N.A. | Credit Agreement | Term Loan Facility |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  |  | $ 300.0
Wells Fargo and Bank of America, N.A. | First Amendment To Credit Agreement | Revolving Credit Facility |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  | $ 350.0 |  |  |  |  |  |
Line of Credit Facility, Increase (Decrease), Net |  |  | 50.0 |  |  |  |  |  |
Wells Fargo and Bank of America, N.A. | First Amendment To Credit Agreement | Term Loan Facility |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  | $ 93.8 |  |  |  |  |  |
WellsFargo,NationalAssociation,SunTrustBankandBankofAmerica,N.A. | Revolving Credit Facility | Line of Credit |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Outstanding borrowings | $ 0.0 |  |  | $ 0.0 | $ 0.0 |  | $ 0.0 |  |
WellsFargo,NationalAssociation,SunTrustBankandBankofAmerica,N.A. | Scenario 3 |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Line of Credit Facility, Covenant Terms |  |  |  |  | not to exceed $50.0 million |  |  |  |
WellsFargo,NationalAssociation,SunTrustBankandBankofAmerica,N.A. | Scenario 4 |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Line of Credit Facility, Covenant Terms |  |  |  |  | not less than $75.0 million |  |  |  |
WellsFargo,NationalAssociation,SunTrustBankandBankofAmerica,N.A. | Second Amendment To Credit Agreement | Revolving Credit Facility |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  | $ 500.0 |  |  |  | $ 500.0 |  | $ 850.0 |
WellsFargo,NationalAssociation,SunTrustBankandBankofAmerica,N.A. | Federal Funds Effective Swap Rate | Credit Agreement | Revolving Credit Facility |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Applicable interest rate added to reference rate in order to compute variable interest rate |  |  |  |  | 0.50% |  |  |  |
WellsFargo,NationalAssociation,SunTrustBankandBankofAmerica,N.A. | Eurodollar [Member] | Credit Agreement | Revolving Credit Facility |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Applicable interest rate added to reference rate in order to compute variable interest rate |  |  |  |  | 1.00% |  |  |  |
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Maturity date |  |  |  |  | Jul. 21, 2023 |  |  |  |
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. [Member] | Revolving Credit Facility | Minimum |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Line of Credit Facility, Commitment Fee Percentage |  |  |  | 0.25% |  |  |  |  |
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. [Member] | Revolving Credit Facility | Maximum |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Line of Credit Facility, Commitment Fee Percentage |  |  |  | 0.35% |  |  |  |  |
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. [Member] | First Amended and Restated Credit Agreement [Member] | Revolving Credit Facility |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity | $ 1,050.0 |  |  | $ 1,050.0 | $ 1,050.0 |  |  |  |
Line of Credit Facility, Increase (Decrease), Net |  |  |  | $ 200.0 |  |  |  |  |
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. [Member] | Eurodollar [Member] | 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.50% |  |  |  |  |
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. [Member] | Eurodollar [Member] | Revolving Credit Facility | Maximum |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Applicable interest rate added to reference rate in order to compute variable interest rate |  |  |  | 2.25% |  |  |  |  |
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. [Member] | Base Rate [Member] | 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.50% |  |  |  |  |
WellsFargo,NationalAssociation,TruistBank,BMOHarrisBankN.A.,SantanderBankN.A.,andBankofAmerica,N.A. [Member] | Base Rate [Member] | 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.25% |  |  |  |  |

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: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of minimum financial levels (for example, tangible net worth and working capital) and achievement of certain financial ratios (for example, working capital ratio and debt service coverage ratio), and adherence to certain clauses which generally require or restrict certain actions (for example, entering into a debt arrangement with equal or greater seniority, and selling or discontinuing a certain business segment or material subsidiary) to be in compliance with the covenant clauses of the debt agreement. May also include a discussion of the adverse consequences that would result if the entity violates or fails to satisfy the covenants. + 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 http://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 470 -Section 50 -Paragraph 3 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentCovenantDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120520924&loc=SL6036836-161870 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 http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 3: 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | num: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 http://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 http://asc.fasb.org/extlink&oid=120398452&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 http://asc.fasb.org/extlink&oid=120400017&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: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the conditions for borrowing under the credit facility including the nature of any restrictions. + 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCovenantTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the credit facility terminates, in CCYY-MM-DD format. + 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) of the credit facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(f)) -URI http://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 http://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 Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements. + 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 http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(f)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_RepaymentsOfLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=cprt_TermLoanFacilityMember
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_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=cprt_SeniorNotesFourMember
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=us-gaap_EurodollarMember
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: | us-gaap_LineOfCreditFacilityAxis=cprt_WellsFargoandBankofAmericaN.A.Member
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_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=cprt_WellsFargoNationalAssociationSunTrustBankandBankofAmericaN.A.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
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: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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