Message specification

UN/EDIFACT IICL WESTIM Message

Review the WESTIM segment sequence, mandatory fields, repeat counts and valid codes for the IICL EDIFACT directory.

What WESTIM is, and how to exchange it

UNH To head, identify and specify a message. (Max 1) Required

  • S009 – Type of message transmitted
    • 0065 – Code identifying a type of message and assigned by its controlling agency.
      Type: an, Max Length: 6 (Required)
    • 0052 – Version number of message.
      Type: an, Max Length: 3 (Required)
    • 0054 –
      Type: n, Max Length: 3 (Required)
    • 0051 –
      Type: n, Max Length: 2 (Required)
  • S010 –
    • 0070 – Revision number of message
      Type: n, Max Length: 1 (Required)
  • 0062 – Sender’s unique message reference, i.e., estimate, EIR or advice number
    Type: an, Max Length: 14 (Required)
  • 0068 – Key to relate all subsequent transfers of data to the same business file, e.g., customer contract code, etc.
    Type: an, Max Length: 35

DTM To specify date, and/or time, or period. (Max 1) Required

  • 2005 – ATR = Actual Transaction
    Type: an, Max Length: 3 (Required)
    Valid Codes:
    • ATR – Actual Transaction
    • TRM – Termination
    • PON – Previous on-hire
  • 2001 – YYMMDD
    Type: n, Max Length: 6
  • 2002 – HHMM
    Type: n, Max Length: 4
  • 2461 –
    Type: an, Max Length: 3

RFF To specify identifying numbers associated with a message (Max 4) Required

  • C274 – Identification of a reference.
    • 1154 – (From UNH Segment) Estimate Number or Authorization Number or Acceptance Number or Release Number
      Type: an, Max Length: 35 (Required)
  • C274 –
    • 2001 – YYMMDD
      Type: n, Max Length:
    • 2002 – HHMM (24 hour)
      Type: n, Max Length:
  • C282 –
    • 2001 – Start date
      Type: n, Max Length: (Required)
    • 2001 – End date
      Type: n, Max Length:
  • 1153 –
    Type: an, Max Length: 3 (Required)
    Valid Codes:
    • EST – Estimate
    • AUT – Authorization
    • ACC – Acceptance
    • REL – Release
    • EIR – Gate In
    • ADV – Advice

ACA To indicate the labor rate (Max 2)

  • C275 –
    • 6343 –
      Type: an, Max Length:
      Valid Codes:
      • STD – standard (labor, tax materials)
      • DPP – DPP coverage
    • 5004 – Actual amount (up to six digits to the left and two to the right of the decimal)
      Type: n, Max Length:
  • 6345 – eg: USD
    Type: a, Max Length:

LBR To indicate the labor rate (Max 1) Required

  • 8578 – Labor cost per hour (up to six digits to the left and two to the right of the decimal)
    Type: n, Max Length:

NAD To specify the name/address and their related function (Max 9) Required

  • C082 –
    • 3039 – See ISO 9897 Annex J
      Type: a, Max Length: (Required)
    • 1131 –
      Type: an, Max Length:
  • 3035 – Party function within a container transaction
    Type: an, Max Length: (Required)

CTA To identify a person or a department to whoM communication should be directed. (Max 2)

  • C056 –
    • 3413 – Coded name of signer
      Type: an, Max Length: 15
    • 3412 – Text
      Type: an, Max Length: 35
  • 3139 –
    Type: an, Max Length: 2 (Required)
    Valid Codes:
    • TO – Specific recipient
    • FR – Authorized sender

EQF Toidentify a unit of equipment (Max 1) Required

  • C271 –
    • 8114 –
      Type: an, Max Length:
    • 8260 – 6 serial + 1 check
      Type: an, Max Length:
  • C224 –
    • 8155 – ISO Code
      Type: an, Max Length:
    • 8154 – Text
      Type: an, Max Length:
  • C272 –
    • 6153 – eg MGW (Maximum Gross Weight)
      Type: an, Max Length:
    • 6150 –
      Type: n, Max Length:
    • 6410 – eg KGM (Kilograms)
      Type: an, Max Length:
  • C186 – Used in TERMIN
    • 6063 –
      Type: an, Max Length:
      Valid Codes:
      • TOT – Total units
      • OUT – Outstanding units
    • 6060 –
      Type: n, Max Length: (Required)
    • 6410 –
      Type: an, Max Length:
  • 8053 –
    Type: an, Max Length: (Required)
    Valid Codes:
    • CON – Container
    • CHZ – Chassis
    • GEN – Genset
    • REF – Reefer
    • TNK – Tanker

ERI To give additional information on the equipment (Max 1)

  • C276 –
    • 2001 – YYMMDD (01 if no date specified)
      Type: n, Max Length: 6
    • 2002 – HHMM
      Type: n, Max Length: 4
  • 8511 – Main construction material (ISO 9897 Annex E)
    Type: a, Max Length: 2
  • 8580 – YYMM or 'ACEP'
    Type: a, Max Length: 4

ECI To give equipment condition information (Max 1)

  • 8521 – Text
    Type: an, Max Length: 10

