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

G51 Free Goods

To indicate how much free goods and under what conditions free goods are earned
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
773
Quantity Free
Numeric (N0)
Mandatory
1
9
-
A specific quantity that is offered at no cost when requirements of data element "Quantity Must Purchase" (768) are fulfilled.
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
G5102 qualifies G5101.
Codes (719)
03
Quantity Must Purchase
Numeric (N0)
Mandatory
1
9
-
A specific quantity that must be purchased to qualify for the merchandise indicated in data element "Quantity Free".
04
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
G5104 qualifies G5103.
Codes (719)
05
UPC Case Code
String (AN)
Optional
12
12
-
Code (Universal Product Code - ``UPC'') 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).
06
UPC/EAN Consumer Package Code
String (AN)
Optional
12
12
-
Code (Universal Product Code - UPC) identifying the retail shelf unit. Consists of 2 high order digits identifying the system (U.S. Grocery = 00, 06 or 07, U.S. Drug = 03). The next ten digits are manufacturer ID: 5, Item ID: 5.
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 (307)
08
Product/Service ID
String (AN)
Conditional
1
30
-
Identifying number for a product or service.
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.