EDI
API DocsTerminal

CTH Beginning Segment for Contract Transaction Set

To indicate the beginning of the Contract and Rebate Management Transaction Set and transmit identifying contract information

Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
353
Transaction Set Purpose Code
Identifier (ID)
Mandatory
2
2
1
Code identifying purpose of transaction set
Codes (76)
02
Contract Number
String (AN)
Mandatory
1
30
1
Contract number
03
Contract Action Code
Identifier (ID)
Mandatory
2
2
1
Code identifying the expected resultant type of contract action or current type of contract action
Codes (15)
04
Reference Identification Qualifier
Identifier (ID)
Conditional
2
3
1
Code identifying the Reference Identification
P0405: If either CTH-04 or CTH-05 is present, then the other is required
Codes (1904)
05
Reference Identification
String (AN)
Conditional
1
80
1
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
06
Date
Date (DT)
Optional
8
8
1
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
CTH06 is the date the transaction set was created in the business application system.
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)
CTH07 is the time the transaction was created within the business application system.
08
Contract Level Code
Identifier (ID)
Optional
2
2
1
Code indicating the administrative level to which the contract pertains
Codes (3)
09
Contract Date Basis Code
Identifier (ID)
Conditional
1
2
1
Code identifying the date basis for contract dates
P0910: If either CTH-09 or CTH-10 is present, then the other is required
Codes (8)
10
Entity Identifier Code
Identifier (ID)
Conditional
2
3
1
Code identifying an organizational entity, a physical location, property or an individual
Codes (1538)
11
Description
String (AN)
Optional
1
80
1
A free-form description to clarify the related data elements and their content
CTH11 allows for additional description about this contract.

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.