CUI To give information about current usage of the equipment (Max 2)

  • C559 –
    • 3227 –
      Type: a, Max Length: 3 (Required)
      Valid Codes:
      • TRM – Termination
      • PON – Previous on-hire
    • 3225 – See ISO 9897 Annex J
      Type: a, Max Length: 9 (Required)
    • 1131 –
      Type: an, Max Length: 2
  • C276 –
    • 2005 –
      Type: a, Max Length: 3
      Valid Codes:
      • ATR – Actual Transaction
      • TRM – Termination
      • PON – Previous on-hire
    • 2001 – YYMMDD
      Type: n, Max Length: 6
    • 2002 – HHMM
      Type: n, Max Length: 4
  • C186 –
    • 6063 – TOT = total units
      Type: an, Max Length: 3
      Valid Codes:
      • TOT – Total units
      • OUT – Outstanding units
    • 6060 –
      Type: n, Max Length: 15
    • 6410 –
      Type: an, Max Length: 3
  • 8533 –
    Type: a, Max Length: 1
    Valid Codes:
    • E – Empty
    • L – Full

Group SG1 (Max 99)

DAM To specify damage including action taken (Max 1)

  • 1082 –
    Type: n, Max Length: 2
  • 8522 – See ISO 9897 Annex C
    Type: an, Max Length: 4
  • 8523 – See ISO 9897 Annex K, L
    Type: a, Max Length: 3
  • 8524 – See ISO 9897 Annex D
    Type: a, Max Length: 2
  • 8525 – See ISO 9897 Annex E
    Type: a, Max Length: 2

WOR To indicate details of work to be executed (Max 1)

  • C858 –
    • 6410 – See ISO 9897 Annex G
      Type: an, Max Length: 3
    • 6168 – This element may be up to 5 digits to the left and 2 digits to the right of the decimal.
      Type: n, Max Length: 8
    • 6140 – This element may be up to 5 digits to the left and 2 digits to the right of the decimal.
      Type: n, Max Length: 8
    • 6008 – Always 0
      Type: n, Max Length: 1
  • 8526 – See ISO 9897 Annex F
    Type: a, Max Length: 2
  • 6060 – Number of same type, size, cost damage within the same damage location area.
    Type: n, Max Length: 3

COS To indicate cost per damage line for each responsibility (Max 1)

  • 8531 – Always '00' (See ISO 9897 Annex G)
    Type: n, Max Length: 2
  • 5533 –
    Type: n, Max Length: 7
  • 5534 – Or repair flat rate per damage line
    Type: n, Max Length: 10
  • 3535 – See ISO 9897 Annex H (and 'X'= not specified)
    Type: a, Max Length: 1
  • 3578 – The format allows for five (5) digits before the decimal point and two (2) digits after the decimal point for this field.
    Type: n, Max Length: 8
  • 3579 – Always N
    Type: a, Max Length: 1

CTO To consolidate a total for each responsibility (Max 5)

  • 3535 – See ISO 9897 Annex H
    Type: a, Max Length: 1
  • 5536 – Hours times rate: The format allows for eight (8) digits before the decimal point and an optional two (2) digits after the decimal point for these fields.
    Type: n, Max Length: 11
  • 5537 – The format allows for eight (8) digits before the decimal point and an optional two (2) digits after the decimal point for these fields.
    Type: n, Max Length: 11
  • 5539 – The format allows for eight (8) digits before the decimal point and an optional two (2) digits after the decimal point for these fields.
    Type: n, Max Length: 11
  • 5538 – All applicable taxes: The format allows for eight (8) digits before the decimal point and an optional two (2) digits after the decimal point for these fields.
    Type: n, Max Length: 11
  • 5544 – Sum of 5536 to 5539 for each party: The format allows for eight (8) digits before the decimal point and an optional two (2) digits after the decimal point for these fields.
    Type: n, Max Length: 11

TAD To give details of a transaction (Max 1)

  • C040 –
    • 3127 – See ISO 9897 Annex J
      Type: a, Max Length: 9
    • 1131 – null
      Type: an, Max Length: 2
    • 3128 – null
      Type: an, Max Length: 35
    • 8213 – Haulier code, See ISO 9897 Annex J
      Type: a, Max Length: 9
  • C214 –
    • 7161 – null
      Type: an, Max Length: 6 (Required)
    • 3055 – null
      Type: an, Max Length: 2
    • 1131 – null
      Type: an, Max Length: 2
    • 8212 – Formatted string: country (2), state (2), license (8), expiration (yy/mm) (4), Inspection needed?(Y/N) (1)
      Type: an, Max Length: 17
    • 8452 –
      Type: an, Max Length: 17
  • C228 –
    • 8265 –
      Type: an, Max Length: 5
    • 8264 –
      Type: an, Max Length: 35

TMA To identify total amounts. (Max 1) Required

  • 5356 – Estimate grand total: The format allows for nine (9) digits before the decimal point and an optional two (2) digits after the decimal point for this field.
    Type: n, Max Length: 15
  • 5360 – null
    Type: n, Max Length: 15
  • 5348 – null
    Type: n, Max Length: 15
  • 5338 – null
    Type: n, Max Length: 15
  • 5358 – null
    Type: n, Max Length: 15
  • 5492 – The format allows for nine (9) digits before the decimal point and an optional two (2) digits after the decimal point for this field.
    Type: n, Max Length: 15
  • 5384 – null
    Type: n, Max Length: 15
  • 5420 – The format allows for only two (2) digits before the decimal and an optional two (2) digits after the decimal point for this field.
    Type: n, Max Length: 15

TXT To give information in addition to that in other segments in the service message, as required. (Max 5)

  • 0077 – CDX
    Type: an, Max Length: 3
  • 0078 – Free text
    Type: an, Max Length: 70 (Required)

UNT To end and check the completeness of a message. (Max 1) Required

  • 0074 – Includes UNH and UNT
    Type: n, Max Length: 6 (Required)
  • 0062 – Must match UNH segment above
    Type: an, Max Length: 14

Sources and further reading