Overview
An ISO 6346 container number consists of 11 characters: a 4-letter owner code (3 letters + equipment category), a 6-digit serial number, and a 1-digit check digit. For example, MSCU1234565 breaks down as owner code MSCU, serial 123456, and check digit 5.
Container number validation is essential for bill-of-lading processing, customs declarations, and terminal operations. A single wrong character can route a container to the wrong yard location or cause customs clearance delays. KabyTech validates container numbers automatically during extraction.
Unlike AWB check digits (modulus-7), container check digits use a modulus-11 algorithm with letter-to-number conversion. This tutorial covers each component and the full validation procedure.
Step 1 — Owner Code (4 Letters)
The first three characters are the owner code, registered with the Bureau International des Containers (BIC). Examples include MSC (Mediterranean Shipping Company), MAE (Maersk), and EGL (Evergreen). The fourth character is the equipment category: U for freight containers, J for detachable equipment, and Z for trailers and chassis.
KabyTech checks extracted owner codes against the BIC registry. Unknown codes are flagged but not rejected, because private and leasing company codes may not appear in the public registry. The equipment category letter is validated to be U, J, or Z.
# Owner code structure # M S C U 1 2 3 4 5 6 5 # └─┬─┘ │ └────┬────┘ │ # BIC cat serial check # # Common owner codes in Thai freight: # MSCU — MSC # MAEU — Maersk # CMAU — CMA CGM # EGLV — Evergreen # OOLU — OOCL # TCLU — Turkon Container Lines