XML 79 R58.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Inventory Financing Agreements (Details) - USD ($) $ in Millions | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Inventory Financing Agreements [Line Items] |  |
Accounts payable-inventory financing | $ 448.3 | $ 524.6
Accounts Payable, Inventory Financing |  |
Inventory Financing Agreements [Line Items] |  |
Revolving Loan financing agreement | 310.1 | 470.1
Other inventory financing agreements | 138.2 | 54.5
Accounts payable-inventory financing | $ 448.3 | $ 524.6

X
- Definition Accounts payable inventory financing. + References No definition available. + Details
Name: | cdw_AccountsPayableInventoryFinancing
Namespace Prefix: | cdw_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Inventory Financing Agreements [Line Items] + References No definition available. + Details
Name: | cdw_InventoryFinancingAgreementsLineItems
Namespace Prefix: | cdw_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other inventory financing agreements + References No definition available. + Details
Name: | cdw_OtherInventoryFinancingAgreements
Namespace Prefix: | cdw_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Revolving Loan financing agreement + References No definition available. + Details
Name: | cdw_RevolvingLoanFinancingAgreement
Namespace Prefix: | cdw_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | cdw_InventoryFinancingAgreementsAxis=cdw_AccountsPayableInventoryFinancingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |