XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Long-Term Debt Leverage Ratios (Details) | 9 Months Ended
--- | ---
Apr. 30, 2018
Leverage Ratios [Abstract] |
Total Consolidated Net Leverage Ratio | 33.00%

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

X
- References No definition available. + Details
Name: | us-gaap_LeverageRatiosAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration