XML 101 R1.htm IDEA: XBRL DOCUMENT
v3.23.1

Cover | 12 Months Ended
--- | ---
Dec. 31, 2022
Document Information [Line Items] |
Document Type | DEF 14A
Amendment Flag | false
Entity Information [Line Items] |
Entity Registrant Name | CDW Corp
Entity Central Index Key | 0001402057

X
- Definition Boolean flag that is true when the XBRL content amends previously-filed or accepted submission. + References No definition available. + Details
Name: | dei_AmendmentFlag
Namespace Prefix: | dei_
Data Type: | xbrli:booleanItemType
Balance Type: | na
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: | dei_DocumentInformationLineItems
Namespace Prefix: | dei_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'. + References No definition available. + Details
Name: | dei_DocumentType
Namespace Prefix: | dei_
Data Type: | dei:submissionTypeItemType
Balance Type: | na
Period Type: | duration

X
- Definition A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Exchange Act -Number 240 -Section 12 -Subsection b-2 + Details
Name: | dei_EntityCentralIndexKey
Namespace Prefix: | dei_
Data Type: | dei:centralIndexKeyItemType
Balance Type: | na
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: | dei_EntityInformationLineItems
Namespace Prefix: | dei_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Exchange Act -Number 240 -Section 12 -Subsection b-2 + Details
Name: | dei_EntityRegistrantName
Namespace Prefix: | dei_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration