APL 322 Terminal Operations and Intermodal Ramp Activity
APL · X12 004010
The APL 322 is the terminal operations message reporting container gate and yard activity.
APL’s published 322 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
25 of 25 segments
HEADING
ZC1
Beginning Segment For Data Correction Or Change
pos 001
Optional
max —
Q5
Status Details
pos 002
Required
max —
N7 Looprequired
N7
Equipment Details
pos 003
Required
max —
V4
Cargo Location Reference
pos 004
Optional
max —
DTM
Date/Time Reference
pos 005
Optional
max 2
M7
Seal Numbers
pos 006
Optional
max 5
W09
Equipment and Temperature
pos 007
Optional
max —
W2
Equipment Identification
pos 008
Optional
max —
NA
Cross-Reference Equipment
pos 009
Optional
max 30
GR5
Loading Details
pos 010
Optional
max 10
Y7
Priority
pos 011
Optional
max —
V1
Vessel Identification
pos 012
Optional
max —
R4 Looprequired
R4
Port or Terminal
pos 013
Required
max —
H3
Special Handling Instructions
pos 015
Optional
max 6
N1 Loop
N1
Name
pos 016
Optional
max —
N3
Address Information
pos 017
Optional
max 2
N4
Geographic Location
pos 018
Optional
max —
K1
Remarks
pos 019
Optional
max 2
N9
Reference Identification
pos 020
Optional
max 10
L0 Loop
L0
Line Item - Quantity and Weight
pos 021
Optional
max —
L5
Description, Marks and Numbers
pos 022
Optional
max —
H1
Hazardous Material
pos 023
Optional
max 3
L3
Total Weight and Charges
pos 024
Optional
max 2
ST
Transaction Set Header
pos 010
Required
max —
SE
Transaction Set Trailer
pos 220
Required
max —
Validate your 322
Paste or upload a document and check it against APL’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on APL’s 322 in days, not months
Connect this guide to your accounting system and test with APL yourself, or leave the mapping and the test cycle to us, at no extra charge.