Stedi maintains this guide based on public documentation from HubEDI Walmart. Contact HubEDI Walmart for official EDI specifications. To report any errors in this guide, please
contact us.
X12 997 Functional Acknowledgment
Delimiters
- ~ Segment
- * Element
- > Component
Interchange Control Header
RequiredMax use 1
- 00
- No Authorization Information Present (No Meaningful Information in I02)
- 00
- No Security Information Present (No Meaningful Information in I04)
- 01
- Duns (Dun & Bradstreet)
- 02
- SCAC (Standard Carrier Alpha Code)
- 03
- FMC (Federal Maritime Commission)
- 04
- IATA (International Air Transport Association)
- 08
- UCC EDI Communications ID (Comm ID)
- 09
- X.121 (CCITT)
- 10
- Department of Defense (DoD) Activity Address Code
- 11
- DEA (Drug Enforcement Administration)
- 12
- Phone (Telephone Companies)
- 13
- UCS Code (The UCS Code is a Code Used for UCS Transmissions; it includes the Area Code and Telephone Number of a Modem; it Does Not Include Punctuation, Blanks or Access Code)
- 14
- Duns Plus Suffix
- 15
- Petroleum Accountants Society of Canada Company Code
- 16
- Duns Number With 4-Character Suffix
- 17
- American Bankers Association (ABA) Transit Routing Number (Including Check Digit, 9 Digit)
- 18
- Association of American Railroads (AAR) Standard Distribution Code
- 19
- EDI Council of Australia (EDICA) Communications ID Number (COMM ID)
- 20
- Health Industry Number (HIN)
- 21
- Integrated Postsecondary Education Data System, or (IPEDS)
- 22
- Federal Interagency Commission on Education, or FICE
- 23
- National Center for Education Statistics Common Core of Data 12-Digit Number for Pre-K-Grade 12 Institutes, or NCES
- 24
- The College Board's Admission Testing Program 4-Digit Code of Postsecondary Institutes, or ATP
- 25
- American College Testing Program 4-Digit Code of Postsecondary Institutions, or ACT
- 26
- Statistics of Canada List of Postsecondary Institutions
- 27
- Carrier Identification Number as assigned by Health Care Financing Administration (HCFA)
- 28
- Fiscal Intermediary Identification Number as assigned by Health Care Financing Administration (HCFA)
- 29
- Medicare Provider and Supplier Identification Number as assigned by Health Care Financing Administration (HCFA)
- 30
- U.S. Federal Tax Identification Number
- 31
- Jurisdiction Identification Number Plus 4 as assigned by the International Association of Industrial Accident Boards and Commissions (IAIABC)
- 32
- U.S. Federal Employer Identification Number (FEIN)
- 33
- National Association of Insurance Commissioners Company Code (NAIC)
- 34
- Medicaid Provider and Supplier Identification Number as assigned by individual State Medicaid Agencies in conjunction with Health Care Financing Administration (HCFA)
- 35
- Statistics Canada Canadian College Student Information System Institution Codes
- 36
- Statistics Canada University Student Information System Institution Codes
- 37
- Society of Property Information Compilers and Analysts
- AM
- Association Mexicana del Codigo de Producto (AMECOP) Communication ID
- NR
- National Retail Merchants Association (NRMA) - Assigned
- SN
- Standard Address Number
- ZZ
- Mutually Defined
- 01
- Duns (Dun & Bradstreet)
- 02
- SCAC (Standard Carrier Alpha Code)
- 03
- FMC (Federal Maritime Commission)
- 04
- IATA (International Air Transport Association)
- 08
- UCC EDI Communications ID (Comm ID)
- 09
- X.121 (CCITT)
- 10
- Department of Defense (DoD) Activity Address Code
- 11
- DEA (Drug Enforcement Administration)
- 12
- Phone (Telephone Companies)
- 13
- UCS Code (The UCS Code is a Code Used for UCS Transmissions; it includes the Area Code and Telephone Number of a Modem; it Does Not Include Punctuation, Blanks or Access Code)
- 14
- Duns Plus Suffix
- 15
- Petroleum Accountants Society of Canada Company Code
- 16
- Duns Number With 4-Character Suffix
- 17
- American Bankers Association (ABA) Transit Routing Number (Including Check Digit, 9 Digit)
- 18
- Association of American Railroads (AAR) Standard Distribution Code
- 19
- EDI Council of Australia (EDICA) Communications ID Number (COMM ID)
- 20
- Health Industry Number (HIN)
- 21
- Integrated Postsecondary Education Data System, or (IPEDS)
- 22
- Federal Interagency Commission on Education, or FICE
- 23
- National Center for Education Statistics Common Core of Data 12-Digit Number for Pre-K-Grade 12 Institutes, or NCES
- 24
- The College Board's Admission Testing Program 4-Digit Code of Postsecondary Institutes, or ATP
- 25
- American College Testing Program 4-Digit Code of Postsecondary Institutions, or ACT
- 26
- Statistics of Canada List of Postsecondary Institutions
- 27
- Carrier Identification Number as assigned by Health Care Financing Administration (HCFA)
- 28
- Fiscal Intermediary Identification Number as assigned by Health Care Financing Administration (HCFA)
- 29
- Medicare Provider and Supplier Identification Number as assigned by Health Care Financing Administration (HCFA)
- 30
- U.S. Federal Tax Identification Number
- 31
- Jurisdiction Identification Number Plus 4 as assigned by the International Association of Industrial Accident Boards and Commissions (IAIABC)
- 32
- U.S. Federal Employer Identification Number (FEIN)
- 33
- National Association of Insurance Commissioners Company Code (NAIC)
- 34
- Medicaid Provider and Supplier Identification Number as assigned by individual State Medicaid Agencies in conjunction with Health Care Financing Administration (HCFA)
- 35
- Statistics Canada Canadian College Student Information System Institution Codes
- 36
- Statistics Canada University Student Information System Institution Codes
- 37
- Society of Property Information Compilers and Analysts
- AM
- Association Mexicana del Codigo de Producto (AMECOP) Communication ID
- NR
- National Retail Merchants Association (NRMA) - Assigned
- SN
- Standard Address Number
- ZZ
- Mutually Defined
ISA-11
I10
Interchange Control Standards Identifier
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
- I
- Information
- P
- Production Data
- T
- Test Data
- >
- Component Element Separator
Functional Group Header
RequiredMax use 1
- FA
- Functional Acknowledgment (997)
RequiredHHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
- 004010
- Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997
Heading
Transaction Set Header
RequiredMax use 1
- 997
- Functional Acknowledgment
Functional Group Response Header
RequiredMax use 1
AK2 Loop
OptionalMax 999999
AK2
030
Heading > AK2 Loop > AK2
Transaction Set Response Header
RequiredMax use 1
AK3 Loop
OptionalMax 999999
AK3
040
Heading > AK2 Loop > AK3 Loop > AK3
Data Segment Note
RequiredMax use 1
- 1
- Unrecognized segment ID
- 2
- Unexpected segment
- 3
- Mandatory segment missing
- 4
- Loop Occurs Over Maximum Times
- 5
- Segment Exceeds Maximum Use
- 6
- Segment Not in Defined Transaction Set
- 7
- Segment Not in Proper Sequence
- 8
- Segment Has Data Element Errors
AK4
050
Heading > AK2 Loop > AK3 Loop > AK4
Data Element Note
OptionalMax use 99
RequiredMax use 1
Code indicating the relative position of a simple data element, or the relative position of a composite data structure combined with the relative position of the component data element within the composite data structure, in error; the count starts with 1 for the simple data element or composite data structure immediately following the segment ID
C030-02
1528
Component Data Element Position in Composite
- 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
- 10
- Exclusion Condition Violated
AK3 Loop end
AK5
060
Heading > AK2 Loop > AK5
Transaction Set Response Trailer
RequiredMax use 1
- 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
- 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
- 19
- S1E Security End Segment Missing for S1S Security Start Segment
- 20
- S1S Security Start Segment Missing for S1E Security End Segment
- 21
- S2E Security End Segment Missing for S2S Security Start Segment
- 22
- S2S Security Start Segment Missing for S2E Security End Segment
- 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
AK2 Loop end
Functional Group Response Trailer
RequiredMax use 1
- 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
AK9-02
97
Number of Transaction Sets Included
AK9-04
2
Number of Accepted Transaction Sets
Transaction Set Trailer
RequiredMax use 1
Heading end
Functional Group Trailer
RequiredMax use 1
GE-01
97
Number of Transaction Sets Included
Interchange Control Trailer
RequiredMax use 1
IEA-01
I16
Number of Included Functional Groups
Stedi is a registered trademark of Stedi, Inc.
All names, logos, and brands of third parties listed on this page are trademarks
of their respective owners (including “X12”, which is a trademark of X12 Incorporated).
Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties.
Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement,
sponsorship, or affiliation.