Kroger
/
Grocery Products Invoice
  • Specification
  • EDI Inspector
Import
Stedi maintains this guide based on public documentation from Kroger. Contact Kroger for official EDI specifications. To report any errors in this guide, please contact us.
Go to EDI Guide Catalog
Kroger logo

X12 880 Grocery Products Invoice

X12 Release 5010

This X12 Transaction Set 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. This transaction set can be used to provide for customary and established grocery industry practice relative to billing details for finished goods in a retail or wholesale consumer market. The transaction set can be used by the supplier or broker organization to request payment from a retailer or wholesaler organization. This transaction set is to be used for standalone detail billing and cannot be used for statement billing or credit/debit adjustments.

Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI samples
    View the latest version of this implementation guide as an interactive webpage
    Powered by
    Build free EDI implementation guides at stedi.com
    Overview
    ISA
    -
    Interchange Control Header
    Max use 1
    Required
    GS
    -
    Functional Group Header
    Max use 1
    Required
    heading
    ST
    0100
    Transaction Set Header
    Max use 1
    Required
    G01
    0200
    Invoice Identification
    Max use 1
    Required
    N9
    0300
    Extended Reference Information
    Max use 10
    Optional
    G62
    0500
    Date/Time
    Max use 5
    Optional
    CAD
    0700
    Carrier Details
    Max use 5
    Optional
    G23
    0800
    Terms of Sale
    Max use 20
    Optional
    G25
    0900
    F.O.B. Information
    Max use 1
    Optional
    0100 Loop
    0200 Loop
    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

    Code identifying the type of information in the Authorization Information

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

    Code identifying the type of information in the Security Information

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

    Code indicating 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
    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
    Min 2Max 2

    Code indicating 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
    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
    YYMMDD format

    Date of the interchange

    ISA-10
    I09
    Interchange Time
    Required
    HHMM format

    Time of the interchange

    ISA-11
    I65
    Repetition Separator
    Required
    Min 1Max 1

    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

    ^
    Repetition Separator
    ISA-12
    I11
    Interchange Control Version Number
    Required

    Code specifying the version number of the interchange control segments

    00501
    Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
    ISA-13
    I12
    Interchange Control Number
    Required
    Min 9Max 9

    A control number assigned by the interchange sender

    ISA-14
    I13
    Acknowledgment Requested
    Required
    Min 1Max 1

    Code indicating sender's request for an interchange acknowledgment

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

    Code indicating 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
    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

    Code identifying a group of application related transaction sets

    GP
    Grocery Products Invoice (880)
    GS-02
    142
    Application Sender's Code
    Required
    Min 2Max 15

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

    GS-03
    124
    Application Receiver's Code
    Required
    Min 2Max 15

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

    GS-04
    373
    Date
    Required
    CCYYMMDD format

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

    GS-05
    337
    Time
    Required
    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
    Min 1Max 9

    Assigned number originated and maintained by the sender

    GS-07
    455
    Responsible Agency Code
    Required
    Min 1Max 2

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

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

    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

    005010
    Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003

    Heading

    ST
    0100

    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

    Code uniquely identifying a Transaction Set

    • The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
    880
    Grocery Products Invoice
    ST-02
    329
    Transaction Set Control Number
    Required
    Min 4Max 9

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

    G01
    0200

    Invoice Identification

    RequiredMax use 1

    To transmit identifying dates and numbers for this transaction set

    Example
    G01-01
    373
    Date
    Required
    CCYYMMDD format

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

    • G0101 is the invoice issue date.
    G01-02
    76
    Invoice Number
    Required
    Min 1Max 22

    Identifying number assigned by issuer

    G01-03
    373
    Date
    Required
    CCYYMMDD format

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

    • G0103 is the date assigned by the purchaser to the purchase order.
    G01-04
    324
    Purchase Order Number
    Required
    Min 1Max 22

    Identifying number for Purchase Order assigned by the orderer/purchaser

    Usage notes

    5 digit PO Number must be returned

    N9
    0300

    Extended Reference Information

    OptionalMax use 10

    To transmit identifying information as specified by the Reference Identification Qualifier

    Example
    N9-01
    128
    Reference Identification Qualifier
    Required
    Min 2Max 3

    Code qualifying the Reference Identification

    N9-02
    127
    Reference Identification
    Optional
    Min 1Max 50

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

    G62
    0500

    Date/Time

    OptionalMax use 5

    To specify pertinent dates and times

    Example
    If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
    G62-01
    432
    Date Qualifier
    Optional
    Min 2Max 2

    Code specifying type of date

    G62-02
    373
    Date
    Optional
    CCYYMMDD format

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

    CAD
    0700

    Carrier Details

    OptionalMax use 5

    To specify transportation details for the transaction

    Example
    At least one of Standard Carrier Alpha Code (CAD-04) or Routing (CAD-05) is required
    CAD-01
    91
    Transportation Method/Type Code
    Optional
    Min 1Max 2

    Code specifying the method or type of transportation for the shipment

    CAD-04
    140
    Standard Carrier Alpha Code
    Optional
    Min 2Max 4

    Standard Carrier Alpha Code

    CAD-05
    387
    Routing
    Optional
    Min 1Max 35

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

    G23
    0800

    Terms of Sale

    OptionalMax use 20

    To specify the terms of sale

    • The G23 segment can be used at the header level or detail level, but not both.
      When it is used at the detail level, there must be at least one occurrence of the G23 segment for each iteration of the G17 segment.
    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
    Min 2Max 2

    Code identifying type of payment terms

    • If G2301 equals "04" (deferred or installment) then either G2313 or G2314 is required and the data in the segment pertains only to the portion of the invoice described in G2313 or G2314. If G2301 equals "11" (elective) then G2304 is required. If G2301 is not equal to "05"' (discount not applicable) then (G2305 or G2310) and (G2306 or G2307) is required. If G2301 equals "ZZ" (other) then G2315 is required. Multiple use of this segment when G2301 equals "04" (deferred or installment) always implies an "AND" relationship. When G2301 equals "06" (mixed) or "11" (elective) an "OR" relationship is always implied.
    G23-02
    333
    Terms Basis Date Code
    Required
    Min 1Max 2

    Code identifying the beginning of the terms period

    G23-03
    282
    Terms Start Date
    Optional
    CCYYMMDD format

    Date from which payment terms are calculated expressed in format CCYYMMDD where CC represents the first two digits of the calendar year

    G23-04
    283
    Terms Due Date Qualifier
    Optional
    Min 2Max 2

    Code identifying the method to be used for payment in conjunction with due date

    G23-05
    338
    Terms Discount Percent
    Optional
    Min 1Max 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

    Usage notes

    If G2305 list a discount% the G2310, 2311, and G2312 are required.

    G23-06
    370
    Terms Discount Due Date
    Optional
    CCYYMMDD format

    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

    G23-07
    351
    Terms Discount Days Due
    Optional
    Min 1Max 3

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

    G23-08
    446
    Terms Net Due Date
    Optional
    CCYYMMDD format

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

    G23-09
    386
    Terms Net Days
    Optional
    Min 1Max 3

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

    G23-10
    362
    Terms Discount Amount
    Optional
    Min 1Max 10

    Total amount of terms discount

    • G2310 is a memo figure requiring specific payment performance and therefore should not be negative.
    G23-11
    391
    Discounted Amount Due
    Optional
    Min 1Max 10

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

    G23-12
    390
    Amount Subject to Terms Discount
    Optional
    Min 1Max 10

    Amount upon which the terms discount amount is calculated

    G25
    0900

    F.O.B. Information

    OptionalMax use 1

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

    Example
    G25-01
    146
    Shipment Method of Payment
    Required

    Code identifying payment terms for transportation charges

    CC
    Collect
    PB
    Customer Pickup/Backhaul
    PP
    Prepaid (by Seller)
    G25-02
    433
    F.O.B. Point Code
    Required

    Code identifying type of F.O.B. point

    02
    Destination
    03
    Plant or Producing Location
    04
    Point of Origin
    G25-03
    434
    F.O.B. Point
    Optional
    Min 1Max 30

    Descriptive name of F.O.B. point

    0100 Loop
    RequiredMax >1
    Variants (all may be used)
    0100Remit To
    N1
    1000

    Party Identification

    RequiredMax use 1

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

    • One occurrence of the N1 loop must be used to identify the party to whom the merchandise was shipped.
    Example
    At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
    If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
    N1-01
    98
    Entity Identifier Code
    Required

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

    BT
    Bill-to-Party
    SF
    Ship From
    ST
    Ship To
    N1-02
    93
    Name
    Optional
    Min 1Max 60

    Free-form name

    N1-03
    66
    Identification Code Qualifier
    Optional

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

    9
    D-U-N-S+4, D-U-N-S Number with Four Character Suffix
    N1-04
    67
    Identification Code
    Optional
    Min 2Max 80

    Code identifying a party or other code

    • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
    N3
    1200

    Party Location

    OptionalMax use 2

    To specify the location of the named party

    Example
    N3-01
    166
    Address Information
    Required
    Min 1Max 55

    Address information

    Usage notes

    Ralphs must have Vendor remittance information.

    N3-02
    166
    Address Information
    Optional
    Min 1Max 55

    Address information

    Usage notes

    When sending N101 = ‘RI’; you must send N301

    N4
    1300

    Geographic Location

    OptionalMax use 1

    To specify the geographic place of the named party

    Example
    N4-01
    19
    City Name
    Optional
    Min 2Max 30

    Free-form text for city name

    • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
    N4-02
    156
    State or Province Code
    Optional
    Min 2Max 2

    Code (Standard State/Province) as defined by appropriate government agency

    • N402 is required only if city name (N401) is in the U.S. or Canada.
    N4-03
    116
    Postal Code
    Optional
    Min 3Max 15

    Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

    Usage notes

    When sending N101 = ‘RI’; you must send N401, N402 and N403 When sending N101

    0100 Remit To
    RequiredMax >1
    Variants (all may be used)
    01000100 Loop
    N1
    1000

    Party Identification

    RequiredMax use 1

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

    • One occurrence of the N1 loop must be used to identify the party to whom the merchandise was shipped.
    Example
    At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
    If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
    N1-01
    98
    Entity Identifier Code
    Required

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

    RI
    Remit To
    N1-02
    93
    Name
    Optional
    Min 1Max 60

    Free-form name

    N1-03
    66
    Identification Code Qualifier
    Optional

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

    9
    D-U-N-S+4, D-U-N-S Number with Four Character Suffix
    N1-04
    67
    Identification Code
    Optional
    Min 2Max 80

    Code identifying a party or other code

    • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
    N3
    1200

    Party Location

    OptionalMax use 2

    To specify the location of the named party

    Example
    N3-01
    166
    Address Information
    Required
    Min 1Max 55

    Address information

    Usage notes

    Ralphs must have Vendor remittance information.

    N3-02
    166
    Address Information
    Optional
    Min 1Max 55

    Address information

    Usage notes

    When sending N101 = ‘RI’; you must send N301

    N4
    1300

    Geographic Location

    OptionalMax use 1

    To specify the geographic place of the named party

    Example
    N4-01
    19
    City Name
    Required
    Min 2Max 30

    Free-form text for city name

    • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
    N4-02
    156
    State or Province Code
    Required
    Min 2Max 2

    Code (Standard State/Province) as defined by appropriate government agency

    • N402 is required only if city name (N401) is in the U.S. or Canada.
    N4-03
    116
    Postal Code
    Required
    Min 3Max 15

    Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

    Usage notes

    When sending N101 = ‘RI’; you must send N401, N402 and N403 When sending N101

    0200 Loop
    OptionalMax >1
    G72
    1400

    Allowance or Charge

    RequiredMax use 1

    To specify allowances, charges, or services

    Usage notes

    Segment usage is optional but when sending adhere to the requirements. At header level for G72, G7208 is preferred, not G7205. Please include a minus sign in the element if the allowance is to be subtracted from the invoice.

    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
    Only one of Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent, Decimal Format (G72-09) may be present
    If either Percent, Decimal Format (G72-09) or Dollar Basis For Percent (G72-10) is present, then the other is required
    G72-01
    340
    Allowance or Charge Code
    Required

    Code identifying the type of allowance or charge

    51
    Trade Discount
    52
    Quantity Discount
    54
    Pickup Allowance
    80
    Combination Performance and Non-performance
    90
    Performance Allowance
    95
    Swell
    97
    Cents Off
    501
    Taxes
    504
    Freight
    526
    Beverage Tax
    G72-02
    331
    Allowance or Charge Method of Handling Code
    Required

    Code indicating method of handling for an allowance or charge

    02
    Off Invoice
    06
    Charge to be Paid by Customer
    G72-05
    359
    Allowance or Charge Rate
    Optional
    Min 1Max 15

    Allowance or Charge Rate per Unit

    G72-06
    339
    Allowance or Charge Quantity
    Optional
    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
    Min 2Max 2

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

    G72-08
    360
    Allowance or Charge Total Amount
    Optional
    Min 1Max 15

    Total dollar amount for the allowance or charge

    G72-09
    332
    Percent, Decimal Format
    Optional
    Min 1Max 6

    Percent given in decimal format (e.g., 0.0 through 100.0 represents 0% through 100%)

    • G7209 is the allowance or charge percent.
    G72-10
    828
    Dollar Basis For Percent
    Optional
    Min 1Max 9

    Dollar basis to be used in the percent calculation of the allowance, charge or tax

    G73
    1500

    Allowance or Charge Description

    RequiredMax use 10

    To describe the allowance or charge in free-form format

    Example
    G73-01
    369
    Free-form Description
    Required
    Min 1Max 45

    Free-form descriptive text

    Usage notes

    Required if G72 at header level is sent.

    Detail

    0300 Loop
    OptionalMax >1
    G17
    0100

    Item Detail - Invoice

    RequiredMax use 1

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

    • Either the 0300 loop or the 0400 loop must be used, but both loops cannot be used within a single transaction set.
    Usage notes

    G1710 should contain number of cases & G1711 = CA

    Case Cost and Case U.P.C/GTIN are required for processing.

    Random weight info:
    G1701 should represent total weight to be invoiced.
    G1702 should be sent as LB
    G1710 REQUIRED when G1702 is other than CA, send # of cases
    G1711 should be CA qualifier.

    Example
    At least one of U.P.C. Case Code (G17-04) or Product/Service ID Qualifier (G17-05) is required
    If either Product/Service ID Qualifier (G17-05) or Product/Service ID (G17-06) is present, then the other is required
    If either Product/Service ID Qualifier (G17-07) or Product/Service ID (G17-08) is present, then the other is required
    If either Number of Units Shipped (G17-10) or Unit or Basis for Measurement Code (G17-11) is present, then the other is required
    G17-01
    358
    Quantity Invoiced
    Required
    Min 1Max 15

    Number of units invoiced (supplier units)

    G17-02
    355
    Unit or Basis for Measurement Code
    Required
    Min 2Max 2

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

    • G1702 qualifies G1701.
    G17-03
    237
    Item List Cost
    Optional
    Min 1Max 9

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

    Usage notes

    Case Cost

    G17-04
    438
    U.P.C. Case Code
    Optional
    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)

    Usage notes

    Only one of the G1704 or the G1705 & 06 should be sent.

    G17-05
    235
    Product/Service ID Qualifier
    Optional

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

    Usage notes

    Only one of the G1704 or the G1705 & 06 should be sent.

    UK
    GTIN 14-digit Data Structure
    G17-06
    234
    Product/Service ID
    Optional
    Min 1Max 48

    Identifying number for a product or service

    Usage notes

    GTIN
    Only one of the G1704 or the G1705 & 06 should be sent.

    G17-07
    235
    Product/Service ID Qualifier
    Optional
    Min 2Max 2

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

    G17-08
    234
    Product/Service ID
    Optional
    Min 1Max 48

    Identifying number for a product or service

    G17-10
    382
    Number of Units Shipped
    Optional
    Min 1Max 10

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

    Usage notes
    # Cases shipped
    G17-11
    355
    Unit or Basis for Measurement Code
    Optional

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

    CA
    Case
    G69
    0200

    Line Item Detail - Description

    OptionalMax use 5

    To describe an item in free-form format

    Example
    G69-01
    369
    Free-form Description
    Required
    Min 1Max 45

    Free-form descriptive text

    G20
    0400

    Item Packing Detail

    OptionalMax use 1

    To specify packing details of the items shipped

    Example
    If either Size (G20-02) or Unit or Basis for Measurement Code (G20-03) is present, then the other is required
    G20-01
    356
    Pack
    Optional
    Min 1Max 6

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

    G20-02
    357
    Size
    Optional
    Min 1Max 8

    Size of supplier units in pack

    G20-03
    355
    Unit or Basis for Measurement Code
    Optional
    Min 2Max 2

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

    Usage notes

    G2001 and G2002 are required if the information is not contained in the G69.
    If G2002 is used, you must send the G2003.

    0310 Loop
    OptionalMax >1
    G72
    0700

    Allowance or Charge

    RequiredMax use 1

    To specify allowances, charges, or services

    Usage notes

    G7205 is preferred. If G7208 is sent at G72 detail level, value will be determined by G7208 divided by G1701. However, G7205, G7206, G7207 or G7208 or G7209 and G7210 are required. Please include a minus sign in the element if the allowance is to be subtracted from the invoice.

    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
    Only one of Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent, Decimal Format (G72-09) may be present
    If either Percent, Decimal Format (G72-09) or Dollar Basis For Percent (G72-10) is present, then the other is required
    G72-01
    340
    Allowance or Charge Code
    Required

    Code identifying the type of allowance or charge

    51
    Trade Discount
    52
    Quantity Discount
    54
    Pickup Allowance
    80
    Combination Performance and Non-performance
    90
    Performance Allowance
    97
    Cents Off
    501
    Taxes
    504
    Freight
    G72-02
    331
    Allowance or Charge Method of Handling Code
    Required

    Code indicating method of handling for an allowance or charge

    02
    Off Invoice
    06
    Charge to be Paid by Customer
    G72-05
    359
    Allowance or Charge Rate
    Optional
    Min 1Max 15

    Allowance or Charge Rate per Unit

    Usage notes

    If an allowance, the rate should be negative (-)

    G72-06
    339
    Allowance or Charge Quantity
    Optional
    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
    Min 2Max 2

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

    G72-08
    360
    Allowance or Charge Total Amount
    Optional
    Min 1Max 15

    Total dollar amount for the allowance or charge

    G72-09
    332
    Percent, Decimal Format
    Optional
    Min 1Max 6

    Percent given in decimal format (e.g., 0.0 through 100.0 represents 0% through 100%)

    • G7209 is the allowance or charge percent.
    G72-10
    828
    Dollar Basis For Percent
    Optional
    Min 1Max 9

    Dollar basis to be used in the percent calculation of the allowance, charge or tax

    G73
    0800

    Allowance or Charge Description

    RequiredMax use 10

    To describe the allowance or charge in free-form format

    Example
    G73-01
    369
    Free-form Description
    Required
    Min 1Max 45

    Free-form descriptive text

    Usage notes

    Required if G72 at detail level is sent.

    Summary

    G31
    0100

    Total Invoice Quantity

    RequiredMax use 1

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

    Example
    If either Weight (G31-03) or Unit or Basis for Measurement Code (G31-04) is present, then the other is required
    If either Volume (G31-05) or Unit or Basis for Measurement Code (G31-06) is present, then the other is required
    G31-01
    382
    Number of Units Shipped
    Required
    Min 1Max 10

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

    G31-02
    355
    Unit or Basis for Measurement Code
    Required

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

    • G3102 qualifies G3101.
    CA
    Case
    G31-03
    81
    Weight
    Optional
    Min 1Max 10

    Numeric value of weight

    G31-04
    355
    Unit or Basis for Measurement Code
    Optional

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

    LB
    Pound
    OZ
    Ounce - Av
    G31-05
    183
    Volume
    Optional
    Min 1Max 8

    Value of volumetric measure

    G31-06
    355
    Unit or Basis for Measurement Code
    Optional

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

    CF
    Cubic Feet
    G33
    0200

    Total Dollars Summary

    RequiredMax use 1

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

    Example
    G33-01
    610
    Amount
    Required
    Min 1Max 15

    Monetary amount

    Usage notes

    Net Amount

    SE
    0300

    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
    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
    Min 4Max 9

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

    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
    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
    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
    Min 1Max 5

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

    IEA-02
    I12
    Interchange Control Number
    Required
    Min 9Max 9

    A control number assigned by the interchange sender

    EDI Samples

    SAMPLE with ALL ITEMS Converted to GTINs

    G01*20050110*1729517*20050103*77214~
    N9*BM*123456~
    G62*11*20050110~
    CAD*****ROADWAY~
    G23*05*3*20050110*02****20050131*21**1903914*1903914~
    G25*PP*02*DEST~
    N1*BT*KROGER*9*0079088090000~
    N3*NASHVILLE - RASC*P.O. BOX 305103~
    N4*NASHVILLE*TN*372305103~
    N1*ST*FRED MEYER PUYALLUP WH*9*0079088091501~
    N3*249 VALLEY AVE~
    N4*PUYALLUP*WA*98972~
    N1*RI*FOODS*9*1234567891234~
    G17*52*CA*50.85**UK*10021000340799****10*CA~
    G69*BTR QTR 1LB~
    G17*120*LB*7.92**UK*00021000778699****22*CA~
    G69*TRIM~
    G17*24*LB*7.92**UK*20043000180629****15*CA~
    G69*SC~
    G31*1*CA*2*LB*3*CF~
    G33*4~

    SAMPLE with NO ITEMS Converted to GTINs

    G01*20050110*1729517*20050103*77214~
    N9*BM*123456~
    G62*11*20050110~
    CAD*****ROADWAY~
    G23*05*3*20050110*02****20050131*21**1903914*1903914~
    G25*PP*02*DEST~
    N1*BT*KROGER*9*0079088090000~
    N3*NASHVILLE - RASC*P.O. BOX 305103~
    N4*NASHVILLE*TN*372305103~
    N1*ST*FRED MEYER PUYALLUP WH*9*0079088091501~
    N3*249 VALLEY AVE~
    N4*PUYALLUP*WA*98972~
    N1*RI*FOODS*9*1234567891234~
    G17*52*CA*50.85*002100034079******10*CA~
    G69*BTR QTR 1LB~
    G17*120*LB*7.92*002100077869******22*CA~
    G69*TRIM~
    G17*24*LB*7.92*004300018062******15*CA~
    G69*SC~
    G31*1*CA*2*LB*3*CF~
    G33*4~

    SAMPLE with SOME ITEMS Converted to GTINs

    G01*20050110*1729517*20050103*77214~
    N9*BM*123456~
    G62*11*20050110~ CAD*****ROADWAY~
    G23*05*3*20050110*02****20050131*21**1903914*1903914~
    G25*PP*02*DEST~
    N1*BT*KROGER*9*0079088090000~
    N3*NASHVILLE - RASC*P.O. BOX 305103~
    N4*NASHVILLE*TN*372305103~
    N1*ST*FRED MEYER PUYALLUP WH*9*0079088091501~
    N3*249 VALLEY AVE~
    N4*PUYALLUP*WA*98972~
    N1*RI*FOODS*9*1234567891234~
    G17*52*CA*50.85**UK*10021000340799****10*CA~
    G69*BTR QTR 1LB~
    G17*120*LB*7.92**UK*00021000778699****22*CA~
    G69*TRIM~ G17*24*LB*7.92*004300018062******15*CA~
    G69*SC~
    G31*1*CA*2*LB*3*CF~
    G33*4~

    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.