Table of contents
Purchase orders allow companies to exchange data about requests to purchase goods and services with upstream and downstream supply chain trade partners without giving these trade partners access to their serialization system of record. These purchase orders can be used to request specific products and quantities from their Partners and confirm that partners have the requested product and quantities on hand and intend to fulfill the request via a purchase order acknowledgment.
The PO Acknowledgment X12 855 message sends a response to a PO from the seller to the buyer. In addition to confirming the receipt of a new order, the acknowledgment tells the buyer if the PO was accepted, if there are any required changes, or if it was rejected.
These guidelines are unofficial and may not necessarily list all message formatting and element requirements. Contact your TraceLink Services representative for more information about integrating with this message.
- Message Type: MPC_PURCHASE_ORDER_ACK (Purchase Order Acknowledgment)
- X12 Format: 855
- Transform Names:
- B2B_EDI_X12_855_PurchaseOrderAcknowledgment_IB_V6
- B2B_EDI_X12_855_PurchaseOrderAcknowledgment_OB_V5

Input Element | Occurs | Length | Description | Example | |||||
---|---|---|---|---|---|---|---|---|---|
ISA | – | Required. ISA interchange envelope. | – | ||||||
ISA01 | 2/2 | Required. Qualifier for authorization control number in ISA02. Valid values:
| 00 | ||||||
ISA02 | 10/10 | Required. Information used for additional identification or authorization of the interchange sender or the data in the interchange. | – | ||||||
ISA03 | 2/2 | Required. Qualifier for security information in ISA04. Valid values:
| 00 | ||||||
ISA04 | 10/10 | Required. Identifies security information about the interchange sender or data | – | ||||||
ISA05 | 2/2 | Required. Interchange sender partner ID qualifier. Valid values:
| 01 | ||||||
ISA06 | 15/15 | Required. EDI sender ID mapping to file control header and to ServiceLinkId. | 7777776067344 | ||||||
ISA07 | 2/2 | Required. Interchange receiver partner ID qualifier. Valid values:
| 01 | ||||||
ISA08 | 15/15 | Required. EDI receiver ID mapping to file control header. | 888888404358877 | ||||||
ISA09 | 6/6 | Required. Interchange date in 6 character YYMMDD format. | 231020 | ||||||
ISA10 | 4/4 | Required. Interchange time in 4 character HHMM format. | 1420 | ||||||
ISA11 | 1/1 | Required. Repetition separator. Delimiter that separates repeated occurrences of a data element or composite data structure. Must be different than the data element separator, component separator, and segment terminator. | : | ||||||
ISA12 | 5/5 | Required. Interchange control version number. Valid value is 00401 . | 00501 | ||||||
ISA13 | 9/9 | Required. Interchange Control Number for file control header. | 0000000000619827 | ||||||
ISA14 | 1/1 | Required. Interchange level acknowledgment requested. Valid values:
| 0 | ||||||
ISA15 | 1/1 | Required. Indicates whether the interchange is for production, test, or information purposes. Valid values:
| P | ||||||
ISA16 | 1/1 | Required. Component element separator. Delimiter that separates data elements within a composite data structure. Must be different than the data element separator and segment terminator | > | ||||||
GS | – | Required. GS group functional envelope. Child of ISA. Only one GS group expected per interchange. | – | ||||||
GS01 | 2/2 | Required. GS group function code. Valid value is PR – Purchase order acknowledgment. | PR | ||||||
GS02 | 2/15 | Required. Application Sender's Code. | 2222224043588 | ||||||
GS03 | 2/15 | Required. Application Receiver's Code. | TRACELINK | ||||||
GS04 | 8/8 | Required. Current date stamp in 8 character X12 date format YYYYMMDD. | 231020 | ||||||
GS05 | 4/8 | Required. Current time stamp in 6 character X12 time format HHMMSS. | 142000 | ||||||
GS06 | 1/9 | Required. Group Control ID Number. | 619827 | ||||||
GS07 | 1/2 | Required. Responsible Agency Code. Valid value is X . | X | ||||||
GS08 | 1/12 | Required. X12 message version code. Valid value is 004010 . | 005010 | ||||||
ST | – | Required. ST transaction set envelope. Child of GS group. Only one ST transaction expected. | – | ||||||
ST01 | 3/3 | Required. Transaction set identifier code. | 855 | ||||||
ST02 | 4/9 | Required. Transaction set ID number. Counter for each ST segment beginning with 1. | 1 | ||||||
BAK | Beginning segment for Purchase Order Acknowledgment | BAK | |||||||
BAK01 | 2/2 | Transaction purpose code. Valid values:
| 00 | ||||||
BAK02 | 2/2 | Acknowledgment type. Valid values:
| AC | ||||||
BAK03 | 1/22 | Purchase Order number. | 4506733288 | ||||||
BAK04 | 8/8 | Purchase order date YYYYMMDD X12 date format. | 20231020 | ||||||
BAK05 | 1/30 | Release document number. Identifies a release against a Purchase Order. | 4500003288 | ||||||
CUR | – | Purchase order currency. | – | ||||||
CUR01 | 2/3 | Required. Entity identifier code identifying an organizational entity, a physical location, property or individual using the identified currency code. | BY | ||||||
CUR02 | 3/3 | Required. ISO currency code for the country whose currency the charges are specified. | USD | ||||||
REF | – | Purchase order reference information. | – | ||||||
REF01 | 2/3 | Required. Reference identification qualifier. Valid values:
| DM | ||||||
REF02 | 1/50 | Reference identification for the purchase order as specified by the reference identification qualifier. | 009875623 | ||||||
REF03 | 1/80 | Description referenced identifier. | – | ||||||
ITD | – | Terms of sale or deferred terms of sale. | – | ||||||
ITD01 | 2/2 | Terms of sale type code. Identifies type of payment code. ![]()
| 01 | ||||||
ITD02 | 1/2 | Terms of sale basis code. Identifies beginning of the terms of payment code. ![]()
| 3 | ||||||
ITD03 | 1/6 | Percentage of discount available to the purchaser if an invoice is paid on or before the terms of payment discount due date. | 1.25 | ||||||
ITD04 | 8/8 | Discount due date in X12 date format YYYYMMDD. | – | ||||||
ITD05 | 1/3 | Number of days payment is due within discount period to qualify for the discount. | – | ||||||
ITD06 | 8/8 | Terms net due date. Date when the invoice total amount is due in X12 date format YYYYMMDD. | 20231125 | ||||||
ITD07 | 1/3 | Number of days total invoice payment is due where no discount is applicable. | 30 | ||||||
ITD08 | 1/10 | Total amount of terms of sale discount. | – | ||||||
ITD09 | 8/8 | Deferred due date for terms of sale. Refers to deferred payment or percent of invoice payable in X12 date format YYYYMMDD. | 20231215 | ||||||
ITD10 | 1/10 | Deferred amount due for payment. | 55.25 | ||||||
ITD11 | 1/5 | Percent of invoice payable. The amount of the invoice payable expressed as a percentage. | 100.00 | ||||||
DTM | – | Shipping date. Child of HL shipment. | – | ||||||
DTM01 | 3/3 | Required. Date or time qualifier identifying shipment date. ![]()
| 011 | ||||||
DTM02 | 8/8 | Date in CCYYMMDD format for shipment or delivery date of sending party. | 20231125 | ||||||
DTM03 | 4/8 | Time in HHMMSS or HHMM format for shipment or delivery date of sending party. | 1230 | ||||||
DTM04 | 2/2 | Time Zone Code: Valid values:
| 1230 | ||||||
TD5 | – | Carrier Details - Routing. Child of HL shipment. | – | ||||||
TD501 | 1/2 | Routing sequence code describing relationship of a carrier to a specific shipment movement. Valid values:
| O | ||||||
TD502 | 1/2 | Code identifying the type of identifier in TD03. Valid values:
| 2 | ||||||
TD503 | 2/80 | Required. Identifier code as defined by TD02. | ABFS | ||||||
TD504 | 1/2 | Transportation method type code identifying the method or type of transport used for the shipment. Valid values:
| A | ||||||
TD505 | 1/35 | Routing. Free-form description of routing or requested routing for shipment or for originating carrier's identity. | – | ||||||
N1 | – | Name segment loop for:
| – | ||||||
N101 | 2/3 | Required. Entity identifier code for party identifier and address information for:
| ST | ||||||
N102 | 1/60 | Required. Ship to party name . | Wholesale Inc | ||||||
N103 | 1/2 | Required. Identifier code qualifier of ship to party. ![]()
| 11 | ||||||
N104 | 2/80 | Required. Ship to party identifier, as qualified by N103. | 3333331013655 | ||||||
N3 | – | Address. Child of Ship to N1 Name segment. | – | ||||||
N301 | 1/55 | Required. Street address 1. | 555 Neelan Road | ||||||
N302 | 1/55 | Street address 2. | Suite 123 | ||||||
N4 | – | Geographic Location. Child of ship to N1 name segment. | – | ||||||
N401 | 2/30 | City name. | Sacramento | ||||||
N402 | 2/2 | State or province code. Code (standard state/province) as defined by appropriate government agency. | CA | ||||||
N403 | 3/15 | Postal code. Code defining international postal zone code excluding punctuation and blanks (zip code for United States). | 95833 | ||||||
N404 | 2/3 | Country code. | US | ||||||
N405 | 1/2 | SGLN. | – | ||||||
N406 | 1/30 | Origin or Destination Shipping Location ID. SGLN number. | – | ||||||
PER | – | Administrative Communications Contact | – | ||||||
PER01 | 2/2 | Required. Contact function code identifying major duty or responsibility of person or group named as contact. | CN | ||||||
PER02 | 1/60 | Name of the contact person responsible for authenticating the pedigree information. | John Smith | ||||||
PER03 | 2/2 | Communication Number Qualifier identifying the contact person's telephone number or email address. Email address is expected. Valid values:
| EM | ||||||
PER04 | 1/256 | Communication type value associated with PER03. The telephone number of the contact person is expected in this field. | jsmith@manufac.com | ||||||
PER05 | 2/2 | Communication Number Qualifier identifying the contact person's telephone number or email address. Telephone number is expected. Valid values:
| TE | ||||||
PER06 | 1/20 | Communication type value associated with PER05. The email address of the contact person is expected in this field. | +1.516.747.6849 | ||||||
PO1 | – | Required. Baseline item data. | – | ||||||
PO101 | 1/20 | PO line item number. | 000010 | ||||||
PO102 | 1/15 | Required. Quantity of ordered product. | 200 | ||||||
PO103 | 2/2 | Required. Unit of measure for quantity.![]()
| EA | ||||||
PO104 | 1/17 | Unit price per sale able unit for ordered quantity. | 21.25 | ||||||
PO106 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| VN | ||||||
PO107 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||||
PO108 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| IN | ||||||
PO109 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||||
PO110 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| MF | ||||||
PO111 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||||
PO112 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| VC | ||||||
PO113 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | – | ||||||
PO114 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| UK | ||||||
PO115 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | – | ||||||
PO116 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| UP | ||||||
PO117 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | – | ||||||
PO118 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| N4 | ||||||
PO119 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | – | ||||||
PO120 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| FV | ||||||
PO121 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | – | ||||||
PO122 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| N2 | ||||||
PO123 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | – | ||||||
PO124 | 2/2 | Instance 2 product service ID qualifier mapping from global standards enumeration list. Valid values:
| UP | ||||||
PO125 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | – | ||||||
PID | – | SN1- Item details. Child of HL level Item. | – | ||||||
PID01 | 1/1 | Item description type. Valid value is F – Free from. | F | ||||||
PID05 | 1/80 | Item description. | – | ||||||
ACK | – | Line-Item Acknowledgment | – | ||||||
ACK01 | 2/2 | Line item status code. Valid values:
| – | ||||||
ACK02 | 0/15 | Quantity. | – | ||||||
ACK03 | 2/2 | Unit or basis for measurement code. ![]()
| – | ||||||
ACK04 | 3/3 | Date or time qualifier. ![]()
| – | ||||||
ACK05 | 8/8 | Dateformat YYYYMMDD. | – | ||||||
ACK07 | 2/2 | Product or service ID qualifier. Valid value is | SR | ||||||
ACK08 | 1/48 | Product or service ID. | – | ||||||
CTT | – | CTT-Transaction totals | – | ||||||
CTT01 | 1/6 | Required. Total number of line items in the transaction set. | 15 | ||||||
SE | – | Required. ST … SE transaction set trailer envelope. Child of GS group. Only one ST transaction expected. | – | ||||||
SE01 | 1/10 | Required. Total count of segments in ST … SE transaction set including ST and SE segments. | 10 | ||||||
SE02 | 4/9 | Required. Transaction set control number | 1 | ||||||
GE | – | Required. GS … GE functional group trailer envelope. Child of ISA interchange. Only one GS group expected. | – | ||||||
GE01 | 1/6 | Required. Number of transaction sets in functional group | 5 | ||||||
GE02 | 1/9 | Required. Functional group control number | 619827 | ||||||
IEA | – | Required. ISA … IEA interchange control trailer envelope. Only one interchange expected per transmission. | – | ||||||
IEA01 | 1/5 | Required. Number of functional groups in interchange. | 1 | ||||||
IEA02 | 9/9 | Required. Interchange control number. | 0000000000619827 |

