X12 Release 5010
Delimiters: ~ Segment * Element > Component
Certified March 22, 2021
AAFES (Army and Air Force Exchange Service)

X12 824 Application Advice

This Draft Standard for Trial Use contains the format and establishes the data contents of the Application Advice Transaction Set (824) for use within the context of an Electronic Data Interchange (EDI) environment.

ISA
Interchange Control Header
Required
Max Use 1
To start and identify an interchange of zero or more functional groups and interchange-related control segments
ISA01
I01
Authorization Information Qualifier
Required
ID
Min 2 Max 2
Code identifying the type of information in the Authorization Information
ISA02
I02
Authorization Information
Required
alphanumeric (AN)
Min 10 Max 10
Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)
ISA03
I03
Security Information Qualifier
Required
ID
Min 2 Max 2
Code identifying the type of information in the Security Information
ISA04
I04
Security Information
Required
alphanumeric (AN)
Min 10 Max 10
This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)
ISA05
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
ISA06
I06
Interchange Sender ID
Required
alphanumeric (AN)
Min 15 Max 15
Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element
ISA07
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
ISA08
I07
Interchange Receiver ID
Required
alphanumeric (AN)
Min 15 Max 15
Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them
ISA09
I08
Interchange Date
Required
date (DT)
Min 6 Max 6
Date of the interchange
ISA10
I09
Interchange Time
Required
time (TM)
Min 4 Max 4
Time of the interchange
ISA11
I65
Repetition Separator
Required
undefined ()
Min 1 Max 1
Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator
ISA12
I11
Interchange Control Version Number
Required
ID
Min 5 Max 5
Code specifying the version number of the interchange control segments
ISA13
I12
Interchange Control Number
Required
numeric (N0)
Min 9 Max 9
A control number assigned by the interchange sender
ISA14
I13
Acknowledgment Requested
Required
ID
Min 1 Max 1
Code indicating sender's request for an interchange acknowledgment
ISA15
I14
Interchange Usage Indicator
Required
ID
Min 1 Max 1
Code indicating whether data enclosed by this interchange envelope is test, production or information
ISA16
I15
Component Element Separator
Required
undefined ()
Min 1 Max 1
Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator
GS
Functional Group Header
Required
Max Use 1
To indicate the beginning of a functional group and to provide control information
GS01
479
Functional Identifier Code
Required
ID
Min 2 Max 2
Code identifying a group of application related transaction sets
GS02
142
Application Sender's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party sending transmission; codes agreed to by trading partners
GS03
124
Application Receiver's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party receiving transmission; codes agreed to by trading partners
GS04
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
GS05
337
Time
Required
time (TM)
Min 4 Max 8
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
GS06
28
Group Control Number
Required
numeric (N0)
Min 1 Max 9
Assigned number originated and maintained by the sender
GS07
455
Responsible Agency Code
Required
ID
Min 1 Max 2
Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480
GS08
480
Version / Release / Industry Identifier Code
Required
alphanumeric (AN)
Min 1 Max 12
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed
ST
Transaction Set Header
Required
Max Use 1
To indicate the start of a transaction set and to assign a control number
ST01
143
Transaction Set Identifier Code
Required
ID
Min 3 Max 3
Code uniquely identifying a Transaction Set
824
Application Advice
ST02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
BGN
Beginning Segment
Required
Max Use 1
To indicate the beginning of a transaction set
Syntax Notes
If BGN05 is present, then and BGN04 is required.
BGN01
353
Transaction Set Purpose Code
Required
ID
Min 2 Max 2
Code identifying purpose of transaction set
00
Original
BGN02
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 50
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
BGN03
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

N1 loop

Required
Min Items
Max Loop undefined
N1
Party Identification
Required
Max Use 1
To identify a party by type of organization, name, and code
Syntax Notes
At least one of N102 or N103 is required.
If any of N103 or N104 are present, then all are required.
N101
98
Entity Identifier Code
Required
ID
Min 2 Max 3
Code identifying an organizational entity, a physical location, property or an individual
FR
Message From
TO
Message To
N102
93
Name
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form name
N103
66
Identification Code Qualifier
Optional
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67)
1
D-U-N-S Number, Dun & Bradstreet
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
92
Assigned by Buyer or Buyer's Agent
N104
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code

OTI loop

Required
Min Items
Max Loop undefined
OTI
Original Transaction Identification
Required
Max Use 1
To identify the edited transaction set and the level at which the results of the edit are reported, and to indicate the accepted, rejected, or accepted-with-change edit result
Syntax Notes
If OTI09 is present, then and OTI08 is required.
OTI01
110
Application Acknowledgment Code
Required
ID
Min 1 Max 2
Code indicating the application system edit results of the business data
IR
Item Reject
TA
Transaction Set Accept
TE
Transaction Set Accept with Errors
TR
Transaction Set Reject
OTI02
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
08
Carrier Assigned Package Identification Number A reference number assigned by a carrier to uniquely identify a single package
IX
Credit or Debit Adjustment Number
2F
Consolidated Invoice Number
BM
Bill of Lading Number
CN
Carrier's Reference Number (PRO/Invoice)
IV
Seller's Invoice Number
PD
Promotion/Deal Number
PO
Purchase Order Number
SI
Shipper's Identifying Number for Shipment (SID) A unique number (to the shipper) assigned by the shipper to identify the shipment
TN
Transaction Reference Number
VP
Vendor Product Number A unique number assigned by a vendor or manufacturer to identify its products
OTI03
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 50
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
OTI08
28
Group Control Number
Optional
numeric (N0)
Min 1 Max 9
Assigned number originated and maintained by the sender
OTI09
329
Transaction Set Control Number
Optional
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
OTI10
143
Transaction Set Identifier Code
Optional
ID
Min 3 Max 3
Code uniquely identifying a Transaction Set
TED loop
Required
TED
Technical Error Description
Required
Max Use 1
To identify the error and, if feasible, the erroneous segment, or data element, or both
TED01
647
Application Error Condition Code
Required
ID
Min 1 Max 3
Code indicating application error condition
007
Missing Data
848
Incorrect Data
TED02
3
Free-form Message
Required
alphanumeric (AN)
Min 1 Max 60
Free-form text
TED07
724
Copy of Bad Data Element
Required
alphanumeric (AN)
Min 1 Max 99
This is a copy of the data element in error
SE
Transaction Set Trailer
Required
Max Use 1
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
SE01
96
Number of Included Segments
Required
numeric (N0)
Min 1 Max 10
Total number of segments included in a transaction set including ST and SE segments
SE02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Schedule a Demo

Schedule a Demo

BOOK A DEMO