Unified Grocers

880 Grocery Products Invoice

Grocery Invoice Document Structure

LEVEL / SEGMENT NAME / Req / Max Use / Loop ID / Max Loop
Envelope Header / ISAInterchange Header / M / 1
GSGroup Header / M / 1
Transaction Header / STTransaction Set Header / M / 1
G01 Invoice Identification / M / 1
G62 Date / Time / O / 5
G27 Carrier Detail / O / 5
G23 Terms of Sale / M / 20
G25 F.O.B. Information / O / 1
N1 Name / M / 1 / 0100
N3 Address Information / O / 2 / 0100
N4 Geographic Location / O / 1 / 0100
G72 Allowance or Charge / O / 1 / 0200
G73 Allowance or Charge Description / O / 10 / 0200
Transaction Detail / G17 Item Detail – Invoice / O / 1 / 0300
G69 Line Item Detail - Description / O / 10 / 0300
G72 Allowance or Charge / O / 1 / 0310
G73 Allowance or Charge Description / O / 10 / 0310
G31 Total Invoice Quantity / M / 1
G33 Total Dollars Summary / M / 1
Envelope Trailer / SETransaction Set Trailer / M / 1
GEGroup Trailer / M / 1
IEAInterchange Trailer / M / 1

Grocery Invoice Segments

Segment = G01 Invoice Identification

Level = Header

Usage = Mandatory

Max Use = 1

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G0101 / Invoice Date / M / DT / 8/8
G0102 / Invoice Number / M / AN / 1/22
G0103 / Purchase Order Date / O / DT / 8/8
G0104 / Purchase Order Number / O / AN / 1/22

Segment = G62 Date/Time

Level = Header

Usage = Optional

Max Use = 5

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G6201 / Date Qualifier / C / ID / 2/2
G6202 / Date / C / DT / 8/8

Segment = G27 Carrier Detail - Optional

Level = Header

Usage = Optional – If this segment is sent, the only mandatory element is the G2701.

Max Use = 5

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G2701 / Transport Type Code / M / ID / 1/2
G2702 / Equipment Initial / O / AN / 1/4
G7204 / SCAC / C / ID / 2/4
G7205 / ROUTING / C / AN / 1/35

Segment = G23 Terms of Sale

Level = Header

Usage = Mandatory

Max Use = 20

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G2301 / Terms Type Code / M / ID / 2/2 / 01 – Basic Terms
05 – No Cash Disc.
G2302 / Terms Basis Date Code / M / AN / 1/2
G2303 / Terms Start Date / O / DT / 8/8
G2304 / Terms Due Date Qualifier / O / ID / 2/2
G2305 / Terms Discount Percent / O / ID / 1/6
G2306 / Terms Discount Due Date / O / DT / 8/8
G2307 / Terms Discount Days Due / O / N0 / 1/3
G2308 / Terms Net Due Date / C / DT / 8/8
G2309 / Terms Net Days / C / N0 / 1/3
G2310 / Terms Discount Amount / O / N2 / 1/10
G2311 / Discounted Amount Due / O / N2 / 1/10
G2312 / Amount Subject Terms Disc. / O / N2 / 1/10
G2315 / Free-Form Message / M / AN / 1/60 / This element is mandatory at Unified Western Grocers, Inc. (Terms Description)

Segment = G25 F.O.B. Information - Optional

Level = Header

Usage = Optional

Max Use = 1

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G2501 / Ship Method of Payment / M / ID / 2/2
G2502 / FOB Point Code / M / ID / 2/2
G2503 / TOB Point / O / AN / 1/30

Segment = N1 Name

Level = Header

Usage = Mandatory

Max Use = 1

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
N101 / Entity ID Code / M / ID / 2/3 / UWG requires you to send RE and ST. All others are optional.
N102 / Name / C / AN / 1/30

Segment = N3 Address Information

Level = Header

Usage = Optional

Max Use = 2

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
N301 / Address Information / M / AN / 1/55
N302 / Address Information / O / AN / 1/55

Segment = N4 Geographic Location

Level = Header

Usage = Optional

Max Use = 1

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
N401 / City Name / O / AN / 2/30
N402 / State / O / ID / 2/2
N403 / Postal Code / O / ID / 3/15

Segment = G72 Allowance or Charge

Level = Header

Usage = Optional

Max Use = 1

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G7201 / Allow/Charge Code / M / ID / 1/3
G7202 / Allow/Charge Handl Code / M / ID / 2/2
G7205 / Allow/Charge Rate / C / R4 / 1/15
G7206 / Allow/Charge Quantity / C / R3 / 1/10
G7208 / Allow/Charge Total Amount / C / N2 / 1/15

Segment = G73 Allowance or Charge Description

Level = Header

Usage = Optional

Max Use = 10

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G7301 / Free-Form Description / M / AN / 1/45

Segment = G17 Item Detail - Invoice

Level = Detail

Usage = Optional

Max Use = 1

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G1701 / Quantity Invoices / M / R3 / 1/10
G1702 / Unit/Basis Measure Code / M / ID / 2/2
G1703 / Item List Cost / C / R4 / 1/9
G1704 / UPC Case Code / C / AN / 12/12

Segment = G69 Line Item Detail - Description

Level = Detail

Usage = Optional

Max Use = 5

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G6901 / Free-Form Description / M / AN / 1/45

Segment = G72 Allowance or Charge

Level = Detail

Usage = Optional

Max Use = 1

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G7201 / Allow/Charge Code / M / ID / 1/3
G7202 / Allow/Charge Handl Code / M / ID / 2/2
G7205 / Allow/Charge Rate / C / R4 / 1/15
G7206 / Allow/Charge Quantity / C / R3 / 1/10
G7207 / Unit/Basis Measure Code / C / ID / 2/2
G7208 / Allow/Charge Total Amount / C / N2 / 1/15

Segment = G73 Allowance or Charge Description

Level = Detail

Usage = Optional

Max Use = 10

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G7301 / Free-Form Description / M / AN / 1/45

Segment = G31 Total Invoice Quantity

Level = Summary

Usage = Mandatory

Max Use = 1

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G3101 / Number of Units Shipped / M / R0 / 1/10
G3102 / Unit/Basis Measure Code / M / ID / 2/2
G3103 / Weight / C / R2 / 1/10
G3104 / Unit/Basis Measure Code / C / ID / 2/2
G3105 / Volume / C / R3 / 1/8
G3106 / Unit/Basis Measure Code / C / ID / 2/2

Segment = G33 Total Dollars Summary

Level = Summary

Usage = Mandatory

Max Use = 1

ELEM POS / ELEMENT NAME / RQ / TYP / MIN/MAX / COMMENT
G3301 / Amount / M / N2 / 1/15