Loading

Customs Authority Number

​The following information is provided to Software Developers to allow them to build CAN checking routines to ensure that CANs reported into their systems by third parties meet the Department's reference construction requirements. This will allow the development of check routines for clients receiving CANs, as a pre-check prior to making a report to the Department. These routines will allow the identification of invalidly formed CANs. However, normal processing and validation processes will identify and reject any reported CAN that has not been generated within the Department by the ICS.

A Customs Authority Number (CAN) will be created by the Integrated Cargo System to identify various Export Documents. The Customs Authority Number (CAN) will be applicable to :

  1. Export Declarations: The CAN for Export Declarations is termed the Export Declaration Number (EDN).
  2. Sub-Manifest Reports: The CAN for Sub-Manifest Reports (of type Consolidation or Slot) is termed the Consolidation Reference Number (CRN).
  3. Accredited Client Export Authorities: The CAN for Accredited Client Export Authorities is termed the Accredited Client Export Authority Number (ACEAN).
  4. Periodic Declarations: The CAN for Periodic Declarations is termed the Periodic Declaration Number (PDN).
  5. Main Manifest Reports: The CAN for Main Manifest Reports is termed the Main Manifest Number (MMN).

The above Export Documents (also known as Export Messages) are responsible for the creation of the appropriate CAN, however there are other Export Messages, which reference those CANs. Apart from Amendments or Withdrawals of the Export Documents mentioned above, the other Export Messages, which reference CANs, are :

  1. Warehouse and Depot Notices.
  2. CTO Notices.
  3. Outbound Messages and Unsolicited Messages : Outbound Messages will also incorporate appropriate CANs in the response to the Export Client upon the processing of an Export Document/Message. Various Unsolicited Messages will also reference CANs. For details of Outbound Messages and Unsolicited Messages.
  4. Status Request : Export Document Status will utilise the CAN in a Status Request Message.

Additionally, various Import Documents and Messages will also require the creation and use of Customs Document Identifiers.

CUSTOMS DOCUMENT IDENTIFIER FORMAT

LENGTH AND CHARACTER SET

The CAN is 9 characters long with a format of AAAAAAAAZ where A​​ represents the Sequence Character and Zrepresents the Check Digit Character. The Character Set applicable to the Sequence Characters and Check Digit Character are as follows :

  • A is drawn from the 22 alphanumeric characters that are considered to be unambiguous. That is :

    A, C, E, F, G, H, J, K, L, M, N, P, R, T, W, X, Y, 3, 4, 6, 7, 9
    Note that “S” is not included.
    ·
  • Z is drawn from the 22 characters above plus “S”.

Each of the allowed characters has an associated Character Value and Character Weight. The Character Value and Character Weight is shown in Table One below.

Character Value and Character Weight for Characters in the CAN
CharacterACEFGHJKLMNPRTWXY34679S
Character Value1234567891011121314151617181920212223
Character Weight149416222116191211371512318102051780

Note : As stated previously, Character “S” is used in the Check Digit Character Position only.

Each of the Character Positions of the CAN has an associated Position Weight. The Position Weight is shown in the below.

Position Weight for Character Positions in the CAN
Left Most CharacterRight Most CharacterCheck Digit Character
Index of Position123456789
Position Weight326859471

CAN SEQUENCE CHARACTERS  

The Character Value (see Table: Character Value and Character Weight for Characters in the CAN) of each of the first eight characters (termed the Sequence Characters) of the CAN form a number with a ‘base of 23’. In these positions of the CAN the Character Value of 0 (zero) never appears because no character has such a value, and the Character Value of 23 never appears because the ‘base of 23’ allows values only up to 22.

The range of Sequence Characters is AAAAAAAA through to 99999999. The range has to take into account the absence of the excluded (ambiguous) characters.

CAN CHECK DIGIT CHARACTER

The ninth character of the CAN is the Check Digit Character. It is set using the Character Weight and Position Weight of the first 8 characters (the Sequence Characters) in the CAN using the following procedure :

CAN Check Digit Character
Step Description
1 Using the details in the Table: Character Value and Character Weight for Characters in the CAN and the Table: Position Weight for Character Positions in the CAN , calculate the sum of each of the eight products of each Sequence Character’s Character Weight and Position Weight.
2The sum given by Step 1 is divided by 23 to obtain the remainder.
3The remainder obtained in Step 2 is subtracted from 22 to give a number between 0 and 22 inclusive.
4The Character with a Character Weight that matches the number obtained in Step 3 is the Check Digit Character. Note that the Character “S” may be the Check Digit Character.

The equation encompassing Steps 1, 2 and 3 is :
CAN check digit character equation

CAN EXAMPLES

Example One

  1. The first 8 characters of a Customs Document Identifier are CY46W3XA.

  2. Sum the product of each Characters Weight by the Position Weight : -
    (9*3 + 18*2 + 20*6 + 5*8 +12*5 + 10*9 + 3*4 + 14*7) = 483

  3. Apply a MOD 23 calculation to the total from Step 1 : -
    MOD(483,23) = 0

  4. Subtract the number obtained from Step 2 from 22: -
    22 – 0 = 22

  5. From Table One : Character Value and Character Weight for Characters in the CAN, the Character with a Character Weight that matches the number obtained in Step 3 is the Check Digit Character. The Check Digit Character in this example is “H”. The full nine character Customs Document Identifier is therefore :
    CY46W3XAH

Example Two

The first 8 characters of a Customs Document Identifier are A76GG9FE

  1. Sum the product of each Characters Weight by the Position Weight : -
    (14*3 + 17*2 + 5*6 + 2*8 +2*5 + 8*9 + 16*4 + 4*7) = 296

  2. Apply a MOD 23 calculation to the total from Step 1 :-
    MOD(296,23) = 20

  3. Subtract the number obtained from Step 2 from 22 : -
    22 – 20 = 2

  4. From Table One : Character Value and Character Weight for Characters in the CAN, the Character with a Character Weight that matches the number obtained in Step 3 is the Check Digit Character. The Check Digit Character in this example is “G”. The full nine character Customs Document Identifier is therefore :-
    A76GG9FEG

V1.0 30 MAY 2003