SpartanNash X12 880 Grocery Products Invoice

SpartanNash

3 schema elements found

This Draft Standard schema for Trial Use contains the format and data contents of the schema for use within the context of an Electronic Data Interchange (EDI) environment.

ISA

ISA

Interchange Control Header

MMax: 1

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

ISA01
Authorization Information Qualifier
MIDMIN 2 MAX 2ID: I01

Code identifying the type of information in the Authorization Information

ISA02
Authorization Information
MANMIN 10 MAX 10ID: I02

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
Security Information Qualifier
MIDMIN 2 MAX 2ID: I03

Code identifying the type of information in the Security Information

ISA04
Security Information
MANMIN 10 MAX 10ID: I04

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
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

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

ISA06
Interchange Sender ID
MANMIN 15 MAX 15ID: I06

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
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

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

ISA08
Interchange Receiver ID
MANMIN 15 MAX 15ID: I07

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
Interchange Date
MDTMIN 6 MAX 6ID: I08

Date of the interchange

ISA10
Interchange Time
MTMMIN 4 MAX 4ID: I09

Time of the interchange

ISA11
Repetition Separator
MMIN 1 MAX 1ID: I65

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
Interchange Control Version Number
MIDMIN 5 MAX 5ID: I11

Code specifying the version number of the interchange control segments

ISA13
Interchange Control Number
MN0MIN 9 MAX 9ID: I12

A control number assigned by the interchange sender

ISA14
Acknowledgment Requested
MIDMIN 1 MAX 1ID: I13

Code indicating sender's request for an interchange acknowledgment

ISA15
Usage Indicator
MIDMIN 1 MAX 1ID: I14

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

ISA16
Component Element Separator
MMIN 1 MAX 1ID: I15

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

GS

Functional Group Header

MMax: 1

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

GS01
Functional Identifier Code
MIDMIN 2 MAX 2ID: 479

Code identifying a group of application related transaction sets

GS02
Application Sender's Code
MANMIN 2 MAX 15ID: 142

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

GS03
Application Receiver's Code
MANMIN 2 MAX 15ID: 124

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

GS04
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

GS05
Time
MTMMIN 4 MAX 8ID: 337

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
Group Control Number
MN0MIN 1 MAX 9ID: 28

Assigned number originated and maintained by the sender

GS07
Responsible Agency Code
MIDMIN 1 MAX 2ID: 455

Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480

GS08
Version / Release / Industry Identifier Code
MANMIN 1 MAX 12ID: 480

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

transactionSets

Loop: transactionSets

ST

Transaction Set Header

MMax: 1Area: 1Seq: 0100

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

ST01
Transaction Set Identifier Code
MIDMIN 3 MAX 3ID: 143

Code uniquely identifying a Transaction Set

880Grocery Products Invoice
ST02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

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

G01

Invoice Identification

MMax: 1Area: 1Seq: 0200

To transmit identifying dates and numbers for this transaction set

G0101
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

G0102
Invoice Number
MANMIN 1 MAX 22ID: 76

Identifying number assigned by issuer

G0104
Purchase Order Number
OANMIN 1 MAX 22ID: 324

Identifying number for Purchase Order assigned by the orderer/purchaser

G61

Contact

OMax: 3Area: 1Seq: 0400

To identify a person or office to whom communications should be directed

G6101
Contact Function Code
MIDMIN 2 MAX 2ID: 366

Code identifying the major duty or responsibility of the person or group named

ARAccounts Receivable Department
G6102
Name
MANMIN 1 MAX 60ID: 93

Free-form name

G6103
Communication Number Qualifier
CIDMIN 2 MAX 2ID: 365

Code identifying the type of communication number

TETelephone
G6104
Communication Number
CANMIN 1 MAX 256ID: 364

Complete communications number including country or area code when applicable

G62

Date/Time

OMax: 5Area: 1Seq: 0500

To specify pertinent dates and times

G6201
Date Qualifier
CIDMIN 2 MAX 2ID: 432

Code specifying type of date

11Shipped on This Date
G6202
Date
CDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

