X12 220 — Logistics Service Response
The 220 is the 3PL's response to a shipper logistics-service request: quoting, capacity confirmation, instruction acknowledgment on a storage, picking, or transport operation.
Purpose
The 220 closes the loop of a logistics service request: a shipper queries a 3PL for an upcoming operation — receiving, put-away, picking, shipping — and the 3PL answers with a 220 that accepts, adjusts, or refuses. The transaction carries the associated quote, the offered capacity window, and the conditions.
The 220 remains a minority pattern in practice because most shipper / 3PL pairs synchronize via their WMS / TMS portals or via API. When the 220 is used, it typically archives the acceptance in the overall EDI chain (auditability).
Envelope structure
The 220 travels in a functional group LR (Logistics Response). Didactic
example in release 004010:
ISA*00* *00* *ZZ*ACME3PL *ZZ*ACMESHIPPER *260514*1500*U*00401*000000220*0*P*>~
GS*LR*ACME3PL*ACMESHIPPER*20260514*1500*1*X*004010~
ST*220*0001~
B5*A*REQ-2026-7000*RESP-2026-7000*20260514*A~
N1*SH*ACME WAREHOUSE 1*92*WH-001~
N1*CN*ACME RETAIL DC 5*92*DC-005~
N1*LS*ACME 3PL INC*92*3PL-077~
LX*1~
L0*1*5000*N**8*PLT**G*PLT~
L5*1*GUITARS AND ACCESSORIES*4421*N~
SE*9*0001~
GE*1*1~
IEA*1*000000220~
The B5 opens the response with the status code (A = Accept), the request
reference and the response reference. The N1 segments identify SH, CN, and
LS (Logistics Service Provider). The LX loops carry the lines (weight,
pallets, commodity) accepted by the 3PL.
Common segments
- Header —
ST,B5(Beginning Segment for Logistics Response),DTM. - Parties —
N1loop (SH, CN, LS). - Lines —
LXloop withL0(Line Item — Quantity and Weight),L5(Description, Marks and Numbers). - Quote —
L1(Rate and Charges) orL3(Total Weight and Charges). - Summary —
SE.
Common pitfalls
- Accept / decline / counter status:
B501distinguishes A, D, C; a counter-offer must clearly restate the new quote, or the shipper will not know whether they have accepted. - Request reference:
B502must echo the exact ID of the original request, otherwise the shipper TMS cannot close the loop. - No automatic commit: a 220 = A does not reserve capacity; an explicit reservation transaction is needed (paired 940/944 in warehousing).
Related transactions
Documentation
The code 220 and the name Logistics Service Response are public and listed on x12.org/products/transaction-sets.