X12 222 — Cartage Work Assignment
The 222 transmits a cartage work assignment to a local operator: pick-up and delivery in urban zones, last mile, port drayage.
Purpose
The 222 is used by long-haul carriers subcontracting local operations (cartage agents), or by freight forwarders contracting a drayage operator between a port and a nearby warehouse. It carries pick-up and delivery details, weight, pieces, special handling instructions, and the negotiated rate.
It is part of LTL (less-than-truckload) operations and port drayage. Acknowledged by 997; the operator confirmation flows through a 220 (Logistics Service Response) or a 214 (Shipment Status). Billing follows via 210.
Envelope structure
The 222 travels within the three X12 envelope levels (ISA/IEA,
GS/GE with functional group CW, and ST/SE).
Didactic example in release 004010:
ISA*00* *00* *ZZ*LONGHAULCO *ZZ*CARTAGEAGT *260514*0900*U*00401*000000222*0*P*>~
GS*CW*LONGHAULCO*CARTAGEAGT*20260514*0900*1*X*004010~
ST*222*0001~
B1*LONGHAULCO*CW-2026-0042*20260514*A~
N1*SH*ACME WAREHOUSE*92*WH-001~
N3*100 PIER WAY~
N4*OAKLAND*CA*94607*US~
N1*CN*RECEIVING DEALER*92*RC-002~
N3*200 SECOND ST~
N4*OAKLAND*CA*94612*US~
L0*1*4500*N*4*PCS~
AMT*ZZ*350.00~
SE*11*0001~
GE*1*1~
IEA*1*000000222~ Common segments
- Header —
ST,B1(Action: A=Add, D=Delete, C=Change). - Pick-up —
N1*SH(Shipper),N3/N4address,PERcontact. - Delivery —
N1*CN(Consignee),N3/N4,DTMwindow. - Cargo —
L0(Line Item — Quantity and Weight): weight, unit, piece count. - Rate —
AMT*ZZ(negotiated drayage amount). - Summary —
SE.
Common pitfalls
- Chassis split: in port drayage, the 222 must indicate if the chassis is provided by carrier, terminal, or IEP (Intermodal Equipment Provider); without precision, the drayage operator arrives without equipment and bills a dry run.
- Hours of Service: drayage is often short but counted under FMCSA HoS; a 222 with a restrictive pickup window can force detention charged to the shipper.
- Per-diem detention: a container held too long triggers per diem charged to the shipper; the 222 must plan the free time per the terminal contract.
Related transactions
Documentation
The code 222 and the name Cartage Work Assignment are public and listed on x12.org/products/transaction-sets. The complete structure of loops, qualifiers and code lists is distributed by DISA via the proprietary Implementation Guides (TR3). ediverse.io covers only public concepts, the envelope and didactic examples.