G27

Carrier Detail

OMax: 5Area: 1Seq: 0700

To specify details of the transportation equipment and carrier routing details

G2701
Transportation Method/Type Code
MIDMIN 1 MAX 2ID: 91

Code specifying the method or type of transportation for the shipment

HCustomer Pickup
LContract Carrier
MMotor (Common Carrier)
G2705
Routing
CANMIN 1 MAX 35ID: 387

Free-form description of the routing or requested routing for shipment, or the originating carrier's identity

G23

Terms of Sale

OMax: 20Area: 1Seq: 0800

To specify the terms of sale

G2301
Terms Type Code
MIDMIN 2 MAX 2ID: 336

Code identifying type of payment terms

01Basic - Normal or standard terms apply
05Discount Not Applicable - A payment date not involving a discount
G2302
Terms Basis Date Code
MIDMIN 1 MAX 2ID: 333

Code identifying the beginning of the terms period

3Invoice Date
G2305
Terms Discount Percent
ORMIN 1 MAX 6ID: 338

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
Terms Discount Due Date
ODTMIN 8 MAX 8ID: 370

Date payment is due if discount is to be earned expressed in format CCYYMMDD where CC represents the first two digits of the calendar year

G2307
Terms Discount Days Due
ON0MIN 1 MAX 3ID: 351

Number of days in the terms discount period by which payment is due if terms discount is earned

G2308
Terms Net Due Date
CDTMIN 8 MAX 8ID: 446

Date when total invoice amount becomes due expressed in format CCYYMMDD where CC represents the first two digits of the calendar year

G2309
Terms Net Days
CN0MIN 1 MAX 3ID: 386

Number of days until total invoice amount is due (discount not applicable)

G2310
Terms Discount Amount
ON2MIN 1 MAX 10ID: 362

Total amount of terms discount

G2311
Discounted Amount Due
ON2MIN 1 MAX 10ID: 391

Amount of invoice due if paid by terms discount due date (total invoice or installment amount less cash discount)

G2312
Amount Subject to Terms Discount
ON2MIN 1 MAX 10ID: 390

Amount upon which the terms discount amount is calculated

G2314
Percent of Invoice Payable
ORMIN 1 MAX 5ID: 342

Amount of invoice payable expressed in percent

G25

F.O.B. Information

OMax: 1Area: 1Seq: 0900

To transmit information pertaining to method of freight payment and transfer of title

G2501
Shipment Method of Payment
MIDMIN 2 MAX 2ID: 146

Code identifying payment terms for transportation charges

CCCollect
PBCustomer Pick-up/Backhaul
PPPrepaid (by Seller)
G2502
F.O.B. Point Code
MIDMIN 2 MAX 2ID: 433

Code identifying type of F.O.B. point

02Destination
04Point of Origin

Loop: N1_loop

Repeat: 10
N1

Name

MMax: 1Area: 1Seq: 1000

To identify a party by type of organization, name, and code

N101
Entity Identifier Code
MIDMIN 2 MAX 3ID: 98

Code identifying an organizational entity, a physical location, property or an individual

BTBill-to-Party
RIRemit To
SFShip From
N103
Identification Code Qualifier
CIDMIN 1 MAX 2ID: 66

Code designating the system/method of code structure used for Identification Code (67)

9D-U-N-S+4, D-U-N-S Number with Four Character Suffix
N104
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

Loop: G72_loop

Repeat: 100
G72

Allowance or Charge

OMax: 1Area: 1Seq: 1400

To specify allowances, charges, or services

G7201
Allowance or Charge Code
MIDMIN 1 MAX 3ID: 340

Code identifying the type of allowance or charge

