{
  "cik": 2052568,
  "cik_padded": "0002052568",
  "entityName": "Legence Corp.",
  "fiscal_years": [
    {
      "accn": "0002052568-26-000008",
      "filed": "2026-03-30",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 37940000.0,
        "cash": 230166000.0,
        "cost_of_revenue": 2014566000.0,
        "free_cash_flow": 218933000.0,
        "gross_profit": 535925000.0,
        "net_income": -59780000.0,
        "operating_cash_flow": 256873000.0,
        "operating_income": 61582000.0,
        "revenue": 2550491000.0,
        "stockholders_equity": 392197000.0,
        "total_assets": 2679396000.0,
        "total_liabilities": 1890601000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.21012620707150115,
        "leverage": 4.820539167816174,
        "net_margin": -0.023438624170796916,
        "operating_margin": 0.024145154795684444,
        "revenue_growth_yoy": 0.21532858541066863,
        "roa_avg2y": -0.023760427481013122,
        "roa_period_end": -0.022310998448904152,
        "roe_period_end": -0.15242339946506475
      }
    },
    {
      "accn": "0002052568-26-000008",
      "filed": "2026-03-30",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 19008000.0,
        "cash": 81167000.0,
        "cost_of_revenue": 1667835000.0,
        "free_cash_flow": 10260000.0,
        "gross_profit": 430767000.0,
        "net_income": -28555000.0,
        "operating_cash_flow": 29268000.0,
        "operating_income": 70351000.0,
        "revenue": 2098602000.0,
        "total_assets": 2352500000.0,
        "total_liabilities": 2148908000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.20526378989441543,
        "net_margin": -0.013606677207016861,
        "operating_margin": 0.03352279279253522,
        "revenue_growth_yoy": 0.29939407898891807,
        "roa_period_end": -0.012138150903294368
      }
    },
    {
      "accn": "0002052568-26-000008",
      "filed": "2026-03-30",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cost_of_revenue": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD"
      },
      "fundamentals": {
        "capex": 17073000.0,
        "cost_of_revenue": 1299916000.0,
        "free_cash_flow": 16844000.0,
        "gross_profit": 315146000.0,
        "net_income": -46026000.0,
        "operating_cash_flow": 33917000.0,
        "operating_income": 10260000.0,
        "revenue": 1615062000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio"
      },
      "ratios": {
        "gross_margin": 0.19512935107135207,
        "net_margin": -0.02849797716744001,
        "operating_margin": 0.006352697295831367
      }
    }
  ],
  "latest_filing": {
    "accn": "0002052568-26-000008",
    "filed": "2026-03-30",
    "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": "1700",
  "sic_description": "Construction - Special Trade Contractors",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0002052568.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0002052568.json"
  },
  "ticker": "LGN"
}
