ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

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:

x12 example-152.x12
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

  • HeaderST, BGN (Beginning Segment), DTM (period start / end).
  • FilerN1*FI, N3/N4, PER.
  • Series — repeated LX loop with REF (series code / NAICS / stratum), QTY (count), AMT (amount).
  • GeographyN4 at series level for FIPS / Census break-downs.
  • SummarySE.

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*RT bounds the reference period; do not confuse with the filing date in DTM*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.

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.