Tediware launches an official MCP server for EDI.Learn more →
Access X12 from your terminal Get the tedi CLI

152 Statistical Government Information

The Statistical Government Information transaction set reports figures that a government has asked for in a set format, such as the answers to a recurring survey. The organization being surveyed sends it, and the government office that collects the statistics receives it. The BGN (Beginning Segment) gives the report its reference number and date. The N1 (Name) loop identifies the organization the report is about, and each GRI (Statistical Government Information) segment carries one piece of reported data as a quantity, an amount, a percentage, a date or text.

For example, a state labor office asks employers to report on their workforce every quarter. Hollis Textiles answers with a 152. The N1 loop names the company, and a PER (Administrative Communications Contact) segment gives the person to call with questions. One GRI segment reports 120 full-time employees and another reports 30 part-time employees. A third gives the total wages paid in the quarter. Each segment has a code that says which survey question it answers, so the labor office can load the report from every employer into one database and publish totals for the state.

Structure

Statistical Government Information (GR152) contains 1 table (Heading), 3 loops, and 19 segments. Sign up free or login to view every table, loop, and element in full, as well as download it in Markdown or console (text) formats.

Heading
ST 010
Transaction Set Header
R
Max 1
BGN 020
Beginning Segment
R
Max 1
PAM 030
Period Amount
O
Max 1
NTE 040
Note/Special Instruction
O
Unbounded
SE 190
Transaction Set Trailer
R
Max 1

Sign up free to see the full GR152 reference

See every segment, loop, and element across all 1 tables. Download it in console (text) or Markdown format, or use the tedi CLI to access the full X12 reference from your terminal.