BGM Beginning of message

To indicate the type and function of a message and to transmit the identifying number.

Position
Element
Name
Type
Requirement
Min
Max
Repeat
010
Document/message name
Composite (composite)
Conditional
1
010
Document name code
String (AN)
Conditional
1
3
-
Code specifying the document name.
Users should note that code values marked as additions or changes are included pending approval by the 1001 Maintenance Agency and may be disapproved or changed. The results of this review will be reflected in a future version of the draft directory.
020
Code list identification code
String (AN)
Conditional
1
3
-
Identification of a code list.
030
Code list responsible agency code
String (AN)
Conditional
1
3
-
Code specifying the agency responsible for a code list.
040
Document name
String (AN)
Conditional
1
35
-
Free form description of the document.
020
Document/message identification
Composite (composite)
Conditional
1
010
Document/message number
String (AN)
Conditional
1
35
-
Reference number assigned to the document/message by the issuer.
020
Version
String (AN)
Conditional
1
9
-
To specify the version number or name of an object.
030
Revision number
String (AN)
Conditional
1
6
-
To specify a revision number.
030
Message function code
String (AN)
Conditional
1
3
1
Code indicating the function of the message.
040
Response type code
String (AN)
Conditional
1
3
1
Code specifying the type of acknowledgment required or transmitted.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.