Message Mapping
User Data Dictionary
AIRIAR - Messaging Rules
- The valid Message Function Codes for an AIRIAR are
- Original (9)
- Change (4)
- Withdraw (50)
- AIRIAR messages must quote a unique Sender Reference. The ICS will use this number and the associated version number to ensure duplicate messages are not processed.
- The version number for an Original (9) message must be set at 1 or greater.
- Before the AIRIAR message is processed at the application level
- All leading and trailing blanks will be stripped;
- Multiple spaces will be compressed;
- Illegal characters will be removed; and
- All nulls will be converted to blanks.
- Any errors in an AIRIAR message will be reported in an AIRIAR Response message (AIRIARR).
- Any advice messages resulting from the AIRIAR message will be reported in an AIRIAR Response message.
- The maximum number of errors and advices that can be reported will be 50. No further errors or advices will be processed once the maximum number allowed for the AIRIARR has been reached.
- A Change to an AIRIAR will be rejected if there is no difference between the Original and the Change AIRIAR.
- Each Change AIRIAR message will be considered to be a new version of the message. For each version of a message the senders reference version number must be unique and incremented from the previous version.
- Change or Withdraw AIRIAR messages for which no original exist will be rejected by the ICS.
- The Withdrawal of an AIRIAR is for the entire record.
- Once an Impending Arrival Report has been created, amended or withdrawn online through the ICS, future processing via EDI will not be permitted.
- Where the Message Function Code is 9 (Original), the valid Line Action Code is I (Insert).
- Where the Message Function Code is 4 (Change) and the Line Action Code is populated, the valid codes are I (Insert), A (Amend) or D (Delete).
- To create a new line record, the Message Function Code is 4 (Change) and the Line Action Code is I (Insert).
- To amend a line record, the Message Function Code is 4 (Change) and the Line Action Code is A (Amend).
- To delete a line record, the Message Function Code is 4 (Change) and the Line Action Code is D (Delete).
AIRIAR - Processing Rules
- The AIRIAR is used by a Carrier or Service Provider to report the expected arrival details of an aircraft.
- The reporting of the Impending Arrival must be made no earlier than a specified time before the estimated date/time of arrival of the aircraft. See
Import Cargo Reporting Timeframes for more detail.
- An AIRIAR is linked to an AIRAAR by the
- Airline Code;
- Flight Number;
- Port of Arrival; and
- Estimated Date of Arrival.
- The AIRIAR will also be linked to one or more Air Cargo Reports (AIRCR). The link will be established using the:
- Airline Code;
- Flight Number;
- Estimated Arrival Date; and
- Port of Arrival.
- An AIRIAR is uniquely identified by
- Airline Code;
- Flight Number;
- Date of Departure from Last Overseas Port; and
- Last Overseas Departure Port.
- The unique identifiers within an AIRIAR cannot be amended. The existing AIRIAR must be withdrawn and a new AIRIAR submitted with the new identifiers supplied.
- The Line Identifier for an AIRIAR is identified by the Port of Arrival.
- The Unique Line Identifier will consist of a combination of the Report Identifier and the Line Identifier.
- The AIRIAR will be rejected if more than 9 Codeshare Flights are reported within the one message.
- An AIRIAR cannot be amended or withdrawn by an external user if a Border Force Officer has created or amended the record online.
- At a minimum, the following attributes are required to withdraw an AIRIAR
- Document Name;
- Sender Reference;
- Sender Reference Version;
- Owner Site Id;
- Message Function Code;
- Airline Code;
- Flight Number;
- Last Overseas Port of Departure; and
- Date of Departure from Last Overseas Port.
- For all amendments to an AIRIAR, the full report with all attributes is required.
- If the withdrawal of an AIRIAR is successful, an Advice is sent to the AIRIAR reporter in an AIRIARR message confirming the successful withdrawal.
- All port references are to be supplied in UNLOCODE format.
- If a codeshare flight is reported within the AIRIAR along with the primary flight, a single AIRAAR can be reported to arrive both flights.
- If a codeshare flight is reported in a separate AIRIAR to the primary flight, a separate AIRAAR must be reported for the codeshare and primary flights.
- When the Cargo Discharge Indicator is set to Yes for a port of arrival, the Discharge CTO Identifier must be supplied.
- If the Country Code for the Port of Arrival is not equal to AU then the AIRIAR will be rejected.
- The Port of Arrival specified must be the same as the Port Code for the Discharge CTO Identifier.
- The Responsible Party Client ID is mandatory for an Original AIRIAR. This is the ABN/CCID of the owner of the information, not the ABN/CCID of the document sender (note that the owner and sender may be the same client).
- The Responsible Party Client ID cannot be changed. The AIRIAR must be withdrawn and a new AIRIAR submitted.
- Up to nine CTO Establishment Ids can be reported for each line however each of these must be reported on separate AIRAAR reports.
Data Dependency Tables
Message Function Code | Action |
---|
ORIGINAL (9) | A new Air Impending Arrival Report with a unique sender's reference. |
CHANGE (4) | A full Air Impending Arrival Report containing changes to attributes excluding attributes contained within the unique business identifier. |
WITHDRAW (50) | A withdrawal of an existing Air Impending Arrival Report. |
Data Dependency Table for Original and Change
The following table models the data elements of the Air Impending Arrival Report Document where the document Message Function Code is considered a "Original" or "Change".
Data Element | ICS Business Requirement | ICS Business Rule |
---|
Document Name | Mandatory | Code is AIRIAR |
Sender Reference | Mandatory | |
Sender Reference Version | Mandatory | |
Message Function Code | Mandatory | See Message Function Code table above. |
Responsible Party Client Id | Mandatory | ABN or CCID of the party for whom the report is made. The Responsible Party is the airline operator for the flight described in this report. |
Overseas Routing Port | Optional | Must be a valid UNLOCODE(s). |
Last Overseas Port of Departure | Mandatory | Must be a valid UNLOCODE. |
Date of Departure from Last Overseas Port | Mandatory | Universal Co-ordinated Time (UTC) in the format CCYYMMDD. |
Time of Departure From Last Overseas Port | Mandatory | Universal Co-ordinated Time (UTC) in the format HHMM. |
Flight Number | Mandatory | No stripping of characters undertaken. |
Codeshare Flight Number | Optional | |
Airline Code | Mandatory | |
Codeshare Airline Code | Optional | |
Aircraft Registration Number | Optional | |
Port of Arrival | Mandatory | Must be a valid UNLOCODE. |
Estimated Date of Arrival | Mandatory | Universal Co-ordinated Time (UTC) in the format CCYYMMDD. |
Estimated Time of Arrival | Mandatory | Universal Co-ordinated Time (UTC) in the format HHMM. |
Discharge CTO Establishment Id | Optional | Establishment must be a licensed Air CTO Premise located in the discharge port. |
Cargo Discharge Indicator | Mandatory | Valid Cargo Discharge Indicators are:
|
Line Action Code | Mandatory | Valid Line Action Codes are:
I (Insert) A (Amend) D (Delete)
|
Data Dependency Tables - Withdrawal
The following table models the data elements of the Air Impending Arrival Report Document where the document Message Function Code is considered a "Withdraw.
Data Element | ICS Business Requirement | ICS Business Rule |
---|
Document Name | Mandatory | Code is AIRIAR |
Sender Reference | Mandatory | |
Sender Reference Version | Mandatory | |
Message Function Code | Mandatory | See Message Function Code table above. |
Last Overseas Port of Departure | Mandatory | Must be a valid UNLOCODE. |
Date of Departure from Last Overseas Port | Mandatory | The local date in the format of CCYYMMDD. Must match the date of departure on the original report. |
Flight Number | Mandatory | No stripping of characters undertaken. |
Airline Code | Mandatory | |
NOTE: for further details in relation to a Business Term, refer to the User Data Dictionary.
V2.3 17 SEP 2004