EDI Reference / segments / BGN
BGN
Beginning Segment
Opens an 877 (and many other X12 sets) — transaction purpose, a reference number, and a date.
⚠ Segment purpose confirmed, element detail not fully verified
Generic X12 segment definition (same structure across many transaction sets); 877-specific element usage not independently verified against a live implementation guide
Key elements
| Element | Name | What it carries |
|---|---|---|
| BGN01 | Transaction Set Purpose Code | e.g. 00 = original. |
| BGN02 | Reference Number | The sender's identifying number for this transaction. |
| BGN03 | Date | Date assigned to the transaction. |
Key elements only — the ones that matter in retail trade, not the full element list.
Appears in
See a real BGN in context — paste any X12 and the Inspector breaks out every segment.
Inspect an X12 free