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
15
1
Number of units invoiced (supplier units)
G17-02
Unit or Basis for Measurement Code
Identifier (ID)
Mandatory
2
2
1
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
1
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
Number
Numeric (N0)
Optional
1
9
1
A generic number
G1704 is the Coupon Offer Number.
G17-05
Product/Service ID Qualifier
Identifier (ID)
Mandatory
2
2
1
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
G17-06
Product/Service ID
String (AN)
Mandatory
1
80
1
Identifying number for a product or service
G17-07
Product/Service ID Qualifier
Identifier (ID)
Conditional
2
2
1
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
80
1
Identifying number for a product or service
G17-09
Price Bracket Identifier
String (AN)
Optional
1
3
1
Identifier assigned by the vendor for a specific price bracket
G17-10
Number of Units Shipped
Decimal number (R)
Conditional
1
10
1
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
1
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
1
Identification number assigned by a vendor to a price list
G17-13
Price List Issue Number
String (AN)
Optional
1
16
1
Number assigned to revised or new issues of a price list
G17-14
Monetary Amount
Decimal number (R)
Conditional
1
18
1
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.