EDI

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

G50 Purchase Order Identification

To transmit identifying dates and numbers for this transaction set
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
473
Order Status Code
Identifier (ID)
Mandatory
1
1
1
Code identifying purpose of transaction set
Codes (14)
02
Date
Date (DT)
Mandatory
8
8
1
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
G5002 is the date assigned by the purchaser to the purchase order.
03
Purchase Order Number
String (AN)
Mandatory
1
22
1
Identifying number for Purchase Order assigned by the orderer/purchaser
04
Tax Exempt Code
Identifier (ID)
Optional
1
1
1
Code identifying exemption status from sales and use tax
Codes (34)
05
Master Reference (Link) Number
String (AN)
Conditional
1
22
1
Reference number assigned by the sender to relate a transaction set to a master transaction (When associating a group of purchase orders, invoices or other transaction sets, use the master reference (link) number to identify the group and the link sequence number to identify individual transaction sets within the group)
P0506
06
Link Sequence Number
Numeric (N0)
Conditional
6
6
1
A two-part number in the form "SSSTTT" where "SSS" is a sequentially assigned number and "TTT" equals the highest sequential number being used within the associated (linked) group (Leading zeros are required for both "SSS" and "TTT")
07
Purchase Order Type Code
Identifier (ID)
Optional
2
2
1
Code specifying the type of Purchase Order
Codes (82)
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.