H-E-B
/
Delivery/Return Base Record
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from H-E-B. Contact H-E-B for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
H-E-B logo

X12 894 Delivery/Return Base Record

X12 Release 4010
Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • Sample
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/h-e-b/deliveryreturn-base-record/01H914259DWNRA01ENQSBEYQ7Z
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
detail
LS
010
Loop Header
Max use 1
Required
0100 Loop
LE
060
Loop Trailer
Max use 1
Required
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1
Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)
00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10
ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)
00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10
ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15
ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15
ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format
ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format
ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)
U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1
I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1
>
Component Element Separator

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
DX
Direct Exchange Delivery and Return Information (894, 895)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15
GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9
GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2
T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)
004010
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Heading

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
894
Delivery/Return Base Record
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
G82
020
Heading > G82

Delivery/Return Base Record Identifier

RequiredMax use 1
Example
G82-01
478
Credit/Debit Flag Code
Required
Identifier (ID)
Min 1Max 1
G82-02
861
Supplier's Delivery/Return Number
Required
String (AN)
Min 1Max 22
Usage notes
G82-03
860
D-U-N-S Number
Required
Identifier (ID)
Min 9Max 9
G82-04
862
Receiver's Location Number
Required
String (AN)
Min 1Max 6
Usage notes
G82-05
860
D-U-N-S Number
Required
Identifier (ID)
Min 9Max 9
G82-06
871
Supplier's Location Number
Required
String (AN)
Min 1Max 6
Usage notes
G82-07
872
Physical Delivery or Return Date
Required
Date (DT)
CCYYMMDD format
G82-08
873
Product Ownership Transfer Date
Optional
Date (DT)
CCYYMMDD format
G82-09
324
Purchase Order Number
Optional
String (AN)
Min 1Max 22
Usage notes
G82-10
323
Purchase Order Date
Optional
Date (DT)
CCYYMMDD format
G82-11
146
Shipment Method of Payment
Optional
Identifier (ID)
Min 2Max 2
Usage notes
G82-12
625
COD Method of Payment Code
Optional
Identifier (ID)
Min 1Max 1
Heading end

Detail

LS
010
Detail > LS

Loop Header

RequiredMax use 1
Example
LS-01
447
Loop Identifier Code
Required
String (AN)
Min 1Max 6
0100 Loop
RequiredMax >1
G83
020
Detail > 0100 Loop > G83

Line Item Detail/Direct Store Delivery

