TaxW2G
FDX / Data Structures / TaxW2G
Form W-2G, Certain Gambling Winnings, from PAYER (1st-3rd boxes as issuer) to WINNER (boxes 4th-6th and 9 as recipient)
Extends and inherits all fields from Tax
TaxW2G Properties
| # | Id | Type | Description |
|---|---|---|---|
| 1 | winnings | number | Box 1, Reportable winnings |
| 2 | dateWon | DateString | |
| 3 | typeOfWager | string | Box 3, Type of wager |
| 4 | federalTaxWithheld | number | Box 4, Federal income tax withheld |
| 5 | transaction | string | Box 5, Transaction |
| 6 | race | string | Box 6, Race |
| 7 | identicalWinnings | number | Box 7, Winnings from identical wagers |
| 8 | cashier | string | Box 8, Cashier |
| 9 | window | string | Box 10, Window |
| 10 | firstId | string | Box 11, First I.D. |
| 11 | secondId | string | Box 12, Second I.D. |
| 12 | stateAndLocal | Array of StateAndLocalTaxWithholding | Boxes 13-18, State and Local tax withholding, use income fields for state (box 14) and local (box 16) winnings amounts |
TaxW2G Usage:
- TaxData taxW2G
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 TaxW2G documents as:
- FDX JSON
- QR PDFs and
- Intelligent Tax Documents®
See this GitHub page and contact us at info@taxdataexchange.org to license the SDK.
Introductory SDK pricing is available through November 28, 2025.