US FARATHANE, INC
997 Functional Acknowledgment
EDI SPECIFICATIONS
VERSION 004010
05/24/02

Segment: AK1 Functional Group Response Header
Level: Header
Usage: Mandatory
Example: AK1*PO*394
AK1 Data Element Summary |
Designator | Elem # | Name | Required | Type | Size |
AK101 | 479 | Functional ID Code | Mandatory | ID | 02 – 02 |
Must match function group identifier GS01 of the group being acknowledged.
AK102 | 28 | Data Interchange Control Number | Mandatory | N | 01 – 09 |
Must match GS06 of group being acknowledged.

Segment: AK2 Transaction Set Response Header
Level: Header
Usage: Mandatory
Example: AK2*830*3940001
AK2 Data Element Summary |
Designator | Elem # | Name | Required | Type | Size |
AK201 | 143 | Transaction Set ID | Mandatory | ID | 03 – 03 |
Must match ST01 of transaction being acknowledged.
AK202 | 329 | Transaction Set Control Number | Mandatory | N | 01 – 09 |
Must match ST02 of transaction being acknowledged.

Segment: AK3 Data Segment Note
Level: Header
Usage: Optional
Example: AK3*FST*10**2
AK3 Data Element Summary |
Designator | Elem # | Name | Required | Type | Size |
AK301 | 721 | Segment ID Code | Mandatory | ID | 02 – 03 |
Segment in error
AK302 | 719 | Segment position in trans set | Mandatory | N | 01 – 06 |
AK303 | 447 | Loop ID Code | Optional | ID | 01 – 04 |
AK304 | 720 | Segment Note Code | Optional | ID | 01 - 03 |
AK305 | 720 | Segment Note Code | Optional | ID | 01 - 03 |
AK306 | 720 | Segment Note Code | Optional | ID | 01 - 03 |
AK307 | 720 | Segment Note Code | Optional | ID | 01 - 03 |
AK308 | 720 | Segment Note Code | Optional | ID | 01 - 03 |
Segment Note Codes:
1 Unrecognized Segment ID
2 Unexpected Segment
3 Mandatory segment missing
4 Loop Occurs over maximum times
5 Segment within loop exceeds maximum use

Segment: AK4 Data Element Note
Level: Header
Usage: Optional
Example: AK4*2*680*1
AK4 Data Element Summary |
Designator | Elem # | Name | Required | Type | Size |
AK401 | 722 | Element Position in Segment | Mandatory | N | 01 – 02 |
AK402 | 725 | Data Element Reference Number | Optional | N | 01 – 04 |
AK403 | 723 | Data Element Syntax Error Code | Mandatory | ID | 01 – 03 |
AK404 | 724 | Copy of bad element | Optional | Alpha | 01 – 99 |
Syntax Error Codes:
1 Mandatory data element missing
2 Conditional required data element missing
3 Too many data elements
4 Data element too short
5 Data element too long
6 Invalid character in data element
7 Invalid code value
8 Invalid date
9 Invalid time

Segment: AK5 Transaction Set Response Trailer
Level: Header
Usage: Mandatory
Example: AK5*A
AK5 Data Element Summary |
Designator | Elem # | Name | Required | Type | Size |
AK501 | 717 | Set Acknowledgement Code | Mandatory | ID | 01 – 01 |
A Transaction set is accepted
E Transaction set is accepted with errors
R Transaction set is rejected
AK502 | 718 | Transaction Set Note | Optional | ID | 01 – 03 |
1 This transaction set type is not supported
2 The transaction set trailer is missing
3 The transaction set control number in the header and trailer do not match
4 The number of included segments does not match the actual count
5 One or more segments are in error

Segment: AK9 Functional Group Response Trailer
Level: Header
Usage: Mandatory
Example: AK9*A*1*1*1
AK9 Data Element Summary |
Designator | Elem # | Name | Required | Type | Size |
AK901 | 715 | Group Acknowledgment Code | Mandatory | ID | 01 – 01 |
A Group is accepted
E Group is accepted with errors
R Group is rejected
AK902 | 97 | Number of Included Sets | Mandatory | N | 01 – 06 |
AK903 | 123 | Number of Received Sets | Mandatory | N | 01 – 06 |
AK904 | 2 | Number of Accepted Sets | Mandatory | N | 01 – 06 |
AK905 | 716 | Functional Group Note | Optional | ID | 01 - 03 |
AK906 | 716 | Functional Group Note | Optional | ID | 01 - 03 |
AK907 | 716 | Functional Group Note | Optional | ID | 01 - 03 |
AK908 | 716 | Functional Group Note | Optional | ID | 01 - 03 |
AK909 | 716 | Functional Group Note | Optional | ID | 01 - 03 |
1 Group not supported
2 Version of group not supported
3 Group trailer is missing
4 Interchange control number in header and trailer do not match
5 Number of included sets does not match actual count