ISA*06*YYY *00*xxx *01*ss007PL *ZZ*RECV *120709*1612*^*00501*000619827*0*T*:
GS*PR*2222224043588*TRACELINK*20231020*1420*619827*X*005010
ST*855*0023
BAK*00*AT*PO888123*20230624*RELEASE 123
CUR*BY*USD
REF*CT*CT888123*CT_Description
ITD*01*3*1.25*20231103*10*20231125*25**20231215*5525*100.0
DTM*004*20230111*1220*CS
TD5*B*2*ABFS*A*Desc1
N1*ST*SHIP TO PARTY (WE/SH)*92*0004000050
N3*Central 101*Local, WST-190. E
N4*Stein*GL*4AA332!*CH*ST*SGLN
N1*BY*Wholesale Inc*1*001000285
N3*7956 VICTORY*Suite 2
N4*BASEL*GL*888@002*CH*10*SGLN
PER*CN*John Smith*EM*SmithJohn@Domain.com*TE*6083351580
N1*SU*SUPPLIER/VENDOR (LF/SU)*11*001000286
N3*Stella Maris*Condado Ave 14
N4*San Juan*PR*00 902*US*10*SGLN
PER*CN*John Smith*EM*SmithJohn@Domain.com*TE*6083351580
N1*BT*Wholesale Inc*91*0001000285
N3*7956 VICTORY*Suite 2
N4*BASEL*GL*40&02*CH*10*SGLN
N1*SF*SHIPFROMPARTYNAME*1*0010002869028
N3*Stella Maris*Condado Ave 14
N4*San Juan*PR*00$902*US*10*SGLN
N1*CA*2 CARRIER PARTY (SP)*UL*22200090056
N3*Stree 10*Suite5
N4*2 City*MH*220 00*MX*10*SGLN
PO1*000010*100*PC*21.25**VN*VNDR-PRDTID*MF*MANU-PRDTID*UP*UPC-PRDTID*UK*GTIN-PRDTID*PI*CUST-PRDTID*N4*NDC542-PRDTID*N3*NDC541-PRDTID*N2*NDC532-PRDTID*FV*DIN-PRDTID*N1*NDC442-PRDTID
PID*F****Product Description 001
ACK*AA*100*01*001*20231113**00*ACK08
CTT*15
SE*59*0001
GE*1*619827
IEA*1*000619827
