TIN ComplianceA resource from TIN Comply
IRIS form rules

IRIS Form W-2G: rules and XML elements

What IRIS checks on Form W-2G, Certain Gambling Winnings: the 1 business rule specific to this form for tax year 2026, with each rule's severity and what it checks, and the 20 elements of FormW2GDetail in the tax year 2026 XML record.

Submission group 1XML element FormW2GDetailElements 20, 7 required

These are errors and rejects every filer can get when sending information returns to IRIS, whether through the free IRIS Taxpayer Portal or through filing software. IRIS reports each one on the acknowledgment by rule number.

Form W-2G business rules

Besides the rules on this page, IRIS checks the rules every form shares, such as SHAREDIRFORM014 (payee name and TIN); those are on the cross-form error code pages. The IRIS Taxpayer Portal also takes Form W-2G as a CSV upload, using the IRS template for the form.

In the tax year 2026 rule set: 1 report error and reject over the threshold. A reject stops the submission; a report error is accepted with errors and counts as filed; past an unpublished threshold, report errors reject the submission. The descriptions are our own summaries; your acknowledgment gives the rule number.

RuleSeverityWhat it checks
FW2G001Report error, reject over thresholdFederal income tax withheld looks too high compared with the income amounts reported on the form.

Elements of FormW2GDetail

IRTransmission › IRSubmission1Grp › IRSubmission1Detail › FormW2GDetail

Each Form W-2G return is one FormW2GDetail record in a submission of group 1. The table lists its 20 elements in schema order for tax year 2026: whether each is required, and the format IRIS accepts. Element names are the ones the IRS uses in its IRIS ATS examples and Publication 5718; the IRS revises the schema each year. A FIRE filer converting a Pub 1220 file finds the field-by-field mapping in the Pub 1220 to IRIS crosswalk.

ElementRequiredFormat
TaxYrRequiredFour-digit year
RecordIdRequiredWhole number, up to 8 digits
IssuerOfficeCdOptionalExactly 4 characters
VoidIndRequired1 (yes) or 0 (no)
CorrectedIndRequired1 (yes) or 0 (no)
PrevSubmittedRecRecipientGrpOptionalGroup of elements
RecipientDetailRequiredGroup of elements
RecipientAccountNumOptionalText, up to 30 characters
GamblingReportableWinningAmtOptionalAmount, zero or more, up to 2 decimal places
GamblingWinningDtRequiredDate, YYYY-MM-DD
GamblingWinWagerTypeCdRequiredCode from a list of 9 values
FederalIncomeTaxWithheldAmtOptionalAmount, zero or more, up to 2 decimal places
GamblingWinningTransactionDescOptionalText, up to 20 characters
GamblingWinningEventDescOptionalText, up to 20 characters
GamblingWinFromIdntclWagersAmtOptionalAmount, zero or more, up to 2 decimal places
GamblingWinCashierIdOptionalText, up to 20 characters
GamblingWinWindowNumOptionalText, up to 20 characters
RecipientFirstAdditionalIdNumOptionalText, up to 40 characters
RecipientSecondAdditionalIdNumOptionalText, up to 40 characters
StateLocalTaxGrpOptional, repeatsGroup of elements

Check a file before you send it. TIN Comply's free IRIS 1099 File Checker runs an IRIS XML or CSV file against the IRS business rules in your browser.