Loading

Reference Files

​​​​​​​​​​​The Department provides a service whereby selected reference files and code lists can be retrieved by users on demand. The list of files available is listed below. Users can retrieve some or all of the files.

Each file will be available in two formats which the user can select from. The formats comprise a complete listing file and a difference file. Each time the files are updated a new complete listing and a difference file is made available. The difference or change file will list the changes that have been made since the last update was made to the file. If there have been no changes made to the file then the file will not be updated.

The files will be updated on a daily basis as soon as practicable after midnight.

Users can access the files via a standard HTTPS based file transfer mechanism. The pages are available without the need for user authentication, meaning that they are hosted in the public domain. Users are able to browse to the directories via a standard Web Browser where they can view and save the files individually, or they can script via a HTTP based “get” utility one or all of the files.

Reference File Page Location

The Root directory is located at https://www.ccf.customs.gov.au/reference .

There is a folder for Industry Test and another for Production.

Each of these folders lists contains two other folders each of which contain the complete and change files. The complete files are listed in the Main folder and the change files in the Change folder.

Each folder contains the individual complete and change files plus a compressed file of all of the files in the folder.

Change File History

The history of change files is maintained for six days. The current day plus five further days in the past. The current days files are contained in the Today folder and yesterdays files are in the Today -1 folder and so on to the Today -5 folder.

Each day the change files are moved from one folder to the next until they are eventually cycled out.

Only files that have changed are included in the relevant change folder. Hence files that do not change often, will rarely be seen in the change folders.

File Formats

The Code Lists all have a standard format which is the Code List Standard Format , whereas each Reference File has a specific format and is linked to its respective format file.

File Name Structure

Each file name conforms to the following structure:

'file name'-'environment'-'file group''file type'-'date&time'.txt

where:

  • file name is the name of the file (which is unique for reference files but not code lists)
  • environment is the system environment that the file was sourced from (Q1 is industry test and P1 is production)
  • file group is the principal group that the file belongs to (EE being exports and ED being imports)
  • file type refers to data extraction method (MAIN being a complete extraction of the file and CHNG being an extraction of changes or differences between two complete extractions)
  • date&time refers to the date and time that the file was produced in the format YYMMDDHHMM

A complete example file name is:

XCHGRATE-P1-EDCHNG-0506081259.txt

Please note that code lists can have the same file name. Where the file name is the same the distinguising element is the second character of the file group. For example:

Advice Status is CDLST01 and is distinguished by file group ED whereas Customs Region Codes is alos CDLST01 which is distinguished by file group EE.

Listing of Reference Files

A complete listing of the reference files is shown in the table below. The file name that is the Customs web site is listed as well. Please note that code lists also have the distinguishing file group shown with the file name.

