This Draft Standard for Trial Use contains the format and establishes the data contents of the Grocery Products Invoice Transaction Set (880) for use within the context of an Electronic Data Interchange (EDI) environment.
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 to identify 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 to identify 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
Qualifier to designate 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
Qualifier to designate 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
I10
Interchange Control Standards Identifier
Required
ID
Min 1 Max 1
Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer
ISA12
I11
Interchange Control Version Number
Required
ID
Min 5 Max 5
This version number covers 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 sent by the sender to request an interchange acknowledgment (TA1)
ISA15
I14
Usage Indicator
Required
ID
Min 1 Max 1
Code to indicate 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
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 used in conjunction with Data Element 480 to identify the issuer of the standard
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
880
Grocery Products Invoice
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
G01
Invoice Identification
Required
Max Use 1
To transmit identifying dates and numbers for this transaction set
Syntax Notes
If any of G0106 or G0107 are present, then all are required.
G0101
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
G0102
76
Invoice Number
Required
alphanumeric (AN)
Min 1 Max 22
Identifying number assigned by issuer
G0103
373
Date
Optional
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
G0104
324
Purchase Order Number
Optional
alphanumeric (AN)
Min 1 Max 22
Identifying number for Purchase Order assigned by the orderer/purchaser
N9
Reference Identification
Optional
Max Use 10
To transmit identifying information as specified by the Reference Identification Qualifier
Syntax Notes
At least one of N902 or N903 is required.
If N906 is present, then and N905 is required.
N901
128
Reference Identification Qualifier
Optional
ID
Min 2 Max 3
Code qualifying the Reference Identification
AP
Accounts Receivable Number
BM
Bill of Lading Number
VR
Vendor Number ID
N902
127
Reference Identification
Optional
alphanumeric (AN)
Min 1 Max 30
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
G62
Date/Time
Optional
Max Use 5
To specify pertinent dates and times
Syntax Notes
At least one of G6201 or G6203 is required.
If any of G6201 or G6202 are present, then all are required.
If any of G6203 or G6204 are present, then all are required.
G6201
432
Date Qualifier
Required
ID
Min 2 Max 2
Code specifying type of date
11
Shipped on This Date
G6202
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
NTE
Note/Special Instruction
Optional
Max Use 20
To transmit information in a free-form format, if necessary, for comment or special instruction
NTE02
352
Description
Required
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
G27
Carrier Detail
Optional
Max Use 5
To specify details of the transportation equipment and carrier routing details
Syntax Notes
At least one of G2704 or G2705 is required.
G2701
91
Transportation Method/Type Code
Required
ID
Min 1 Max 2
Code specifying the method or type of transportation for the shipment
H
Customer Pickup
M
Motor (Common Carrier)
G2703
207
Equipment Number
Optional
alphanumeric (AN)
Min 1 Max 10
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
G2705
387
Routing
Required
alphanumeric (AN)
Min 1 Max 35
Free-form description of the routing or requested routing for shipment, or the originating carrier's identity
G23
Terms of Sale
Optional
Max Use 20
To specify the terms of sale
Syntax Notes
At least one of G2308 or G2309 is required.
G2301
336
Terms Type Code
Required
ID
Min 2 Max 2
Code identifying type of payment terms
01
Basic
02
End of Month (EOM)
G2302
333
Terms Basis Date Code
Required
ID
Min 1 Max 2
Code identifying the beginning of the terms period
3
Invoice Date
G2303
282
Terms Start Date
Optional
longDate (DT)
Min 8 Max 8
Date from which payment terms are calculated expressed in format CCYYMMDD
G2305
338
Terms Discount Percent
Optional
decimal (R)
Min 1 Max 6
Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date
G2306
370
Terms Discount Due Date
Optional
longDate (DT)
Min 8 Max 8
Date payment is due if discount is to be earned expressed in format CCYYMMDD
G2307
351
Terms Discount Days Due
Optional
numeric (N0)
Min 1 Max 3
Number of days in the terms discount period by which payment is due if terms discount is earned
G2308
446
Terms Net Due Date
Optional
longDate (DT)
Min 8 Max 8
Date when total invoice amount becomes due expressed in format CCYYMMDD
G2309
386
Terms Net Days
Optional
numeric (N0)
Min 1 Max 3
Number of days until total invoice amount is due (discount not applicable)
G2310
362
Terms Discount Amount
Optional
numeric2 (N2)
Min 1 Max 10
Total amount of terms discount
G2311
391
Discounted Amount Due
Optional
numeric2 (N2)
Min 1 Max 10
Amount of invoice due if paid by terms discount due date (total invoice or installment amount less cash discount)
G2312
390
Amount Subject to Terms Discount
Optional
numeric2 (N2)
Min 1 Max 10
Amount upon which the terms discount amount is calculated
G2315
3
Free Form Message
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form text
G25
F.O.B. Information
Optional
Max Use 1
To transmit information pertaining to method of freight payment and transfer of title
G2501
146
Shipment Method of Payment
Required
ID
Min 2 Max 2
Code identifying payment terms for transportation charges
PB
Customer Pick-up/Backhaul
PP
Prepaid (by Seller)
G2502
433
F.O.B. Point Code
Required
ID
Min 2 Max 2
Code identifying type of F.O.B. point
02
Destination
04
Point of Origin
G2503
434
F.O.B. Point
Optional
alphanumeric (AN)
Min 1 Max 30
Descriptive name of F.O.B. point
N1 loop
Required
Min Items
Max Loop 10
N1
Name
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
BT
Bill-to-Party
RE
Party to receive commercial invoice remittance
ST
Ship 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)
N104
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
N3
Address Information
Optional
Max Use 2
To specify the location of the named party
N301
166
Address Information
Required
alphanumeric (AN)
Min 1 Max 55
Address information
N4
Geographic Location
Optional
Max Use 1
To specify the geographic place of the named party
Syntax Notes
If N406 is present, then and N405 is required.
N401
19
City Name
Optional
alphanumeric (AN)
Min 2 Max 30
Free-form text for city name
N402
156
State or Province Code
Optional
ID
Min 2 Max 2
Code (Standard State/Province) as defined by appropriate government agency
N403
116
Postal Code
Optional
ID
Min 3 Max 15
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
G72 loop
Min Items
Max Loop 100
G72
Allowance or Charge
Required
Max Use 1
To specify allowances, charges, or services
Syntax Notes
At least one of G7203, G7205, G7208 or G7209 is required.
oneOrNone
If any of G7206 or G7207 are present, then all are required.
If any of G7209 or G7210 are present, then all are required.
If G7211 is present, then and G7203 is required.
G7201
340
Allowance or Charge Code
Required
ID
Min 1 Max 3
Code identifying the type of allowance or charge
G7202
331
Allowance or Charge Method of Handling Code
Required
ID
Min 2 Max 2
Code indicating method of handling for an allowance or charge
G7203
341
Allowance or Charge Number
Optional
alphanumeric (AN)
Min 1 Max 16
The number assigned by a vendor referencing an allowance, promotion, deal or charge
G7205
359
Allowance or Charge Rate
Optional
decimal (R)
Min 1 Max 15
Allowance or Charge Rate per Unit
G7206
339
Allowance or Charge Quantity
Optional
decimal (R)
Min 1 Max 10
Quantity basis when allowance or charge quantity is different from the purchase order or invoice quantity
G7207
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
G7208
360
Allowance or Charge Total Amount
Optional
numeric2 (N2)
Min 1 Max 15
Total dollar amount for the allowance or charge
G73
Allowance or Charge Description
Required
Max Use 10
To describe the allowance or charge in free-form format
G7301
369
Free-form Description
Required
alphanumeric (AN)
Min 1 Max 45
Free-form descriptive text
G17 loop
Required
Min Items
Max Loop 9999
G17
Item Detail
Required
Max Use 1
To specify the basic and most frequently used line item data for the invoice and related transactions
Syntax Notes
At least one of G1703 or G1714 is required.
At least one of G1704 or G1705 is required.
If any of G1705 or G1706 are present, then all are required.
If any of G1707 or G1708 are present, then all are required.
If any of G1710 or G1711 are present, then all are required.
G1701
358
Quantity Invoiced
Required
decimal (R)
Min 1 Max 10
Number of units invoiced (supplier units)
G1702
355
Unit or Basis for Measurement Code
Required
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA
Case
LB
Pound
G1703
237
Item List Cost
Required
decimal (R)
Min 1 Max 9
Gross unit cost within the appropriate price bracket for a line item
G1704
438
U.P.C. Case Code
Required
alphanumeric (AN)
Min 12 Max 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)
G1705
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
IN
Buyer's Item Number
UI
U.P.C. Case Code Number (1-5-5)
G1706
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
G1707
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
IN
Buyer's Item Number
UK
GTIN 14-digit Data Structure
G1708
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
G69
Line Item Detail
Optional
Max Use 5
To describe an item in free-form format
G6901
369
Free-form Description
Required
alphanumeric (AN)
Min 1 Max 45
Free-form descriptive text
G20
Item Packing Detail
Optional
Max Use 1
To specify packing details of the items shipped
Syntax Notes
If any of G2002 or G2003 are present, then all are required.
If any of G2004 or G2005 are present, then all are required.
If any of G2006 or G2007 are present, then all are required.
G2001
356
Pack
Optional
numeric (N0)
Min 1 Max 6
The number of inner containers, or number of eaches if there are no inner containers, per outer container
G72 loop
Optional
Max Loop 100
G72
Allowance or Charge
Required
Max Use 1
To specify allowances, charges, or services
Syntax Notes
At least one of G7203, G7205, G7208 or G7209 is required.
oneOrNone
If any of G7206 or G7207 are present, then all are required.
If any of G7209 or G7210 are present, then all are required.
If G7211 is present, then and G7203 is required.
G7201
340
Allowance or Charge Code
Required
ID
Min 1 Max 3
Code identifying the type of allowance or charge
G7202
331
Allowance or Charge Method of Handling Code
Required
ID
Min 2 Max 2
Code indicating method of handling for an allowance or charge
G7203
341
Allowance or Charge Number
Required
alphanumeric (AN)
Min 1 Max 16
The number assigned by a vendor referencing an allowance, promotion, deal or charge
G7205
359
Allowance or Charge Rate
Required
decimal (R)
Min 1 Max 15
Allowance or Charge Rate per Unit
G7206
339
Allowance or Charge Quantity
Required
decimal (R)
Min 1 Max 10
Quantity basis when allowance or charge quantity is different from the purchase order or invoice quantity
G7207
355
Unit or Basis for Measurement Code
Required
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
G7208
360
Allowance or Charge Total Amount
Required
numeric2 (N2)
Min 1 Max 15
Total dollar amount for the allowance or charge
G73
Allowance or Charge Description
Required
Max Use 10
To describe the allowance or charge in free-form format
G7301
369
Free-form Description
Required
alphanumeric (AN)
Min 1 Max 45
Free-form descriptive text
G31
Total Invoice Quantity
Required
Max Use 1
To specify summary details of total items shipped in terms of quantity, weight, and volume, and to specify payment method
Syntax Notes
If any of G3103 or G3104 are present, then all are required.
If any of G3105 or G3106 are present, then all are required.
If G3107 is present, then and G3104 is required.
G3101
382
Number of Units Shipped
Required
decimal (R)
Min 1 Max 10
Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set
G3102
355
Unit or Basis for Measurement Code
Required
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
LB
Pound
CA
Case
G3103
81
Weight
Optional
decimal (R)
Min 1 Max 10
Numeric value of weight
G3104
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
PG
Pounds Gross
LB
Pound
G3105
183
Volume
Optional
decimal (R)
Min 1 Max 8
Value of volumetric measure
G3106
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CF
Cubic Feet
G33
Total Dollars Summary
Required
Max Use 1
To specify the total invoice amount, including charges less allowances, before terms discount
G3301
610
Amount
Required
numeric2 (N2)
Min 1 Max 15
Monetary amount
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