G17 Item Detail - Invoice

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

Position
Element
Name
Type
Requirement
Min
Max
Repeat
G17-01
Quantity Invoiced
Decimal number (R)
Mandatory
1
10
-
Number of units invoiced (supplier units)
G17-02
Unit or Basis for Measurement Code
Identifier (ID)
Mandatory
2
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
Item List Cost
Decimal number (R)
Conditional
1
9
-
Gross unit cost within the appropriate price bracket for a line item
R0314: At least one of G17-03 or G17-14 is required
G17-04
U.P.C. Case Code
String (AN)
Conditional
12
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)
R0405: At least one of G17-04 or G17-05 is required
G17-05
Product/Service ID Qualifier
Identifier (ID)
Conditional
2
2
-
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
P0506: If either G17-05 or G17-06 is present, then the other is required
G17-06
Product/Service ID
String (AN)
Conditional
1
48
-
Identifying number for a product or service
G17-07
Product/Service ID Qualifier
Identifier (ID)
Conditional
2
2
-
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
P0708: If either G17-07 or G17-08 is present, then the other is required
G17-08
Product/Service ID
String (AN)
Conditional
1
48
-
Identifying number for a product or service
G17-09
Price Bracket Identifier
String (AN)
Optional
1
3
-
Identifier assigned by the vendor for a specific price bracket
G17-10
Number of Units Shipped
Decimal number (R)
Conditional
1
10
-
Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set
P1011: If either G17-10 or G17-11 is present, then the other is required
G17-11
Unit or Basis for Measurement Code
Identifier (ID)
Conditional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
G17-12
Price List Number
String (AN)
Optional
1
16
-
Identification number assigned by a vendor to a price list
G17-13
Price List Issue Number
String (AN)
Optional
1
16
-
Number assigned to revised or new issues of a price list
G17-14
Monetary Amount
Decimal number (R)
Conditional
1
15
-
Monetary amount
G1714 contains the cumulative monetary amount of unsaleable merchandise.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site 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. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.