X12 152 — Statistical Government Information
The 152 carries an agency-to-agency statistical filing (census, economic statistics, demographic data) between US federal and state agencies.
Purpose
The 152 is used by public statistical programs (U.S. Census Bureau, Bureau of Labor Statistics, Bureau of Economic Analysis) to collect structured data from reporting agencies. It carries the filer identity, period covered, numerical aggregates and break-downs by category (industry, geography, demographics).
It stands apart from the 196 (Contractor Cost Data Reporting) that covers contract expenditure: the 152 targets aggregated, non-personally-identifying statistical series. It is acknowledged by a 997 and triggers an 824 (Application Advice) if elements fail statistical-validation rules.
Envelope structure
The 152 travels within the three X12 envelope levels (ISA/IEA,
GS/GE with functional group SV, and ST/SE).
Didactic example in release 004010:
ISA*00* *00* *ZZ*REPORTAGENCY *ZZ*USCENSUS *260514*0900*U*00401*000000152*0*P*>~
GS*SV*REPORTAGENCY*USCENSUS*20260514*0900*1*X*004010~
ST*152*0001~
BGN*00*STAT-2026-Q1*20260514~
N1*FI*BUREAU OF AGENCY STATS*24*EIN-12-3456789~
DTM*RT*20260101~
DTM*RT*20260331~
LX*1~
REF*ZZ*NAICS-541511~
QTY*ZZ*1240~
AMT*EM*4850000.00~
LX*2~
REF*ZZ*NAICS-541512~
QTY*ZZ*870~
AMT*EM*3110000.00~
SE*13*0001~
GE*1*1~
IEA*1*000000152~ Common segments
- Header —
ST,BGN(Beginning Segment),DTM(period start / end). - Filer —
N1*FI,N3/N4,PER. - Series — repeated
LXloop withREF(series code / NAICS / stratum),QTY(count),AMT(amount). - Geography —
N4at series level for FIPS / Census break-downs. - Summary —
SE.
Common pitfalls
- Statistical confidentiality: the 152 carries aggregates, not personally-identifying micro-data. Mixing a named survey with a 152 violates the Confidential Information Protection and Statistical Efficiency Act (CIPSEA).
- Period vs. filing date:
DTM*RTbounds the reference period; do not confuse with the filing date inDTM*007. Mixing both routes the series into the wrong quarter. - Series code: use the official NAICS, SOC or Census code list in
REF, not an internal code. Without alignment the aggregate cannot be consolidated by the collector.
Related transactions
Documentation
The code 152 and the name Statistical Government Information 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.