EDI for CAI

CAI accepts GATEIN, GATOUT, WESTIM and WESTIMDT message in the two EDI formats widely used in the container leasing industry, EDIFACT and ANSI. The specifications of these formats are covered in the IICL document IICL TB 002 - Electronic Data Interchange Standards (EDIS).

CAI's EDI requirements are a small subset of the IICL fields. See our document CAI EDI Reporting.

Examples of Valid EDI messages

These examples are not a specification for creating EDI messages;
they are intended to help you recognize the two valid formats.

EDIFACT Gate Move Reporting
Below is an EDIFACT transmission with two GATEIN and one GATOUT messages
UNB+UNOA:1+AUQLDCHRA:ZZ+USSFOCAXA:ZZ+051027:0933+1560'
UNH+CHF917925+GATEIN:0+HANJ004+0'
DTM+ATR+070112:0722'
RFF+ACC+317079'
NAD+LED+USSFOCAXA'
NAD+DED+AUQLDCHRA'
EQF+CON+CAXU:2910410+2210:+MGW:24000:KGM'
ECI+D'
UNT+13+CHF917925'
UNH++GATEIN+HANJ004'
DTM++070112'
RFF+ACC+317079'
NAD+DED+AUQLDCHRA'
EQF++CAXU:2910410'
ECI+D'
UNT'
UNH++GATOUT+TURC102'
DTM++070111'
RFF+REL+205332'
NAD+DED+AUQLDCHRA'
EQF++INBU:5164650'
UNT'
UNZ'

EDIFACT Maintenance Reporting
Below is an EDIFACT transmission with one WESTIM and 14 WESTIMDT messages
UNB+UNOA:1+CAVANCIRA:ZZ+USSFOCAXA:ZZ+051026:1637+1805'
UNH+CAVANCIRA07630+WESTIM:0+MARB001+2'
DTM+ATR+051007'
RFF+ADV+313315'
RFF+EST+CAVANCIRA076302+051007'
RFF+AUT++051026'
RFF+EIR+CAVANCIRA07301'
ACA+USD+STD:0'
ACA+USD+DPP:0'
LBR+39.00'
NAD+LED+USSFOCAXA'
NAD+DED+CAVANCIRA'
NAD+AUT+MARUBA'
CTA+FR+:MK'
EQF+CON+CAXU:7000310+42G1:40x8.5 Passive Vents+MGW:0:KGM'
ERI+SK+MAN:981101+ACEP'
ECI+D'
CUI+TRM:CAVANCIRA:CX+TRM:050930:1550'
CUI++PON:020712+E'
DAM+01+EX10+VRA+ZZ+SK'
WOR+GT+CMT:0:0:0+2'
COS+00+0+0+U+39.00+N'
DAM+02+IX10+VRA+ZZ+SK'
WOR+GT+CMT:0:0:0+2'
COS+00+0.25+0+U+39.00+N'
DAM+03+EX10+PAA+ML+SK'
WOR+MV+CMT:0:0:0+9'
COS+00+0.30+3.00+U+39.00+N'
DAM+04+LB7N+PAA+IR+SK'
WOR+SN+CMT:20.00:20.00:0+2'
COS+00+1.75+24.00+U+39.00+N'
DAM+05+TL7N+PAA+DT+SK'
WOR+SN+CMT:60.00:60.00:0+1'
COS+00+2.50+36.00+U+39.00+N'
DAM+06+TL7N+PAA+DT+SK'
WOR+GS+CMT:30.00:30.00:0+1'
COS+00+0.50+4.00+U+39.00+N'
DAM+07+TR3N+PAA+DT+SK'
WOR+GS+CMT:30.00:30.00:0+1'
COS+00+0.25+3.00+U+39.00+N'
DAM+08+IR9N+LSR+CU+SK'
WOR+RP+CMT:0:0:0+1'
COS+00+0.50+3.50+U+39.00+N'
DAM+09+UR6N+CMA+CU+SK'
WOR+IT+CMT:30.00:0:0+1'
COS+00+1.00+9.00+U+39.00+N'
DAM+10+RG6N+RLA+DT+SK'
WOR+GS+CMT:30.00:0:0+1'
COS+00+0.50+2.00+U+39.00+N'
DAM+11+BX10+FWA+DY+SK'
WOR+WW+CMT:0:0:0+1'
COS+00+1.50+10.00+U+39.00+N'
DAM+12+BR12+FPP+GD+SK'
WOR+SD+CMT:30.00:2.00:0+1'
COS+00+0.25+2.00+U+39.00+N'
DAM+13+DB3N+DHR+CU+SK'
WOR+RP+CMT:0:0:0+1'
COS+00+0.50+6.50+U+39.00+N'
DAM+14+DX23+PAA+ZZ+SK'
WOR+GT+CMT:0:0:0+1'
COS+00+0.25+0+U+39.00+N'
CTO+U+391.95+103.00+0+0+494.95'
TMA+494.95+++++494.95'
TXT+CDX+CWO-A/WWT-A/GCC-N'
UNT+63+CAVANCIRA07630'
UNZ'

