G50 Purchase Order Identification

To transmit identifying dates and numbers for this transaction set

Position
Element
Name
Type
Requirement
Min
Max
Repeat
G5001
Order Status Code
Identifier (ID)
Mandatory
1
1
-
Code identifying purpose of transaction set.
If either G5005 or G5006 is present, then the other is required.
G5002
Purchase Order Date
Date (DT)
Mandatory
6
6
-
Date assigned by the purchaser to Purchase Order.
G5003
Purchase Order Number
String (AN)
Mandatory
1
22
-
Identifying number for Purchase Order assigned by the orderer/purchaser.
G5004
Tax Exempt Code
Identifier (ID)
Optional
1
1
-
Code identifying exemption status from sales and use tax.
G5005
Master Reference (Link) Number
String (AN)
Optional
1
22
-
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.)
G5006
Link Sequence Number
Numeric (N0)
Optional
6
6
-
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'.)
G5007
Purchase Order Type Code
Identifier (ID)
Optional
2
2
-
Code specifying the type of Purchase Order.

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.