EDI
API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Segment
in
X12 Release 003070

G17 Item Detail - Invoice

To specify the basic and most frequently used line item data for the invoice and related transactions
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
358
Quantity Invoiced
Decimal number (R)
Mandatory
1
10
-
Number of units invoiced (supplier units)
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.
Codes (785)
03
Item List Cost
Decimal number (R)
Conditional
1
9
-
Gross unit cost within the appropriate price bracket for a line item
R0314
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
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
Codes (432)
06
Product/Service ID
String (AN)
Conditional
1
48
-
Identifying number for a product or service
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
Codes (432)
08
Product/Service ID
String (AN)
Conditional
1
48
-
Identifying number for a product or service
09
Price Bracket Identifier
String (AN)
Optional
1
3
-
Identifier assigned by the vendor for a specific price bracket
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
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
Codes (785)
12
Price List Number
String (AN)
Optional
1
16
-
Identification number assigned by a vendor to a price list
13
Price List Issue Number
String (AN)
Optional
1
16
-
Number assigned to revised or new issues of a price list
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 and Mapping Guides are provided for marketing purposes and are 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.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.