Skip to content

nmduong15121993/-duongnm-check-cont-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

check-cont-number

This package checks digit of container.

Install

via npm

$ npm install check-cont-number

via yarn

$ yarn add check-cont-number

How is a check digit calculated?

As the check digit is calculated using an algorithm that takes into account both the BIC code and serial number, it is imperative that the check digit be modified when containers are re-marked with a different BIC code.

  • The owner prefix (BIC code): three capital letters of the Latin alphabet to indicate the owner or principal operator of the container.
  • The equipment category identifier: one capital letter as follows:
    • U for all freight containers.
    • J for detachable freight container-related equipment.
    • Z for trailers and chassis.
    • The serial number: six Arabic numerals, left at owner‘s or operator‘s option.
    • The check digit: one Arabic numeral providing a means of validating the recording and transmission accuracies of the owner code and serial number.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published