Construct a valid ANSI X12 834 Benefit Enrollment and Maintenance EDI file from raw HRIS employee/dependent data by assembling the required segments and loops per the 005010X220A1 implementation guide.

domain: x12.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Wrap the transaction in the standard envelope: ISA (interchange header) and GS (functional group header), then open the transaction with ST (transaction set header, identifying 834) and a unique control number.
  2. Add BGN (Beginning Segment) to declare the transaction purpose and reference/creation date, plus any needed file-level REF, DTP, and QTY (total subscriber/dependent counts) segments.
  3. Build at least one Loop 1000 iteration with an N1 segment (plus N2/N3/N4/PER as needed) to identify the sponsor (employer) and payer/carrier — required to identify sender and receiver.
  4. For each covered person, emit a Loop 2000 block starting with a mandatory INS segment (maintenance type: add/change/terminate; subscriber-vs-dependent flag) followed by a mandatory REF segment linking dependents to their subscriber, then DTP dates.
  5. Within each 2000 loop, add Loop 2100 with NM1 (member name) and DMG (demographics), then one or more Loop 2300 blocks containing the HD segment (health coverage/plan level) with its effective DTP dates.
  6. Close the transaction with SE (segment count trailer), then GE (functional group trailer) and IEA (interchange trailer), and validate against the 005010X220A1 TR3 guide before transmission.

Known gotchas

Related routes

Submit benefits enrollment data for new hires to a carrier using the ANSI X12 834 EDI transaction set via a clearinghouse
x12.org · 5 steps · unrated
Construct an X12 837I institutional claim for an inpatient stay including all required UB-04 equivalent data elements in the correct loops and segments
x12.org · 6 steps · unrated
Build an X12 834 benefit enrollment transaction for a new hire group enrollment event and handle the subscriber and dependent demographic and coverage loops correctly
x12.org · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans