Product: X12 EDI
Article Link: http://help.truecommerce.com/en/articles/10698276-x12-ak9-functional-group-response-trailer
AK9 - Functional Group Response Trailer
To acknowledge acceptance or rejection of a functional group and report the number of included transaction sets from the original trailer, the accepted sets, and the received sets in this functional group
SCHEMA
Element | Name | Min/Max |
AK901 | Functional Group Acknowledge Code | 1/1 |
AK902 | Number of Transaction Sets Included | 1/6 |
AK903 | Number of Received Transaction Sets | 1/6 |
AK904 | Number of Accepted Transaction Sets | 1/6 |
AK905 | Functional Group Syntax Error Code | 1/3 |
AK906 | Functional Group Syntax Error Code | 1/3 |
AK907 | Functional Group Syntax Error Code | 1/3 |
AK908 | Functional Group Syntax Error Code | 1/3 |
AK909 | Functional Group Syntax Error Code | 1/3 |
AK901 - Functional Group Acknowledge Code
TYPE=ID MIN=1 MAX=1
Code indicating accept or reject condition based on the syntax editing of the functional group
Code | Definition |
A | Accepted |
E | Accepted, But Errors Were Noted. |
M | Rejected, Message Authentication Code (MAC) Failed |
P | Partially Accepted, At Least One Transaction Set Was Rejected |
R | Rejected |
W | Rejected, Assurance Failed Validity Tests |
X | Rejected, Content After Decryption Could Not Be Analyzed |
AK902 - Number of Transaction Sets Included
TYPE=N0 MIN=1 MAX=6
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
AK903 - Number of Received Transaction Sets
TYPE=N0 MIN=1 MAX=6
Number of Transaction Sets received
AK904 - Number of Accepted Transaction Sets
TYPE=N0 MIN=1 MAX=6
Number of accepted Transaction Sets in a Functional Group
AK905 - Functional Group Syntax Error Code
TYPE=ID MIN=1 MAX=3
Code indicating error found based on the syntax editing of the functional group header and/or trailer
Code | Definition |
1 | Functional Group Not Supported |
2 | Functional Group Version Not Supported |
3 | Functional Group Trailer Missing |
4 | Group Control Number in the Functional Group Header and Trailer Do Not Agree |
5 | Number of Included Transaction Sets Does Not Match Actual Count |
6 | Group Control Number Violates Syntax |
7 | Invalid Application Sender's Code |
8 | Invalid Application Receiver's Code |
9 | Invalid Responsible Agency Code |
10 | Authentication Key Name Unknown |
11 | Encryption Key Name Unknown |
12 | Requested Service (Authentication or Encryption) Not Available |
13 | Unknown Security Recipient |
14 | Unknown Security Originator |
15 | Syntax Error in Decrypted Text |
16 | Security Not Supported |
17 | Incorrect Message Length (Encryption Only) |
18 | Message Authentication Code Failed |
19 | Functional Group Control Number not Unique within Interchange |
23 | S3E Security End Segment Missing for S3S Security Start Segment |
24 | S3S Security Start Segment Missing for S3E End Segment |
25 | S4E Security End Segment Missing for S4S Security Start Segment |
26 | S4S Security Start Segment Missing for S4E Security End Segment |
30 | Invalid Group Date |
31 | Invalid Group Time |
AK906 - Functional Group Syntax Error Code
AK907 - Functional Group Syntax Error Code
AK908 - Functional Group Syntax Error Code
AK909 - Functional Group Syntax Error Code
Comments
Comments |
|
01 | If AK901 contains the value "A" or "E", then the transmitted functional group is accepted. |
rev 3/3/2025