Loading

Customs Client ID Calculation Routines

Customs Client ID (CCID)

The following information is provided to Software Developers to allow them to build CCID checking routines to ensure that CCID's reported into their systems by third parties meet the Department's reference construction requirements.

A CCID will be created by the Integrated Cargo System to identify persons or organisations which do not have or chose not to use an Australian Business Number (ABN).

  1. The format of the Customs Client Identifier (TYPE = CCID) shall be XXX9999999X, where X are alpha characters (excluding B, D, I, O, Q, S, U, V and Z) and 9 are numeric characters (excluding 0, 1, 2, 5 and 8).
  2. The final X is a check digit determined through the check digit algorithm appearing below. CCIDs will be allocated starting at AAA333 3333 followed by the check digit.
  3. Convert each X to a numeric equivalent (from 1 to 17, based on the position in the alphabet of the available characters).
  4. Calculate the check digit as being MOD ((first char + second char*2 + third char*3 + first numeric*4 + second numeric*5 + third numeric*6 + fourth numeric*7 + the fifth*8 + sixth*9 + seventh*10),17)+1.
  5. Convert the result to a numeric position of the available alphas as follows:
    1 = A, 2 = C, 3 = E, 4 = F, 5 = G, 6 = H, 7 = J, 8 = K, 9 = L,
    10 = M, 11 = N, 12 = P, 13 = R, 14 = T, 15 = W, 16 = X,
    17 = Y

Accordingly, the first identifier allocated will be AAA3333333A,
The second identifier allocated will be AAA3333334N,
The 78125th identifier allocated will be AAC3333333F."