1Free Goods
2Shrink Allowance
3Count and Recount
4Fuel Allowance
5Allowance Non-Performance
6Pallet Charge
7Ocean Freight Charge
10Drayage
11Blast Freezing
12Communication Expense
13Handling In
14Handling Out
15Labor
16Minimum Charge
17Physical Inventory
18Pick Rate
19Postage
20Slow Freezing
21Storage
22Supplies
23Taking Weights
24Telephone, Telex, Fax
25United States Department of Agriculture (USDA) Inspection
26Unloading
27Withdrawal Line Item Rate
28Direct Product Handling (DPC)
29Price Adjustment Percent (PCT)
30Post Damaged Handling (PDC)
31Reclamation Center Handling (Chute)
32Reclamation Shared Responsibility (SRS)
33Maximum Price Percent (MAX)
34Minimum Price Percent (MIN)
35Conversion Allowance
40Slip Sheet Unloading Allowance
41Terms Allowance
42Central Buy
43Display Allowance
44Early Buy Allowance
45New Discount
46New Warehouse
47Price and Marketing Allowance
48Special Buy
50Lump Sum
51Trade Discount
52Quantity Discount
53Freight Allowance
54Pick-up Allowance
55Warehouse Allowance
57Vehicle Load Allowance
58Unsaleable Merchandise Allowance
60Label Allowance
61Handling Allowance
62Freshness/Leaker Allowance
63Floor Stock Protection
64Full Truckload Allowance
65New Item Allowance
66Slotting Allowance
67New Distribution Allowance
68Scanner Allowance
70Allowance for Consignment Merchandise
80Combination Performance and Non-performance
81Direct Plant Ship Allowance
88Mutually Defined
90Performance Allowance
91Glaze Allowance
92In Transit Price Protection
93COOP Credit
94Cigarette Stamping
95Swell
96Grouped Items
97Cents Off
100Advertising Allowance
101Voluntary Price Reduction
105Pallet Allowance
106Show Allowance
107Indirect Customer Allowance
110Adjustment
111Check Adjustment
112Funds Return
113Generic Supply Charge
114Hardware Maintenance Charge
116Media Charge
117Per Claim Charge
118Per Item Media Charge
119Programming Charge
120Service Adjustment
121Software Maintenance Charge
490Goods and Services Credit Allowance
491Tax Credit Allowance
499Other Allowance
501Taxes
502Carrier
503Special Handling
504Freight
505Insurance
506Car Loading
507Switch Charge
508USDA Inspected, Stamping Certification
509Labeling
510Koshering
511Warehouse
512Palletizing
513Enclosure
514Surcharge
515Stopcharge
516Delivery Charge
517Demurrage
518Service Charge
519Less Than Truckload Charge
520Cut
521Paralleling
522Broken Lot
523Special Packaging
524Reel
525Deposit Charge - Resale Item
526Beverage Tax
527Environmental Handling Charge
537State or Province Tax
550Deposit Charge - Non-Resale Item
560Equipment Rental Charge
561Equipment Service Charge
562Inter-warehouse Freight Charge
565Inbound Postage
566Outbound Postage
990Goods and Services Charge
999Other Charges
G7202
Allowance or Charge Method of Handling Code
MIDMIN 2 MAX 2ID: 331

Code indicating method of handling for an allowance or charge

02Off Invoice
06Charge
G7203
Allowance or Charge Number
CANMIN 1 MAX 16ID: 341

The number assigned by a vendor referencing an allowance, promotion, deal or charge

G7205
Allowance or Charge Rate
CRMIN 1 MAX 15ID: 359

Allowance or Charge Rate per Unit

G7206
Allowance or Charge Quantity
CRMIN 1 MAX 10ID: 339

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

G7207
Unit or Basis for Measurement Code
CIDMIN 2 MAX 2ID: 355

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

CACase
G7208
Allowance or Charge Total Amount
CN2MIN 1 MAX 15ID: 360

Total dollar amount for the allowance or charge

G73

Allowance or Charge Description

OMax: 10Area: 1Seq: 1500

To describe the allowance or charge in free-form format

G7301
Free-form Description
MANMIN 1 MAX 45ID: 369

Free-form descriptive text

Loop: G17_loop

Repeat: 9999
G17

Item Detail - Invoice

OMax: 1Area: 2Seq: 0100

To specify the basic and most frequently used line item data for the invoice and related transactions

