EDI
API DocsTerminal

OTI Original Transaction Identification

To identify the edited transaction set and the level at which the results of the edit are reported, and to indicate the accepted, rejected, or accepted-with-change edit result

Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
110
Application Acknowledgment Code
Identifier (ID)
Mandatory
1
2
1
Code indicating the application system edit results of the business data
Codes (22)
02
Reference Identification Qualifier
Identifier (ID)
Mandatory
2
3
1
Code identifying the Reference Identification
OTI02 contains the qualifier identifying the business transaction from the original business application, and OTI03 will contain the original business application identification.
Codes (1904)
03
Reference Identification
String (AN)
Mandatory
1
80
1
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
OTI03 is the primary reference identification or number used to uniquely identify the original transaction set.
04
Application Sender's Code
String (AN)
Optional
2
15
1
Code identifying party sending transmission; codes agreed to by trading partners
If used, OTI04 through OTI08 will contain values from the original electronic functional group generated by the sender.
05
Application Receiver's Code
String (AN)
Optional
2
15
1
Code identifying party receiving transmission; codes agreed to by trading partners
06
Date
Date (DT)
Optional
8
8
1
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
OTI06 is the group date.
07
Time
Time (TM)
Optional
4
8
1
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)
OTI07 is the group time.
08
Group Control Number
Numeric (N0)
Conditional
1
9
1
Assigned number originated and maintained by the sender
09
Transaction Set Control Number
String (AN)
Optional
4
9
1
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
C0908: If OTI-09 is present, then OTI-08 is required
If used, OTI09 through OTI10 will contain values from the original electronic transaction set generated by the sender.
10
Transaction Set Identifier Code
Identifier (ID)
Optional
3
3
1
Code identifying a Transaction Set
Codes (322)
11
Version / Release / Industry Identifier Code
String (AN)
Optional
1
12
1
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed
If OTI11 is present, it will contain the version/release under which the original electronic transaction was translated by the receiver.
Codes (102)
12
Transaction Set Purpose Code
Identifier (ID)
Optional
2
2
1
Code identifying purpose of transaction set
OTI12 is the purpose of the original transaction set, and is used to assist in its unique identification.
Codes (76)
13
Transaction Type Code
Identifier (ID)
Optional
2
2
1
Code specifying the type of transaction
OTI13 is the type of the original transaction set, and is used to assist in its unique identification.
Codes (551)
14
Application Type Code
Identifier (ID)
Optional
2
2
1
Code identifying an application
OTI14 is the application type of the original transaction set, and is used to assist in its unique identification.
Codes (99)
15
Action Code
Identifier (ID)
Optional
1
2
1
Code indicating type of action
OTI15 is the type of action indicated or requested by the original transaction set, and is used to assist in its unique identification.
Codes (325)
16
Transaction Handling Code
Identifier (ID)
Optional
1
2
1
Code specifying the action to be taken by all parties
OTI16 is the action requested by the original transaction set, and is used to assist in its unique identification.
Codes (23)
17
Status Reason Code
Identifier (ID)
Optional
3
3
1
Code indicating the status reason
OTI17 is the status reason of the original transaction set, and is used to assist in its unique identification.
Codes (438)

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.