X12InterchangeControlHeaders
In X12, the Interchange Control Header is the first segment of an EDI document and is part of the Interchange Envelope. It contains information about the sender and receiver, the date and time of transmission, and the X12 version being used. It also includes delivery information, such as the sender and receiver IDs.
Contents
- acknowledgmentRequestedCode
-
Located at position ISA-14 in the header. The value "1" indicates that the sender is requesting an interchange acknowledgment at receipt of the interchange. The value "0" is used otherwise.
Type: String
Length Constraints: Fixed length of 1.
Pattern:
[a-zA-Z0-9]*
Required: No
- receiverId
-
Located at position ISA-08 in the header. This value (along with the
receiverIdQualifier
) identifies the intended recipient of the interchange.Type: String
Length Constraints: Fixed length of 15.
Pattern:
[a-zA-Z0-9]*
Required: No
- receiverIdQualifier
-
Located at position ISA-07 in the header. Qualifier for the receiver ID. Together, the ID and qualifier uniquely identify the receiving trading partner.
Type: String
Length Constraints: Fixed length of 2.
Pattern:
[a-zA-Z0-9]*
Required: No
- repetitionSeparator
-
Located at position ISA-11 in the header. This string makes it easier when you need to group similar adjacent element values together without using extra segments.
Note
This parameter is only honored for version greater than 401 (
VERSION_4010
and higher).For versions less than 401, this field is called StandardsId
, in which case our service sets the value to U
.Type: String
Length Constraints: Fixed length of 1.
Required: No
- senderId
-
Located at position ISA-06 in the header. This value (along with the
senderIdQualifier
) identifies the sender of the interchange.Type: String
Length Constraints: Fixed length of 15.
Pattern:
[a-zA-Z0-9]*
Required: No
- senderIdQualifier
-
Located at position ISA-05 in the header. Qualifier for the sender ID. Together, the ID and qualifier uniquely identify the sending trading partner.
Type: String
Length Constraints: Fixed length of 2.
Pattern:
[a-zA-Z0-9]*
Required: No
- usageIndicatorCode
-
Located at position ISA-15 in the header. Specifies how this interchange is being used:
-
T
indicates this interchange is for testing. -
P
indicates this interchange is for production. -
I
indicates this interchange is informational.
Type: String
Length Constraints: Fixed length of 1.
Pattern:
[a-zA-Z0-9]*
Required: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: