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

X12 894 Delivery/Return Base Record

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Delivery/Return Base Record Transaction Set (894) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to enable a Direct Store Delivery (DSD) vendor to communicate the details of a DSD delivery and is to be used during the check-in procedure.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • BeerBoard_894_1.txt
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/beer-board/deliveryreturn-base-record/01HFAEQEH7QY6SGFTQTH6MTC7R
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

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 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)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 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)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 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

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 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

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)

Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

This version number covers the interchange control segments

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

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code sent by the sender to request an interchange acknowledgment (TA1)

0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code to indicate whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 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

>
Component Element Separator

Functional Group Header

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

DX
Direct Exchange Delivery and Return Information (894, 895)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission. Codes agreed to by trading partners

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

Code used in conjunction with Data Element 480 to identify the issuer of the standard

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

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

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

To indicate the start of a transaction set and to assign a control number

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
894
Delivery/Return Base Record
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

G82
020
Heading > G82

Delivery/Return Base Record Identifier

RequiredMax use 1

To transmit identifying numbers, dates, and other basic data relating to the transaction set

Example
G82-01
478
Credit/Debit Flag Code
Required
Identifier (ID)

Code indicating whether amount is a credit or debit

  • When G8201 equals "D" (debit), information in this segment is for a delivery.
    When G8201 equals "C" (credit), information in this segment is for a return.
C
Credit
D
Debit
G82-02
861
Supplier's Delivery/Return Number
Required
String (AN)
Min 1Max 22

Identifying number assigned by the supplier to the transaction

G82-03
860
D-U-N-S Number
Optional
Identifier (ID)
Min 9Max 9

Identifying number assigned by Dun & Bradstreet (Data Universal Numbering System)

  • G8203 is the receiver's DUNS number.
G82-04
862
Receiver's Location Number
Required
String (AN)
Min 1Max 6

Number assigned by the customer that when combined with receiver Duns number uniquely identifies the receiving location

G82-05
860
D-U-N-S Number
Optional
Identifier (ID)
Min 9Max 9

Identifying number assigned by Dun & Bradstreet (Data Universal Numbering System)

  • G8205 is the supplier's DUNS number.
G82-06
871
Supplier's Location Number
Optional
String (AN)
Min 1Max 6

Number assigned by supplier that provides uniqueness when combined with sender Duns number

G82-07
872
Physical Delivery or Return Date
Required
Date (DT)
CCYYMMDD format

Actual or intended date of physical delivery or return expressed in format CCYYMMDD

G82-08
873
Product Ownership Transfer Date
Required
Date (DT)
CCYYMMDD format

Date which is meaningful for both supplier and distributor for various mutually defined purposes (i.e., date of product ownership transfer) expressed in format CCYYMMDD

G82-09
324
Purchase Order Number
Required
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

G82-10
323
Purchase Order Date
Required
Date (DT)
CCYYMMDD format

Date assigned by the purchaser to Purchase Order expressed in format CCYYMMDD

N9
025
Heading > N9

Reference Identification

OptionalMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

CR
Customer Reference Number
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45

Free-form descriptive text

Heading end

Detail

LS
010
Detail > LS

Loop Header

RequiredMax use 1

To indicate that the next segment begins a loop

Example
LS-01
447
Loop Identifier Code
Required
String (AN)
Min 1Max 6

The loop ID number given on the transaction set diagram is the value for this data element in segments LS and LE

0100 Loop
RequiredMax >1
G83
020
Detail > 0100 Loop > G83

Line Item Detail/Direct Store Delivery

RequiredMax use 1

To specify the basic, and most frequently used line item data for the delivery record transaction

Example
At least one of U.P.C./EAN Consumer Package Code (G83-04) or Product/Service ID Qualifier (G83-05) is required
If either Product/Service ID Qualifier (G83-05) or Product/Service ID (G83-06) is present, then the other is required
If U.P.C. Case Code (G83-07) is present, then Pack (G83-09) is required
If either Product/Service ID Qualifier (G83-11) or Product/Service ID (G83-12) is present, then the other is required
G83-01
204
Direct Store Delivery Sequence Number
Optional
Numeric (N0)
Min 1Max 4

Direct Store Delivery sequential number of the line item detail or a new line item detail

G83-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

G83-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

  • G8303 qualifies G8302.
CA
Case
EA
Each
KE
Keg
G83-04
766
U.P.C./EAN Consumer Package Code
Optional
String (AN)
Min 12Max 12

Code (Universal Product Code - U.P.C.) identifying the retail shelf unit; consists of 2 high order digits identifying the system (U.S. Grocery = 00, 06 or 07, U.S. Drug = 03); the next ten digits are manufacturer ID: 5, Item ID: 5

G83-05
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

VN
Vendor's (Seller's) Item Number
G83-06
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

G83-07
438
U.P.C. Case Code
Optional
String (AN)
Min 12Max 12

