BHT Beginning of Hierarchical Transaction

To define the business hierarchical structure of the transaction set and identify the business application purpose and reference data; i.e., number, date, and time

Position
Element
Name
Type
Requirement
Min
Max
Repeat
BHT-01
Hierarchical Structure Code
Identifier (ID)
Mandatory
4
4
-
Code indicating the hierarchical application structure of a transaction set that utilizes the HL segment to define the structure of the transaction set.
BHT-02
Transaction Set Purpose Code
Identifier (ID)
Mandatory
2
2
-
Code identifying purpose of transaction set.
BHT-03
Reference Number
String (AN)
Optional
1
30
-
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
BHT03 is the number assigned by the originator to identify the transaction within the originator's business application system.
BHT-04
Date
Date (DT)
Optional
6
6
-
Date (YYMMDD).
BHT04 is the date the transaction was created within the business application system.
BHT-05
Time
Time (TM)
Optional
4
8
-
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
BHT05 is the time the transaction was created within the business application system.
BHT-06
Transaction Type Code
Identifier (ID)
Optional
2
2
-
Code specifying the type of transaction.

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.