RequiredMax use 1
Example
If either Product/Service ID Qualifier (G83-05) or Product/Service ID (G83-06) is present, then the other is required
G83-01
204
Direct Store Delivery Sequence Number
Required
Numeric (N0)
Min 1Max 4
Usage notes
G83-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15
G83-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CA
Case
EA
Each
G83-04
766
U.P.C./EAN Consumer Package Code
Required
String (AN)
Min 12Max 12
G83-05
235
Product/Service ID Qualifier
Optional
Identifier (ID)
EN
European Article Number (EAN) (2-5-5-1)
UA
U.P.C./EAN Case Code (2-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
G83-06
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
G83-07
438
U.P.C. Case Code
Optional
String (AN)
Min 12Max 12
G83-08
237
Item List Cost
Required
Decimal number (R)
Min 1Max 9
Required
Numeric (N0)
Min 1Max 6
G83-10
878
Cash Register Item Description
Required
String (AN)
Min 1Max 20
G72
040
Detail > 0100 Loop > G72

Allowance or Charge

OptionalMax use 10
Example
If either Allowance or Charge Quantity (G72-06) or Unit or Basis for Measurement Code (G72-07) is present, then the other is required
At least one of Allowance or Charge Number (G72-03), Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent (G72-09) is required
Only one of Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent (G72-09) may be present
If either Percent (G72-09) or Dollar Basis For Percent (G72-10) is present, then the other is required
If Option Number (G72-11) is present, then Allowance or Charge Number (G72-03) is required
G72-01
340
Allowance or Charge Code
Required
Identifier (ID)
Min 1Max 3
G72-02
331
Allowance or Charge Method of Handling Code
Required
Identifier (ID)
Min 2Max 2
G72-03
341
Allowance or Charge Number
Optional
String (AN)
Min 1Max 16
G72-04
769
Exception Number
Optional
String (AN)
Min 1Max 16
G72-05
359
Allowance or Charge Rate
Optional
Decimal number (R)
Min 1Max 15
G72-06
339
Allowance or Charge Quantity
Optional
Decimal number (R)
Min 1Max 10
G72-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
G72-08
360
Allowance or Charge Total Amount
Optional
Numeric (N2)
Min 1Max 15
G72-09
332
Percent
Optional
Decimal number (R)
Min 1Max 6
G72-10
828
Dollar Basis For Percent
Optional
Decimal number (R)
Min 1Max 9
G72-11
770
Option Number
Optional
String (AN)
Min 1Max 20
0100 Loop end
LE
060
Detail > LE

Loop Trailer

RequiredMax use 1
Example
LE-01
447
Loop Identifier Code
Required
String (AN)
Min 1Max 6
Detail end

Summary

G72
010
Summary > G72

Allowance or Charge

OptionalMax use 20
Example
If either Allowance or Charge Quantity (G72-06) or Unit or Basis for Measurement Code (G72-07) is present, then the other is required
At least one of Allowance or Charge Number (G72-03), Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent (G72-09) is required
Only one of Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent (G72-09) may be present
If either Percent (G72-09) or Dollar Basis For Percent (G72-10) is present, then the other is required
If Option Number (G72-11) is present, then Allowance or Charge Number (G72-03) is required
G72-01
340
Allowance or Charge Code
Required
Identifier (ID)
Min 1Max 3
G72-02
331
Allowance or Charge Method of Handling Code
Required
Identifier (ID)
Min 2Max 2
G72-03
341
Allowance or Charge Number
Optional
String (AN)
Min 1Max 16
G72-04
769
Exception Number
Optional
String (AN)
Min 1Max 16
G72-05
359
Allowance or Charge Rate
Optional
Decimal number (R)
Min 1Max 15
G72-06
339
Allowance or Charge Quantity
Optional
Decimal number (R)
Min 1Max 10
G72-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
G72-08
360
Allowance or Charge Total Amount
Optional
Numeric (N2)
Min 1Max 15
G72-09
332
Percent
Optional
Decimal number (R)
Min 1Max 6
G72-10
828
Dollar Basis For Percent
Optional
Decimal number (R)
Min 1Max 9
G72-11
770
Option Number
Optional
String (AN)
Min 1Max 20
G23
020
Summary > G23

Terms of Sale

OptionalMax use 20
Example
At least one of Terms Net Due Date (G23-08) or Terms Net Days (G23-09) is required
G23-01
336
Terms Type Code
Required
Identifier (ID)
Min 2Max 2
G23-02
333
Terms Basis Date Code
Required
Identifier (ID)
Min 1Max 2
G23-03
282
Terms Start Date
Optional
Date (DT)
CCYYMMDD format
G23-04
283
Terms Due Date Qualifier
Optional
Identifier (ID)
Min 2Max 2
G23-05
338
Terms Discount Percent
Optional
Decimal number (R)
Min 1Max 6
G23-06
370
Terms Discount Due Date
Optional
Date (DT)
CCYYMMDD format
G23-07
351
Terms Discount Days Due
Optional
Numeric (N0)
Min 1Max 3
G23-08
446
Terms Net Due Date
Optional
Date (DT)
CCYYMMDD format
G23-09
386
Terms Net Days
Optional
Numeric (N0)
Min 1Max 3
G23-10
362
Terms Discount Amount
Optional
Numeric (N2)
Min 1Max 10
G23-11
391
Discounted Amount Due
Optional
Numeric (N2)
Min 1Max 10
G23-12
390
Amount Subject to Terms Discount
Optional
Numeric (N2)
Min 1Max 10
G23-13
343
Installment Total Invoice Amount Due
Optional
Numeric (N2)
Min 1Max 10
G23-14
342
Percent of Invoice Payable
Optional
Decimal number (R)
Min 1Max 5
G23-15
3
Free Form Message
Optional
String (AN)
Min 1Max 60
Usage notes
G23-16
713
Installment Group Indicator
Optional
Numeric (N0)
Min 2Max 2
G84
030
Summary > G84

Delivery/Return Record of Totals

RequiredMax use 1
Example
G84-01
380
Quantity
Required
Decimal number (R)
Min 1Max 15
G84-02
361
Total Invoice Amount
Required
Numeric (N2)
Min 1Max 10
G84-03
865
Total Deposit Dollar Amount
Optional
Numeric (N2)
Min 1Max 6
G86
040
Summary > G86

Signature

RequiredMax use 1
Example
G86-01
867
Signature
Required
String (AN)
Min 1Max 12
Usage notes
G85
050
Summary > G85

Record Integrity Check

RequiredMax use 1
Example
G85-01
866
Integrity Check Value
Required
String (AN)
Min 1Max 12
SE
060
Summary > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Summary end

Functional Group Trailer

RequiredMax use 1
Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6
GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Interchange Control Trailer

RequiredMax use 1
Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5
IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
EDI Samples

Sample

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231120*1404*U*00401*000000001*0*T*>~
GS*DX*SENDERGS*RECEIVERGS*20231120*140435*000000001*X*004010~
ST*894*0001~
G82*D*61085526*007924756*492*123456789*0*20190220~
LS*0100~
G83*1*3.00*EA*DDDDDDDDDDDD****1.15*1*1.5z Chili Pod, Anch~
G83*2*3.00*EA*DDDDDDDDDDDD****1.15*1*1.5z Chili Pod, New~
G83*3*3.00*EA*DDDDDDDDDDDD****1.15*1*1 oz Chili Pod, Arbo~
G83*4*3.00*EA*DDDDDDDDDDDD****1.03*1*1 oz Oregano~
G83*5*6.00*EA*DDDDDDDDDDDD****0.91*1*2oz Chili Pepper, Ne~
G83*6*1.00*EA*DDDDDDDDDDDD****0.75*1*.25z Cinnamon
Sticks~
G83*7*1.00*EA*DDDDDDDDDDDD****1.85*1*1oz Cinnamon Sticks~
G83*8*1.00*EA*DDDDDDDDDDDD****0.62*1*.75z Pepper, Red Cay~
G83*9*1.00*EA*DDDDDDDDDDDD****0.44*1*.75z Anise, Whole~
LE*0100~
G84*159.00*22764~
G86*DDDD~
G85*DDDD~
SE*17*0001~
GE*1*000000001~
IEA*1*000000001~

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.