Code (Universal Product Code - U.P.C.) including two high order digits identifying the "system" (U.S. Grocery = 00, 06 or 07; U.S. Drug = 03); using the U.S. Grocery system, the next ten digits are: Manufacturer (5) Case Code (5)

G83-08
237
Item List Cost
Required
Decimal number (R)
Min 1Max 9

Gross unit cost within the appropriate price bracket for a line item

Optional
Numeric (N0)
Min 1Max 6

The number of inner containers, or number of eaches if there are no inner containers, per outer container

G83-10
878
Cash Register Item Description
Required
String (AN)
Min 1Max 20

The cash register description of an item

G83-11
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

SP
Superseded Purchase Order Number
G83-12
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

G72
040
Detail > 0100 Loop > G72

Allowance or Charge

OptionalMax use 10

To specify allowances, charges, or services

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
G72-01
340
Allowance or Charge Code
Required
Identifier (ID)

Code identifying the type of allowance or charge

97
Cents Off
501
Taxes
525
Deposit Charge - Resale Item
526
Beverage Tax
537
State or Province Tax
999
Other Charges
G72-02
331
Allowance or Charge Method of Handling Code
Optional
Identifier (ID)

Code indicating method of handling for an allowance or charge

02
Off Invoice
G72-05
359
Allowance or Charge Rate
Optional
Decimal number (R)
Min 1Max 15

Allowance or Charge Rate per Unit

G72-06
339
Allowance or Charge Quantity
Optional
Decimal number (R)
Min 1Max 10

Quantity basis when allowance or charge quantity is different from the purchase order or invoice quantity

G72-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CA
Case
EA
Each
KE
Keg
G72-08
360
Allowance or Charge Total Amount
Required
Decimal number (R)
Min 1Max 15

Total dollar amount for the allowance or charge

0100 Loop end
LE
060
Detail > LE

Loop Trailer

RequiredMax use 1

To indicate that the loop immediately preceding this segment is complete

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

The loop ID number given on the transaction set diagram is the value for this data element in segments LS and LE

Detail end

Summary

G72
010
Summary > G72

Allowance or Charge

OptionalMax use 10

To specify allowances, charges, or services

Example
G72-01
340
Allowance or Charge Code
Required
Identifier (ID)

Code identifying the type of allowance or charge

501
Taxes
504
Freight
514
Surcharge
526
Beverage Tax
537
State or Province Tax
G72-02
331
Allowance or Charge Method of Handling Code
Required
Identifier (ID)

Code indicating method of handling for an allowance or charge

06
Charge to be Paid by Customer
G72-05
359
Allowance or Charge Rate
Optional
Decimal number (R)
Min 1Max 15

Allowance or Charge Rate per Unit

G72-06
339
Allowance or Charge Quantity
Optional
Decimal number (R)
Min 1Max 10

Quantity basis when allowance or charge quantity is different from the purchase order or invoice quantity

G72-08
360
Allowance or Charge Total Amount
Required
Decimal number (R)
Min 1Max 15

Total dollar amount for the allowance or charge

G84
030
Summary > G84

Delivery/Return Record of Totals

RequiredMax use 1

To specify summary details of total items in terms of quantity or amount

Example
G84-01
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

G84-02
361
Total Invoice Amount
Required
Numeric (N2)
Min 1Max 10

Amount of invoice (including charges, less allowances) before terms discount (if discount is applicable)

G86
040
Summary > G86

Signature

RequiredMax use 1

To transmit an electronic identity

Example
Required
String (AN)
Min 1Max 60

Free-form name

  • G8602 is a keyed representation of a signature.
G85
050
Summary > G85

Record Integrity Check

RequiredMax use 1

To provide a secure method of identifying authenticity of record content

Example
G85-01
866
Integrity Check Value
Required
String (AN)
Min 1Max 12

Data element providing secure method for identifying authenticity of content.
Value calculated by using CRC 16 algorithm

SE
060
Summary > SE

Transaction Set Trailer

RequiredMax 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)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Summary end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

EDI Samples

BeerBoard_894_1.txt

ISA*00* *00* *ZZ*SENDERID *ZZ*RECEIVERID *050728*1252*U*00401*000001949*0*P*>~
GS*DX*SenderID*ReceiverID*20190428*125200*1949*X*004010~
ST*894*19490001~
G82*D*8596875*123456789*0854*001234567*D86592*20190411*20190414*6975324*20190410~
N9*CR*440001970*Buffal Wiad Wings #854~
LS*0100~
G83*1*5*CA*081564354884*VN*1809*081564453877*6.8892*24*Light Beer Pfckfge*SP*705490~
G72*97*02***2.2500*3*CA*6.75~
LE*0100*~
G72*504*06***1.0000***3.00~
G84*4.5000*24500*~
G86**Distributor's Name~
G85*3E17~
SE*12*19490001~
GE*1*1949~
IEA*1*000001949~

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.