{
  "cik": 1309108,
  "cik_padded": "0001309108",
  "entityName": "WEX Inc.",
  "fiscal_years": [
    {
      "accn": "0001309108-26-000010",
      "filed": "2026-02-13",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 799800000.0,
        "capex": 140600000.0,
        "cash": 905800000.0,
        "eps_diluted": 8.47,
        "free_cash_flow": 313700000.0,
        "net_income": 304100000.0,
        "operating_cash_flow": 454300000.0,
        "operating_income": 663900000.0,
        "revenue": 2660800000.0,
        "stockholders_equity": 1234500000.0,
        "total_assets": 14399500000.0,
        "total_liabilities": 13165000000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 10.664236533009316,
        "net_margin": 0.11428893565844858,
        "operating_margin": 0.24951142513529764,
        "revenue_growth_yoy": 0.012442448917468894,
        "roa_avg2y": 0.021939966307253318,
        "roa_period_end": 0.021118788846834956,
        "roe_avg2y": 0.22333198692762457,
        "roe_period_end": 0.246334548400162
      }
    },
    {
      "accn": "0001309108-26-000010",
      "filed": "2026-02-13",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 652000000.0,
        "capex": 147300000.0,
        "cash": 595800000.0,
        "eps_diluted": 7.5,
        "free_cash_flow": 334100000.0,
        "net_income": 309600000.0,
        "operating_cash_flow": 481400000.0,
        "operating_income": 686300000.0,
        "revenue": 2628100000.0,
        "stockholders_equity": 1488800000.0,
        "total_assets": 13321600000.0,
        "total_liabilities": 11832800000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 7.947877485222999,
        "net_margin": 0.1178037365397055,
        "operating_margin": 0.26113922605684714,
        "revenue_growth_yoy": 0.03143642072213501,
        "roa_avg2y": 0.022761609633983614,
        "roa_period_end": 0.023240451597405717,
        "roe_avg2y": 0.1871034024294434,
        "roe_period_end": 0.2079527135948415
      }
    },
    {
      "accn": "0001309108-26-000010",
      "filed": "2026-02-13",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 303400000.0,
        "capex": 143600000.0,
        "cash": 975800000.0,
        "eps_diluted": 6.16,
        "free_cash_flow": 764300000.0,
        "net_income": 266600000.0,
        "operating_cash_flow": 907900000.0,
        "operating_income": 647100000.0,
        "revenue": 2548000000.0,
        "stockholders_equity": 1820600000.0,
        "total_assets": 13882100000.0,
        "total_liabilities": 12061500000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 6.62501373173679,
        "net_margin": 0.10463108320251177,
        "operating_margin": 0.25396389324960755,
        "revenue_growth_yoy": 0.08402467560093597,
        "roa_avg2y": 0.020982791120485768,
        "roa_period_end": 0.019204587202224448,
        "roe_avg2y": 0.1536555142503098,
        "roe_period_end": 0.14643524112929804
      }
    },
    {
      "accn": "0001309108-26-000010",
      "filed": "2026-02-13",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 282800000.0,
        "capex": 112900000.0,
        "cash": 922000000.0,
        "eps_diluted": 4.5,
        "free_cash_flow": 566500000.0,
        "net_income": 167200000.0,
        "operating_cash_flow": 679400000.0,
        "operating_income": 469800000.0,
        "revenue": 2350500000.0,
        "stockholders_equity": 1649500000.0,
        "total_assets": 11529200000.0,
        "total_liabilities": 9879700000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 5.98951197332525,
        "net_margin": 0.07113380131886833,
        "operating_margin": 0.19987236758136567,
        "revenue_growth_yoy": 0.27019724398811135,
        "roa_avg2y": 0.015314140465472933,
        "roa_period_end": 0.014502307185234016,
        "roe_avg2y": 0.09586405651163198,
        "roe_period_end": 0.10136404971203394
      }
    },
    {
      "accn": "0001309108-24-000033",
      "filed": "2024-02-23",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 86000000.0,
        "cash": 588900000.0,
        "eps_diluted": 0.0,
        "free_cash_flow": -128600000.0,
        "net_income": 135300000.0,
        "operating_cash_flow": -42600000.0,
        "operating_income": 342000000.0,
        "revenue": 1850500000.0,
        "stockholders_equity": 1838773000.0,
        "total_assets": 10306828000.0,
        "total_liabilities": 8213949000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 4.467081581032569,
        "net_margin": 0.07311537422318293,
        "operating_margin": 0.1848149148878681,
        "revenue_growth_yoy": 0.18631756897534343,
        "roa_avg2y": 0.014634788211196759,
        "roa_period_end": 0.013127220130189424,
        "roe_avg2y": 0.07228205065192747,
        "roe_period_end": 0.07358167647665047
      }
    },
    {
      "accn": "0001309108-24-000033",
      "filed": "2024-02-23",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 80471000.0,
        "cash": 852000000.0,
        "eps_diluted": -5.56,
        "free_cash_flow": 656333000.0,
        "net_income": -283950000.0,
        "operating_cash_flow": 736804000.0,
        "operating_income": -91673000.0,
        "revenue": 1559869000.0,
        "stockholders_equity": 1904895000.0,
        "total_assets": 8183361000.0,
        "total_liabilities": 6148225000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 3.2275925969672867,
        "net_margin": -0.18203451700110715,
        "operating_margin": -0.05876967873584256,
        "revenue_growth_yoy": -0.09504139663083465,
        "roa_avg2y": -0.03445623193952546,
        "roa_period_end": -0.034698457027619825,
        "roe_avg2y": -0.1482054844641298,
        "roe_period_end": -0.1490633341995228
      }
    },
    {
      "accn": "0001309108-23-000022",
      "filed": "2023-02-28",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 102860000.0,
        "cash": 810932000.0,
        "eps_diluted": 2.26,
        "free_cash_flow": 560311000.0,
        "net_income": 156323000.0,
        "operating_cash_flow": 663171000.0,
        "operating_income": 385841000.0,
        "revenue": 1723691000.0,
        "stockholders_equity": 1926947000.0,
        "total_assets": 8298418000.0,
        "total_liabilities": 6205017000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 3.2201285245520506,
        "net_margin": 0.09069084888184716,
        "operating_margin": 0.22384580530965237,
        "revenue_growth_yoy": 0.15479429386475899,
        "roa_avg2y": 0.020747609680872928,
        "roa_period_end": 0.018837686894056193,
        "roe_avg2y": 0.08421114440274909,
        "roe_period_end": 0.08112470140590271
      }
    },
    {
      "accn": "0001309108-22-000020",
      "filed": "2022-03-01",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 87152000.0,
        "cash": 541498000.0,
        "eps_diluted": 3.86,
        "free_cash_flow": 313077000.0,
        "net_income": 168295000.0,
        "operating_cash_flow": 400229000.0,
        "operating_income": 380638000.0,
        "revenue": 1492639000.0,
        "stockholders_equity": 1785697000.0,
        "total_assets": 6770595000.0,
        "total_liabilities": 4974671000.0
      },
      "period_end": "2018-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 2.785842726957597,
        "net_margin": 0.11274996834465668,
        "operating_margin": 0.2550100861628297,
        "revenue_growth_yoy": 0.19547212546763235,
        "roa_avg2y": 0.025007687900726484,
        "roa_period_end": 0.02485675188074312,
        "roe_avg2y": 0.0988059274749991,
        "roe_period_end": 0.09424611230236708
      }
    },
    {
      "accn": "0001309108-21-000018",
      "filed": "2021-03-01",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 79276000.0,
        "cash": 503519000.0,
        "eps_diluted": 3.71,
        "free_cash_flow": 56151000.0,
        "net_income": 160062000.0,
        "operating_cash_flow": 135427000.0,
        "operating_income": 233423000.0,
        "revenue": 1248577000.0,
        "stockholders_equity": 1620880000.0,
        "total_assets": 6688866000.0,
        "total_liabilities": 5058766000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 3.1209997038645674,
        "net_margin": 0.1281955378002318,
        "operating_margin": 0.1869512252748529,
        "revenue_growth_yoy": 0.23317708456791586,
        "roa_avg2y": 0.02523450525592736,
        "roa_period_end": 0.023929616769120504,
        "roe_avg2y": 0.1026673880533112,
        "roe_period_end": 0.09875006169488179
      }
    },
    {
      "accn": "0001309108-20-000024",
      "filed": "2020-02-28",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 61799000.0,
        "cash": 190930000.0,
        "eps_diluted": 0.57,
        "free_cash_flow": -202985000.0,
        "net_income": 60637000.0,
        "operating_cash_flow": -141186000.0,
        "operating_income": 158525000.0,
        "revenue": 1012488000.0,
        "stockholders_equity": 1497189000.0,
        "total_assets": 5997097000.0,
        "total_liabilities": 4491350000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 2.9998550617189945,
        "net_margin": 0.05988910485852673,
        "operating_margin": 0.15656975687613087,
        "roa_period_end": 0.010111058733917428,
        "roe_period_end": 0.04050056472496125
      }
    },
    {
      "accn": "0001309108-18-000013",
      "filed": "2018-03-01",
      "fiscal_year": 2015,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD"
      },
      "fundamentals": {
        "buybacks": 22011000.0
      },
      "period_end": "2015-12-31",
      "ratios": {}
    },
    {
      "accn": "0001309108-17-000014",
      "filed": "2017-03-06",
      "fiscal_year": 2014,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD"
      },
      "fundamentals": {
        "buybacks": 19765000.0
      },
      "period_end": "2014-12-31",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0001309108-26-000010",
    "filed": "2026-02-13",
    "form": "10-K"
  },
  "note": "Static grepcent export of verified SEC companyfacts-derived values. Monetary values are raw reported units from grepcent's resolved facts; no scaling and no FX conversion. Capex, dividends, and buybacks are reported as positive outflow magnitudes. ROE/ROA include both period-end basis (site-consistent) and average-of-two-years basis where the prior-year denominator exists.",
  "schema_version": "1",
  "sic": "7389",
  "sic_description": "Services-Business Services, NEC",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0001309108.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001309108.json"
  },
  "ticker": "WEX"
}