ANSI Gate Move and Maintenance Reporting
Below are examples of the four kinds of messages in ANSI format (2 GATEIN, 2 GATOUT, 1 WESTIM and 5 WESTIMDT). These lines are very long. Scroll to the right to see them.
GATEIN
TF        F                  F        F        CLSCLDCD070661315144        CAXU7052057CON40ft 8ft6 GP VENTED           4310D                                                         2005102614:13MKCP015                            /                MGWMTT                      USSFOCAXAT         F         FCLSCLDCDAF                                    TR:3700 MGW:30480 MF:  /                                                                                                                    E 0        20000624BBOLDRINI      FRANK KUCHLER                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
TF        F                  F        F        CLSCLDCD070662315145        INKU2830056CON40ft 9ft6 GP VENTED           4510D                                                         2005102610:58MKCP100                            /                MGWMTT                      USSFOCAXAT         F         FCLSCLDCDAF                                    TR:3890 MGW:30480 MF:  /                                                                                                                    E 0                BBOLDRINI      FRANK KUCHLER                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

GATOUT
TF        F                  F        F        CLSCLDCD070664188752        CAXU4895274CON40ft 9ft6 GP VENTED           4510A                                                         2005102511:37CRTM200                            01/96SK          MGWMTTACEP                  USSFOCAXAT         F         FCLSCLDCDAF                                                                                                                                                                                E Sin Info.        BBOLDRINI      FRANK KUCHLER                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
TF        F                  F        F        CLSCLDCD070665188752        CAXU9550085CON40ft 9ft6 GP VENTED           4510A                                                         2005102418:13CRTM200                            03/98SK          MGWMTTACEP                  USSFOCAXAT         F         FCLSCLDCDAF                                                                                                                                                                                E Sin Info.        BBOLDRINI      FRANK KUCHLER                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

WESTIM
TF        F                  F        F        CLSCLDCD070663O120050930CAXU6105363MOSK100                            CON221020ft 8ft6 GP VENTED           CLSCLDCDA2005092917:440        20031020D         08/99ACEP EBBOLDRINI      FRANK KUCHLER  USSFOCAXAT         F         FCLSCLDCDAF                                    CWO-B                                                                                                                                                                                                             USD       10.00USD                   0MGWMTTSK     30.50     76.80      0.00      0.00    107.30      0.00      0.00      0.00      0.00      0.00      6.00      2.55      0.00      0.00      8.55      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    115.85313150        CLSCLDCD069331                                         20050930                                                                                                                                                                                                                                                      

WESTIMDT
F20051026F        CLSCLDCD070663120050930CAXU6105363                                                           10.0001RM  8MLMCOMUEXXX       0       0        CMT  0.19             1.20UN                                                                                                                                                                                                        
F20051026F        CLSCLDCD070663120050930CAXU6105363                                                           10.0002SN  1COGRSMUDX3N     100       0        CMT  0.45             1.80ON                                                                                                                                                                                                        
F20051026F        CLSCLDCD070663120050930CAXU6105363                                                           10.0003RM  4MLMCOMUIXXX       0       0        CMT  0.11             0.60UN                                                                                                                                                                                                        
F20051026F        CLSCLDCD070663120050930CAXU6105363                                                           10.0004SN  1BRFPPMUBL3N      55     115        CMT  2.75            75.00UN                                                                                                                                                                                                        
F20051026F        CLSCLDCD070663120050930CAXU6105363                                                           10.0005SN  1COGRSMUDT3N      30       0        CMT  0.15             0.75ON                                                                                                                                                                                                        

Special considerations if sending ANSI EDI

If you are going to send us EDI in ANSI format, our system needs to know what kind of message you are sending. If you send a single message in the text of the email, make sure the message type (e.g. GATOUT) appears before the ANSI message begins; a good place is in the email Subject: line. If you put more than one message type in the text of an email, you must have a line that calls out each message type before it begins. See the example above. The message type may be mixed with other text if you wish. For example this line would identify the message as a GATOUT message:
KRYNXDAEAGATOUT2020228 998767212
If you send the ANSI messages as attachments, the same rules apply with the added option of including the message type in the name of the attachment. Note that repair completions must be identified as GATEIN messages.