G1701
Quantity Invoiced
MRMIN 1 MAX 10ID: 358

Number of units invoiced (supplier units)

G1702
Unit or Basis for Measurement Code
MIDMIN 2 MAX 2ID: 355

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

CACase
G1703
Item List Cost
CRMIN 1 MAX 9ID: 237

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

G1704
U.P.C. Case Code
CANMIN 12 MAX 12ID: 438

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
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

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

PIPurchaser’s Item Code
UEU.P.C./EAN Module Code (2-5-5)
UKEAN/UCC - 14
G1706
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

G1710
Number of Units Shipped
CRMIN 1 MAX 10ID: 382

Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set

G1711
Unit or Basis for Measurement Code
CIDMIN 2 MAX 2ID: 355

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

CACase
G69

Line Item Detail - Description

OMax: 5Area: 2Seq: 0200

To describe an item in free-form format

G6901
Free-form Description
MANMIN 1 MAX 45ID: 369

Free-form descriptive text

G20

Item Packing Detail

OMax: 1Area: 2Seq: 0400

To specify packing details of the items shipped

G2004
Weight
CRMIN 1 MAX 10ID: 81

Numeric value of weight

G2005
Unit or Basis for Measurement Code
CIDMIN 2 MAX 2ID: 355

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

LBPound

Loop: G72_loop

Repeat: 100
G72

Allowance or Charge

OMax: 1Area: 2Seq: 0700

To specify allowances, charges, or services

G7201
Allowance or Charge Code
MIDMIN 1 MAX 3ID: 340

Code identifying the type of allowance or charge

47Price and Marketing Allowance
51Trade Discount
499Other Allowance
G7202
Allowance or Charge Method of Handling Code
MIDMIN 2 MAX 2ID: 331

Code indicating method of handling for an allowance or charge

01Bill Back
02Off Invoice
G7203
Allowance or Charge Number
CANMIN 1 MAX 16ID: 341

The number assigned by a vendor referencing an allowance, promotion, deal or charge

G7205
Allowance or Charge Rate
CRMIN 1 MAX 15ID: 359

Allowance or Charge Rate per Unit

G7206
Allowance or Charge Quantity
CRMIN 1 MAX 10ID: 339

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

G7207
Unit or Basis for Measurement Code
CIDMIN 2 MAX 2ID: 355

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

CACase
G7208
Allowance or Charge Total Amount
CN2MIN 1 MAX 15ID: 360

Total dollar amount for the allowance or charge

G73

Allowance or Charge Description

OMax: 10Area: 2Seq: 0800

To describe the allowance or charge in free-form format

G7301
Free-form Description
MANMIN 1 MAX 45ID: 369

Free-form descriptive text

G31

Total Invoice Quantity

MMax: 1Area: 3Seq: 0100

To specify summary details of total items shipped in terms of quantity, weight, and volume, and to specify payment method

G3101
Number of Units Shipped
MRMIN 1 MAX 10ID: 382

Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set

G3102
Unit or Basis for Measurement Code
MIDMIN 2 MAX 2ID: 355

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

CACase
LBPound
G3103
Weight
CRMIN 1 MAX 10ID: 81

Numeric value of weight

G3104
Unit or Basis for Measurement Code
CIDMIN 2 MAX 2ID: 355

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

G3105
Volume
CRMIN 1 MAX 8ID: 183

Value of volumetric measure

G3106
Unit or Basis for Measurement Code
CIDMIN 2 MAX 2ID: 355

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

CFCubic Feet
G3108
Price Bracket Identifier
OANMIN 1 MAX 3ID: 417

Identifier assigned by the vendor for a specific price bracket

G33

Total Dollars Summary

MMax: 1Area: 3Seq: 0200

To specify the total invoice amount, including charges less allowances, before terms discount

G3301
Amount
MN2MIN 1 MAX 15ID: 610

Monetary amount

SE

Transaction Set Trailer

MMax: 1Area: 3Seq: 0300

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
Number of Included Segments
MN0MIN 1 MAX 10ID: 96

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

SE02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

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