ICS Reference Files
Reference File Type File Name
Advice Status Code ListCDLST01-??-?D
Advice TypeCode ListCDLST02-??-?D
Agency Identifier Code ListCDLST03-??-?D
AHECC Reference FileAHECCSS
AQIS Commodity Reference FileAQSCMDTY
AQIS Commodity Statistical Classification Reference FileAQSCMSTC
AQIS Concern Reference FileAQSCNCRN
AQIS Document Type Reference FileAQSDCMNT
AQIS Entity Reference FileAQSENTIT
AQIS Premises Reference FileAQSPREMS
AQIS Processing Type Reference FileAQSPROCS
AQIS Producer Reference FileAQSPRDCR
Bank Account Owner TypeCode ListCDLST04-??-?D
Berth Code Reference FileBERTH
Characteristic Reference FileCHRCTRST
Cargo CodeCode ListCDLST02-??-?E
Cargo Id Type Code ListCDLST03-??-?E
Cargo Report Type Code ListCDLST08-??-?E
Cargo TypeCode ListCDLST05-??-?D
Channel of Trade TypeCode ListCDLST04-??-?E
Chemical Element Code ListCDLST11-??-?E
Community Protection Profile Reference FileCMNPRPRF
Community Protection Risk Reference FileCMNPTRSK
Community Protection Risk Message Advice Reference FileCMNPTRMA
Community Protection Risk Permit TypeCode ListCDLST06-??-?D
Community Protection Risk Selection TypeCode ListCDLST07-??-?D
Community Protection Risk TypeCode ListCDLST08-??-?D
Confirming Export Type Code ListCDLST05-??-?E
Country CodesCode ListCDLST09-??-?D
CurrencyCode ListCDLST10-??-?E
Currency Country Code ListCDLST09-??-?E
Customs Region CodesCode ListCDLST01-??-?E
Customs Ship Register Reference FileVESSEL
Dumping Exemption TypeCode ListCDLST11-??-?D
Establishment Codes Reference FileESTABMNT
Exchange Rate Reference FileXCHGRATE
Export Dec Cargo Type Code ListCDLST12-??-?E
Export Dec Exception Code Code ListCDLST13-??-?E
Export Goods Type Code ListCDLST14-??-?E
GST Exemption Code Code ListCDLST11-??-?D
Goods Origin CodeCode ListCDLST16-??-?E
Header Amber Reason Type Code ListCDLST12-??-?D
Header Nature Type Code ListCDLST14-??-?D
ICAO Codes Code List
Import Declaration Line Community Protection Risk Check Type Code ListCDLST15-??-?D
Instrument Reference FileINSTRMNT
Instrument Category Reference FileINSCTGRY
Instrument Category Characteristic Reference FileINSCTCHR
Instrument Category Country Reference FileINSCTCRY
Instrument Category Message Advice Reference FileINSCTMSA
Instrument Category Preference Scheme Reference FileINSCTPRS
Instrument Category Tariff Group Reference FileINSCTTRG
Instrument Characteristic Reference FileINSTRCHR
Instrument Country Reference FileINSTRCRY
Instrument Message Advice Reference FileINSTRMSA
Instrument Preference Scheme Reference FileINSTRPRS
Instrument Tariff Group Reference FileINSTRTRG
Instrument TypeCode ListCDLST16-??-?D
Invoice Term Type Code ListCDLST17-??-?D
LCT Exemption Code Code ListCDLST18-??-?D
Line Action CodeCode ListCDLST15-??-?E
Line Amber Reason Type Code ListCDLST19-??-?D
Line Nature Type Code ListCDLST21-??-?D
Lodgement Question Reference FileLGMNTQST
Lodgement Question Type Code ListCDLST22-??-?D
Message Advice Reference FileMSGADVCE
Mode of TransportCode ListCDLST23-??-?D
Permit Requirement Exclusions Reference FilePRMTRQEX
Permit Requirement Reference FilePRMTRQMT
Preference Rule Period Snapshot Reference FilePRRPSNAP
Preference Rule Period Characteristic Reference FilePRRPCHAR
Preference Rule Period Country Reference FilePRRPCTRY
Preference Rule Period Tariff Group Reference FilePRRPTRFG
Preference Scheme Period Snapshot Reference FilePRSPSNAP
Preference Scheme Rule Message Advice Reference FilePRSRMSAD
Preference Scheme Period Country Reference FilePRSPCTRY
Preference Scheme Rule Reference FilePRSCHRUL
Quantity UnitCode ListCDLST26-??-?D
Quantity Unit Conversion Reference FileQNTUTCNV
Refund Reason Reference FileRFNRSNTP
Reporting Party TypeCode ListCDLST18-??-?E
Sea Arrivals Reference FileSEAIMPAR
Statistical Classification Period Characteristic Reference FileSTCPCHAR
Statistical Classification Period Message Advice Reference FileSTCPMSAD
Statistical Classification Period Snapshot Reference FileSTCPSNAP
Tariff Classification Characteristic Reference FileTRFCCHAR
Tariff Classification Concordance Reference FileTRFCCONC
Tariff Classification Message Advice Reference FileTRFCMSAD
Tariff Classification Snapshot Reference FileTRFCSNAP
Tariff Rate Period Snapshot Reference FileTFRPSNAP
Tariff Rate Period Additional Duty Calculation Reference FileTRRPADDC
Tariff Rate Period Characteristic Reference FileTFRPCHAR
Tariff Rate Period Message Advice Reference FileTRRPMSAD
Transaction TypeCode ListCDLST19-??-?E
Treatment Rate Period Additional Duty Calculation Reference FileTRRPADDC
Treatment Rate Period Characteristic Reference FileTRRPCHAR
Treatment Rate Period Message Advice Reference FileTRRPMSAD
Treatment Rate Period Snapshot Reference FileTRRPSNAP
Treatment Snapshot Reference FileTRETSNAP
Treatment Snapshot Country Reference FileTRETSCTY
Treatment Snapshot Tariff Group Reference FileTRETSTGP
Unit of QuantityCode ListCDLST26-??-?E
WET Exemption Code Code ListCDLST27-??-?D

Nov 2024

​​