XML 62 R50.htm IDEA: XBRL DOCUMENT
v3.19.2

Accounts Receivable - Additional Information (Details) - USD ($) $ in Millions | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2019 | Dec. 31, 2018
Concentration Risk [Line Items] |  |
Trade receivable payments terms (30 days or less) | 30 days |
Threshold period past due for write-off of trade accounts receivable | 150 days |
Revolving line-of-credit facility under 2016 Credit Agreement |  |
Concentration Risk [Line Items] |  |
Receivables with revolving credit balances | $ 65.3 | $ 18.9
29 days or less past due | Credit Concentration Risk | Accounts receivable, net |  |
Concentration Risk [Line Items] |  |
Concentration risk, percentage | 95.00% | 95.00%
59 days or less past due | Credit Concentration Risk | Accounts receivable, net |  |
Concentration Risk [Line Items] |  |
Concentration risk, percentage | 98.00% | 98.00%

X
- Definition Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=118952595&loc=d3e4428-111522 + Details
Name: | us-gaap_AccountsReceivableGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_ConcentrationRiskLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=118260190&loc=d3e13531-108611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118260190&loc=d3e13537-108611 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold period past due for trade accounts receivable to write off as uncollectible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_ThresholdPeriodPastDueForWriteoffOfTradeAccountsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Trade receivable payments period. + References No definition available. + Details
Name: | wex_TradeReceivablePaymentsPeriod
Namespace Prefix: | wex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=us-gaap_FinancingReceivables1To29DaysPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_CreditConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_AccountsReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=wex_FinancingReceivables1To59DaysPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |