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 of Measurement Code
Identifier (ID)
Mandatory
2
2
-
Code identifying the basic unit of measurement.
G1702 modifies G1701.
G17-03
Item List Cost
Decimal number (R)
Mandatory
1
9
-
Gross unit cost within the appropriate price bracket for a line item.
G17-04
UPC Case Code
Identifier (ID)
Conditional
12
12
-
Code (Universal Product Code - "UPC") including two high order digits identifying the "system" (U.S. Grocery = 00; U.S. Drug = 03) Using the U.S. Grocery system, the next ten digits are: Manufacturer (5) Case Code (5).
At least one of G1704 or G1705 must be present.
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).
If either G1705 or G1706 is present, then the other is required.
G17-06
Product/Service ID
String (AN)
Conditional
1
30
-
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).
If either G1707 or G1708 is present, then the other is required.
G17-08
Product/Service ID
String (AN)
Conditional
1
30
-
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.
If either G1710 or G1711 is present, then the other is required.
G17-11
Unit of Measurement Code
Identifier (ID)
Conditional
2
2
-
Code identifying the basic unit of measurement.
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.

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.