BN/BL Validation

The OceanIO platform validates both BN and BL according to the major Carriers proprietary rules:

Carrier BN/BoL Validation
Maersk/SealandBN/BL must have a length of either 9 or 13 chars depending on whether a prefix is added.
CMA, APL, CNC, ANLBN/BL must have a maximum length of 12 chars.
ONEBN/BL must have a length of either 12 or 16 chars depending on whether a prefixed with ONEY is added.
HapagBN can have a maximum length of 8 chars, and must only consist of numbers.

BL must have a length of 16, and the first 4 characters must be “HLCU”.
MSC + other CarriersNo validation.
COSCOBoL / Booking must only contain numbers.
Any Cosco prefix is allowed.
EvergreenMust only consist of numbers. Prefix allowed
HamburgBN must have a minimum length of 10 chars.
Wan HaiBN must have a length of 10 chars.
ZIMBL can have a maximum length of 16. BoL must start with “ZIMU”, followed by 3 A/N letters, followed by 6-9 numbers.
SinolinesBoL must include a verification in form of a  equipment reference. The format must be “BILL_OF_LADING_NUMBER-EQUIPMENT_REFERENCE”.
BN is not supported 
SM LineBN/BL must have a length of 12 chars.
AliancaBooking numbers for Alianca must contain only letters and numbers, and be of length 10 or 14. Bill of lading numbers for Alianca must contain only letters and numbers, and be of length 12 or 16.

Updated on 14 September, 2026