X12 151 — Electronic Filing of Tax Return Data Acknowledgment
The 151 is the receipt and validation acknowledgment of an electronic tax return (813) by the receiving tax administration: accepted, rejected, on hold.
Purpose
The 151 carries the response of the IRS, a state revenue department, or a local authority after receipt of an 813 (Tax Return Data) or equivalent return. It indicates the validation status (accepted, rejected for error, suspended), a tracking identifier (DCN — Declaration Control Number), and structured errors on rejection.
It is the central instrument of the electronic tax filing and validation cycle. The 151 is still used in payroll filing (941 e-file), sales (state e-file), and fiduciary returns. Acknowledged by 997; the 151 does not trigger a business response — the next step is either closure, or correction and re-filing.
Envelope structure
The 151 travels within the three X12 envelope levels (ISA/IEA,
GS/GE with functional group TF, and ST/SE).
Didactic example in release 004010:
ISA*00* *00* *ZZ*USIRS *ZZ*ACMETAXPAY *260514*1530*U*00401*000000151*0*P*>~
GS*TF*USIRS*ACMETAXPAY*20260514*1530*1*X*004010~
ST*151*0001~
BGN*00*TF-2026-0042*20260514~
N1*PR*INTERNAL REVENUE SERVICE*24*EIN-IRS~
N1*TP*ACME CORPORATION*24*EIN-98-7654321~
REF*ZZ*DCN-2026-001234567890~
REF*ZZ*FORM-1120-2024~
DTM*RT*20240101~
DTM*RT*20241231~
MSG*ACCEPTED - PROCESSING COMPLETE~
SE*9*0001~
GE*1*1~
IEA*1*000000151~ Common segments
- Header —
ST,BGN,DTM*RT(tax period of the return). - Parties —
N1*PR(Taxing Authority),N1*TP(Taxpayer). - Reference —
REF*ZZ(DCN, Declaration Control Number),REF*ZZ(target form). - Status —
MSGorLQfor ACCEPTED, REJECTED, SUSPENDED,AMTfor final calculated amount. - Summary —
SE.
Common pitfalls
- Stable DCN: the DCN identifies the filing with the administration; without capture on the taxpayer side, reconciliation becomes impossible when a 151 arrives standalone later.
- REJECTED with re-submission: a REJECTED 151 allows a fresh corrected 813 as long as the deadline has not passed; after deadline, it becomes a late return with penalty.
- 1099 vs W-2 period: the 151 used for information returns (1099, W-2) follows a different calendar from 1120/1040 — confusing periods causes cumulative rejections.
Related transactions
Documentation
The code 151 and the name Electronic Filing of Tax Return Data Acknowledgment are public and listed on x12.org/products/transaction-sets. The complete structure of loops, qualifiers and code lists is distributed by DISA via the proprietary Implementation Guides (TR3). ediverse.io covers only public concepts, the envelope and didactic examples.