X12 transaction guide · Transportation

EDI 222 Cartage Work Assignment

The X12 document that gives a cartage carrier the placement, rating and scheduling information for moving equipment such as containers or trailers.

Sent by
Railroad, ocean carrier, steamship agent or shipper
Received by
Cartage (drayage) carrier
Standard
ANSI ASC X12

What is an EDI 222?

The EDI 222 Cartage Work Assignment is the ANSI X12 transaction set that gives a cartage carrier the placement, rating and scheduling information for moving equipment. Cartage, or drayage, is the short-haul movement of containers and trailers between ramps, terminals, ports and customer facilities.

The 222 tells the drayage company which equipment to move, from where to where, when, and how the move is rated. The cartage carrier accepts or declines it with a 225 response. It is widely used in intermodal rail and port operations, where equipment must move between terminals and customers on tight schedules.

How the EDI 222 worksDiagram of the EDI 222 Cartage Work Assignment. Railroad, ocean carrier, steamship agent or shipper sends it to cartage (drayage) carrier. It usually starts the exchange. It is usually followed by 225 and 997. Inside the ISA, GS and ST envelopes, X12 release 008010 requires, in the heading: SCN (Beginning Segment for Cartage Work Assignment) and detail: the required 2000 loop with PLC (Equipment Placement Information), N7 (Equipment Details) and the required 2200 loop with S5 (Stop-off Details) and the required 2210 loop with N1 (Party Identification). 4 optional loops are listed by their first segment.How the EDI 222 worksCartage Work Assignment: who sends it, where it fits and what the standard marks required1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeEDI 222SENDERRailroad, oceancarrier, steamshipagent or shipperRECEIVERCartage (drayage)carrier997 or 999 acknowledgment back, if the partners agreeUSUALLY FOLLOWED BY225Response to a CartageWork Assignment997FunctionalAcknowledgment2 WHAT X12 RELEASE 008010 REQUIRESInterchange: sender and receiver IDsISA … IEAFunctional group, ID code CEGS … GETransaction set 222ST … SEHEADINGSCNBeginning Segment for Cartage Work Assignment+ 1 optional loop, starting with:N1DETAILRequired loop 2000 · repeats up to 999PLCEquipment Placement InformationN7Equipment DetailsRequired loop 2200 · repeats up to 99S5Stop-off DetailsRequired loop 2210 · repeats up to 1N1Party Identification+ 3 optional loops, starting with:LXLADBlue box: required loop. Optional loops are listed by the segment that starts them; when a loop is used, that first segment is required. Optional segmentsoutside loops are not drawn.Structure: required segments and loops in the X12 008010 listing for the 222. Your trading partner's implementation guide adds its own requirements.
How the EDI 222 worksDiagram of the EDI 222 Cartage Work Assignment. Railroad, ocean carrier, steamship agent or shipper sends it to cartage (drayage) carrier. It usually starts the exchange. It is usually followed by 225 and 997. Inside the ISA, GS and ST envelopes, X12 release 008010 requires, in the heading: SCN (Beginning Segment for Cartage Work Assignment) and detail: the required 2000 loop with PLC (Equipment Placement Information), N7 (Equipment Details) and the required 2200 loop with S5 (Stop-off Details) and the required 2210 loop with N1 (Party Identification). 4 optional loops are listed by their first segment.How the EDI 222 worksCartage Work Assignment: who sends it, whereit fits and what the standard marks required1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeEDI 222SENDERRailroad, oceancarrier,steamship agentor shipperRECEIVERCartage(drayage)carrier997 or 999 acknowledgment back, if the partnersagreeUSUALLY FOLLOWED BY225Response to a Cartage WorkAssignment997Functional Acknowledgment2 WHAT X12 RELEASE 008010 REQUIRESInterchange: sender and receiver IDs (ISA… IEA)Functional group, ID code CE (GS … GE)Transaction set 222 (ST … SE)HEADINGSCNBeginning Segment forCartage Work Assignment+ 1 optional loop, starting with:N1DETAILRequired loop 2000 · repeats upto 999PLCEquipment PlacementInformationN7Equipment DetailsRequired loop 2200 · repeatsup to 99S5Stop-off DetailsRequired loop 2210 ·repeats up to 1N1Party Identification+ 3 optional loops, starting with:LXLADBlue box: required loop. Optional loops are listedby the segment that starts them; when a loop isused, that first segment is required. Optionalsegments outside loops are not drawn.Structure: required segments and loops in the X12008010 listing for the 222. Your trading partner'simplementation guide adds its own requirements.

How to read this diagram: the top row shows who sends the 222, to whom, and which documents usually come before and after it. The lower part shows what X12 release 008010 itself requires: the envelopes around the 222 and the segments and loops the standard marks as required, area by area. Optional loops are listed by the segment that starts them rather than drawn in full. This is the standard's minimum, not a trading partner's requirement: each partner's implementation guide usually makes some optional loops mandatory, restricts the codes and may use a different release.

Expand diagram Download SVG

When it is used

  • Assigning container or trailer moves to a drayage carrier
  • Scheduling deliveries from a rail ramp or port to a customer
  • Arranging empty equipment repositioning

Where it fits in the document flow

This document 222 Cartage Work Assignment

Structure

Mandatory segments in the 222 (X12 release 008010)

The segments X12 release 008010 marks as mandatory at their level, in order. Segments inside optional loops are needed only when the loop is used. This is the standard's requirement, not your trading partner's: each partner's implementation guide names the release it uses, adds the optional segments it requires and restricts the values. The requirement status comes from one published X12 reference listing and has not been checked against a second source.

  • ST
  • SCN
  • N1
  • PLC
  • N7
  • LX
  • AT3
  • S5
  • LAD
  • G61
  • LH1
  • SE

Practical example

The 222 in practice

An intermodal container arrives at a rail ramp outside Chicago for delivery to a distribution center. The intermodal marketing company sends its drayage partner a 222 with the container number, the ramp, the delivery address and appointment window, and the agreed rate. The drayage company accepts with a 225 and schedules a driver.

Implementation

Implementation considerations for the 222

  • Include equipment numbers, appointment windows and last free day where relevant.
  • Match each assignment to a response, and follow up on declined moves quickly.
  • Track demurrage and detention exposure tied to the assignment dates.
  • Keep rates consistent with the drayage invoices that follow.

Need help with the EDI 222?

ECOM maps, tests and monitors X12 documents for your trading partners and integrates them with your ERP.