TRN Trace

To uniquely identify a transaction to an application.

Position
Element
Name
Type
Requirement
Min
Max
Repeat
TRN01
Trace Type Code
Identifier (ID)
Mandatory
1
2
-
Code identifying which transaction is being referenced.
If either TRN08 or TRN09 is present, the other is required.
TRN02
Entity Identifier Code
Identifier (ID)
Mandatory
2
2
-
Code identifying an organizational entity or a physical location.
TRN02, TRN03 and TRN04 identify an organization.
TRN03
Identification Code Qualifier
Identifier (ID)
Mandatory
1
2
-
Code designating the system/method of code structure used for Identification Code (67).
TRN03 through TRN09 shall be unique for a given transaction set.
TRN04
Identification Code
Identifier (ID)
Mandatory
2
17
-
Code identifying a party.
TRN05
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.
TRN05 identifies a further subdivision within the organization.
TRN06
Application Batch Identifier
String (AN)
Optional
1
30
-
Unique Identifier for an Application Batch
TRN06 and TRN07 provide a batch- and item-level numbering scheme that shall be unique for each transaction within a company and subdivision.
TRN07
Application Item Identifier
String (AN)
Optional
1
30
-
Unique Identifier for an Item within an Application Batch
TRN08
Reference Number Qualifier
Identifier (ID)
Conditional
2
2
-
Code qualifying the Reference Number.
TRN09
Reference Number
String (AN)
Conditional
1
30
-
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
TRN09 provides further unique identification for the 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.