XML 60 R43.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Accounts Receivable - Narrative (Details) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Receivables [Abstract] |  |  |  |
Accounts receivable | $ 2,735.5 | $ 3,294.1 |  |
Allowance for credit losses | $ 20.8 | 17.3 | $ 29.8 | $ 57.3
Percent accounts receivable outstanding, less than 60 days | 94.00% |  |  |
Accounts receivable sold under RPAs | $ 9,500.0 | 13,100.0 | 9,200.0 |
Fees incurred under RPAs | $ 37.6 | $ 44.5 | $ 20.2 |

X
- Definition Amount of allowance for credit loss of accounts and financing receivables. Includes, but is not limited to, notes and loan receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-4 + Details
Name: | us-gaap_AccountsAndFinancingReceivableAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481990/310-10-45-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 9 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481990/310-10-45-9 + Details
Name: | us-gaap_AccountsReceivableNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Accounts Receivable, Balance Outstanding Less Than 60 Days, Percent + References No definition available. + Details
Name: | wkc_AccountsReceivableBalanceOutstandingLessThan60DaysPercent
Namespace Prefix: | wkc_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fees And Interest Paid Under Receivables Purchase Agreements + References No definition available. + Details
Name: | wkc_FeesAndInterestPaidUnderReceivablesPurchaseAgreements
Namespace Prefix: | wkc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Trade Receivables, Cash Collected Under Agreement, Amount + References No definition available. + Details
Name: | wkc_TradeReceivablesCashCollectedUnderAgreementAmount
Namespace Prefix: | wkc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration