/hr/payroll/tax-forms/runs.
Overview
The page usesuseTaxFormRuns with server-side filters for tax year, form type, status, and quarter. Filter controls are rendered above the run list. A “New Run” dropdown button opens the appropriate creation dialog based on form type:
CreateW2RunDialog— W-2CreateQuarterlyRunDialog— quarterly forms (941, AZ-A1-QRT)CreateAnnualRunDialog— annual forms (940, AZ-A1-R)Create1099NECRunDialog— 1099-NEC
TAX_FORM_TYPES, TAX_FORM_STATUSES, TAX_FORM_TYPE_LABELS, and TAX_FORM_STATUS_LABELS.
No RequirePermission guard on this route (Tax Form Settings requires HR_PERMISSIONS.PAYROLL_ADMIN; confirm access controls with SME).
Who it’s for
Access follows your organization’s role and module configuration. SME: confirm whetherhr.payroll.admin is required.
Before you start
- Employer tax configuration must exist for the target tax year at
/hr/payroll/tax-forms/settings.
Steps
View runs- Navigate to HR > Payroll > Tax Forms > Runs or go to
/hr/payroll/tax-forms/runs. - Use the Year, Type, Status, and Quarter filters to narrow the list.
- Click a run card to open the detail page.
- Click the New Run dropdown (top right).
- Select the form type (W-2, Quarterly, Annual, 1099-NEC).
- Complete the creation dialog and confirm.
Key concepts
Viewing a tax form run
The Tax Form Run Details page manages a single tax form run through its lifecycle, from item generation to distribution or e-filing. It is served at route/hr/payroll/tax-forms/runs/:runId.
The page loads run data via useTaxFormRunById, items via useTaxFormItems, and employer config via useEmployerTaxConfigByYear. It renders:
- A status badge (
TaxFormRunStatusBadge) and breadcrumb navigation. FilingMethodRadioto select paper vs. e-file.EFileStatusCardfor e-file status and credential check.W2PreviewCardfor individual item previews.- Action buttons: generate items, finalize and distribute, delete run, create W-2 correction.
useGenerateW2Pdffor PDF download.
RequirePermission guard is present on this specific route, but access should be limited to payroll administrators. The Tax Form Settings route (parent) requires HR_PERMISSIONS.PAYROLL_ADMIN (hr.payroll.admin). Confirm access controls with SME.
Before you start: employer tax configuration for the relevant tax year must exist at /hr/payroll/tax-forms/settings. E-file credentials must be configured before e-filing is available.
- Navigate to HR > Payroll > Tax Forms > Runs and click a run, or go to
/hr/payroll/tax-forms/runs/:runId. - Review the run summary (form type, tax year, period, status).
- If items have not been generated, click the generate action to create tax form line items.
- Select the Filing Method (paper or e-file).
- Review items and preview W-2 PDFs as needed.
- When ready, use the Finalize & Distribute action to send forms.
- For corrections, use Create W-2 Correction.
Generating a new hire report
The New Hire Report page at/hr/payroll/tax-forms/new-hire (NewHireReportPage, HR-PAY-04) supports state new hire reporting workflows. It lists recently hired employees within a configurable date range and allows administrators to select records and export them as a CSV file. Records can also be marked as reported after filing. By default the view shows unreported-only records; the date range defaults to the most recent 20 days.
Key concepts:
- Unreported — A new hire record that has not yet been marked as reported to the relevant state agency.
- CSV Export — A comma-separated values file generated from the selected records for use in filing.
- Navigate to
/hr/payroll/tax-forms/new-hire. - Adjust the Start Date and End Date fields as needed.
- Use the Unreported only toggle to show or hide previously reported hires.
- Select the employee rows to include in the report.
- Click Download CSV to export the report file.
- After filing, mark the records as reported using the available action.
Related
Human Resources
Human Resources core overview.
Governance & parity
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/hr.tsx
- src/cores/hr/pages/TaxFormRunsPage.tsx
- src/cores/hr/pages/TaxFormRunDetailPage.tsx
- src/cores/hr/pages/NewHireReportPage.tsx
- src/cores/hr/hooks/tax-forms/useTaxFormRuns.ts
- src/cores/hr/hooks/tax-forms/useTaxFormItems.ts
- src/cores/hr/hooks/tax-forms/useTaxFormRunMutation.ts
- src/cores/hr/hooks/useNewHireReport.ts
- src/cores/hr/services/new-hire.ts
- src/cores/hr/types/tax-forms.ts