Acknowledgments
Your trading partner may send you TA1s in response to outbound EDI files.
You may also need to send your trading partner a TA1 and/or a functional acknowledgment (997 or 999) in response to each inbound EDI file. These acknowledgments confirm that you received the transaction and help your trading partner know everything is working as expected.
Stedi can automatically generate acknowledgments for each inbound transaction and deliver them to your trading partner.
TA1s
TA1 Interchange Acknowledgments indicate receipt of an interchange and identify any errors in the interchange’s envelope (ISA
and IEA
) information.
Inbound
You don’t need to create a transaction setting to receive TA1s from your trading partners. Stedi automatically processes inbound TA1s and displays the data in the Files and Transactions pages for inspection.
Outbound
Stedi can automatically send both positive and negative TA1s in response to inbound transactions from your trading partner. If you specify a connection for automatic acknowledgments, Stedi sends the TA1 to that connection. Otherwise, Stedi sends the TA1 through the connection that received the inbound file.
You can review the TA1s Stedi sends to trading partners on the Files page in the Stedi app.
Positive TA1s
Positive TA1s contain code A
in TA104
, indicating that the interchange was accepted without errors. Stedi will then process the transaction and create a record in the Stedi app.
Note that a positive TA1 only indicates that Stedi received the interchange and that the interchange envelope does not contain any of the errors that trigger a negative TA1. The transaction data can still fail Stedi’s validation and processing. For example, your partner could receive a positive TA1 and then a 999 rejection (if configured) for the transaction itself due to non-compliant EDI.
Negative TA1s
Stedi only generates negative TA1s for specific errors. If the interchange envelope contains a different error than the ones listed, Stedi still sends a positive TA1 (if configured) so your trading partner can confirm you received the transaction.
Your trading partner may receive the following types of negative TA1s:
- Accepted with errors: TA1s with code
E
inTA104
indicate that the interchange was accepted with errors. In these cases, Stedi still proceeds with processing the transaction and creates a record in the Stedi app. Stedi generates TA1s with codeE
for the followingTA105
error types:014
: Invalid Interchange Date Value015
: Invalid Interchange Time Value
- Rejected because of errors: TA1s with code
R
inTA104
indicate that the interchange was rejected due to one or more errors. Stedi doesn’t process the interchange and doesn’t create a record in the Stedi app. Stedi generates TA1s with codeR
for the followingTA105
error types:001
: The Interchange Control Number in the Header and Trailer Do Not Match. The Value From the Header is Used in the Acknowledgment021
: Invalid Number of Included Groups Value | For example, the interchange envelope indicates that there are five functional groups, but only four are present in the interchange.027
: Invalid Component Element Separator | The data cannot use letters, numbers, whitespace, or the underscore character as a separator between EDI elements.
Enable automatic TA1s
To enable autogenerating outbound TA1s for trading partners:
- Go to the partnership.
- Click the pencil next to Acknowledgments.
- Select an option under Interchange Acknowledgments (TA1):
- Never: This is the default setting.
- When requested: Stedi sends a TA1 according to the code provided in
ISA14
. There are four possible codes:0
: Never send a TA11
: Always send a TA1 (positive or negative)2
: Only send TA1s with codeR
(rejected)3
: Only send TA1s with codeR
or codeE
(accepted with errors)
- Always: Stedi sends a TA1 for every successful inbound transaction received over a connection within this partnership.
- Select an existing Connection within the partnership where Stedi will deliver generated TA1s.
- (SFTP/FTPS only) Specify an optional Subdirectory. Stedi will deliver generated acknowledgments to this subdirectory. We don’t recommend specifying a subdirectory unless your trading partner has instructed you to do so.
- (Optional) Enter a JSONata expression to set a custom filename for generated acknowledgments. Available JSONata expressions are
& (Concatenation)
and$millis
. If you do not set a filename, Stedi uses the File Execution ID. - Click Save.
997s and 999s
997 Functional Acknowledgments and 999 Implementation Acknowledgments are functional acknowledgments that confirm receipt of a transaction and indicate whether it was accepted or rejected. The acknowledgment also provides information about errors in the transaction, if present. While they serve the same basic purpose, 999s are more detailed than 997s and are currently only used in healthcare.
Inbound
You must create inbound transaction settings if your trading partner plans to send you 997 or 999 functional acknowledgments.
Outbound
When sending outbound functional acknowledgments, you should never return both a 997 and a 999 for a given file. 999s are commonly returned for the following healthcare transaction sets:
- 270 Health Care Eligibility, Coverage or Benefit Inquiry
- 271 Health Care Eligibility Benefit Response
- 276 Health Care Claim Status Request,
- 277 Health Care Information Status Notification
- 278 Health Care Services Review Information - Response
- 820 Payroll Deducted and Other Group Premium Payment for Insurance Products Examples
- 834 Benefit Enrollment and Maintenance
- 835 Health Care Claim Payment/Advice
- 837 Health Care Claim
When configured, Stedi autogenerates a 997 or 999 acknowledgment for every successful inbound EDI transaction received over a partnership connection, even if the transaction set has not been explicitly configured as an inbound transaction setting. Acknowledgments are generated at the functional group level and contain complete ISA
and GS
envelopes, including control numbers.
If a file fails during validation or processing, Stedi does not send an acknowledgment until the file is processed successfully. Per the X12 EDI specification, Stedi doesn’t generate acknowledgments in response to inbound acknowledgments.
A file.failed.v2
event is
emitted when Stedi fails to process a file. You can use this event to trigger
a 997 rejection.
Enable automatic 997s or 999s
Before you begin, you must define at least one connection for this partnership.
To enable automatic 997 or 999 generation:
- Go to the partnership.
- Click the pencil next to Acknowledgments.
- Select 997s or 999s.
- Select an existing Connection within the partnership. Stedi delivers generated acknowledgments using this connection.
- (SFTP/FTPS only) Specify an optional Subdirectory. Stedi will deliver generated acknowledgments to this subdirectory. We don’t recommend specifying a subdirectory unless your trading partner has instructed you to do so.
- (Optional) Enter a JSONata expression to set a custom filename for generated acknowledgments. Available JSONata expressions are
& (Concatenation)
and$millis
. If you do not set a filename, Stedi uses the File Execution ID. - Click Save.
Was this page helpful?