Skip to main content
All CollectionsX12 EDISegmentsAs
X12 - AK5 - Transaction Set Response Trailer
X12 - AK5 - Transaction Set Response Trailer
Micah A. Parker avatar
Written by Micah A. Parker
Updated over a month ago

Product: X12 EDI


AK5 - Transaction Set Response Trailer

To acknowledge acceptance or rejection and report errors in a transaction set


SCHEMA


Element

Name

Min/Max

AK501

Transaction Set Acknowledgement Code

1/1

AK502

Transaction Set Syntax Error Code

1/3

AK503

Transaction Set Syntax Error Code

1/3

AK504

Transaction Set Syntax Error Code

1/3

AK505

Transaction Set Syntax Error Code

1/3

AK506

Transaction Set Syntax Error Code

1/3


AK501 - Transaction Set Acknowledgement Code


TYPE=ID MIN=1 MAX=1

Code indicating accept or reject condition based on the syntax editing of the transaction set

Code

Definition

A

Accepted

E

Accepted But Errors Were Noted

M

Rejected, Message Authentication Code (MAC) Failed

R

Rejected

W

Rejected, Assurance Failed Validity Tests

X

Rejected, Content After Decryption Could Not Be Analyzed


AK502 - Transaction Set Syntax Error Code


TYPE=ID MIN=1 MAX=3

Code indicating error found based on the syntax editing of a transaction set

Code

Definition

1

Transaction Set Not Supported

2

Transaction Set Trailer Missing

3

Transaction Set Control Number in Header and Trailer Do Not Match

4

Number of Included Segments Does Not Match Actual Count

5

One or More Segments in Error

6

Missing or Invalid Transaction Set Identifier

7

Missing or Invalid Transaction Set Control Number

8

Authentication Key Name Unknown

9

Encryption Key Name Unknown

10

Requested Service (Authentication or Encrypted) Not Available

11

Unknown Security Recipient

12

Incorrect Message Length (Encryption Only)

13

Message Authentication Code Failed

15

Unknown Security Originator

16

Syntax Error in Decrypted Text

17

Security Not Supported

18

Transaction Set not in Functional Group

19

Invalid Transaction Set Implementation Convention Reference

23

Transaction Set Control Number Not Unique within the Functional Group

24

S3E Security End Segment Missing for S3S Security Start Segment

25

S3S Security Start Segment Missing for S3E Security End Segment

26

S4E Security End Segment Missing for S4S Security Start Segment

27

S4S Security Start Segment Missing for S4E Security End Segment


AK503 - Transaction Set Syntax Error Code



AK504 - Transaction Set Syntax Error Code



AK505 - Transaction Set Syntax Error Code



AK506 - Transaction Set Syntax Error Code


rev 3/3/2025

Did this answer your question?