TaxW2

FDX / Data Structures / TaxW2
Form W-2, Wage and Tax Statement, from Employer (boxes b-c as issuer) to Employee (boxes a, e-f as recipient)
Extends and inherits all fields from Tax  
TaxW2 Properties
#IdTypeDescription
1controlNumberstringBox d, Control number
2wagesnumberBox 1, Wages, tips, other compensation
3federalTaxWithheldnumberBox 2, Federal income tax withheld
4socialSecurityWagesnumberBox 3, Social security wages
5socialSecurityTaxWithheldnumberBox 4, Social security tax withheld
6medicareWagesnumberBox 5, Medicare wages and tips
7medicareTaxWithheldnumberBox 6, Medicare tax withheld
8socialSecurityTipsnumberBox 7, Social security tips
9allocatedTipsnumberBox 8, Allocated tips
10dependentCareBenefitnumberBox 10, Dependent care benefits
11nonQualifiedPlannumberBox 11, Nonqualified plans
12codesArray of CodeAmountBox 12, Codes and amounts
13statutorybooleanBox 13, Statutory employee
14retirementPlanbooleanBox 13, Retirement plan
15thirdPartySickPaybooleanBox 13, Third-party sick pay
16esppQualifiednumberEmployee Stock Purchase Plan Qualified Disposition amount
17esppNonQualifiednumberEmployee Stock Purchase Plan Nonqualified Disposition amount
18otherArray of DescriptionAmountBox 14, Other descriptions and amounts
19stateAndLocalArray of StateAndLocalTaxWithholdingBoxes 15-20, State and Local tax withholding
TaxW2 Usage:

FDX Tax Schema and Model Files

To assist developers, we have made available a copy of the FDX tax schema files (yaml) and related model files in csharp, java, python, ruby, and typescript languages at GitHub for a nominal fee. Request GitHub repository access or more information .

SDK (Java Software Development Kit)

A java SDK is available to generate TaxW2 documents as:

See this GitHub page and contact us at info@taxdataexchange.org to license the SDK.

Introductory SDK pricing is available through November 28, 2025.

SDK

© Copyright 2025. All Rights Reserved.