1 PNRGOV EDIFACT - Implementation Guide 13 1version SECOND
1 PNRGOV EDIFACT - Implementation Guide 13 1version SECOND
INTERCHANGE STANDARDS
Version 13.1
(Approved and published by the WCO/IATA/ICAO API Contact Committee)
October 2013
Revision History
Version Date Author Section Change History
10.1 19May 2010 M Irons Initial Publication – Numbering to be kept in line with the PADIS
EDIFACT MESSAGE STANDARD release schedule
10.1 29Dec 2010 P Heilig Made editiorial changes to segment layouts and example.
11.1 09Jan 2011- A Colbath - Editorial changes based on comments from governments and
27Jul 2011 M. Odgers technical staff
M.Zitkova - Editorial changes based on comments from governments
- Additional editorial changes based on comments from governments
- Agreed changes from the 04-05May11 PNRGOV Working Group.
- Removed business case examples and add them to Appendix
- Editorial changes
- Corrected an error in example 5 of section 5.25.
12.1 27 Jun 2012 M-C Colin/ Agreed changes from 11-12Nov, 14-15Feb12 and 9-10 May12
A. Colbath PNRGOV Working Groups
12.1 17 Jul 2012 M.Zitkova Formatting changes required for the publication
12.1 30 Jul 2012 M. Zitkova Editorial changes
12.1 3 Aug 2012 M. Zitkova Modification of example 3 in 5.28.1 and example 5 in 5.28.2.
13.1 17 Mar 2013 M-C Colin Agreed changes from 14-16 Sep PNRGOV Working Groups
13.1 28 Mar 2013 M. Zitkova Updates to reflect the version and approval status
13.1 May 2013 M. Zitkova Updates made as a result of PNRGOV 07
13.1 Jul 2013 M-C Colin Agreed changes/updates from PNRGOV 07
13.1 July 2013 M Zitkova Formatting and editorial changes required for the publication
PADIS EDIFACT Implementation Guide – Table for Contents
1. INTRODUCTION................................................................................................................................................... 1
1.1. PNRGOV MESSAGE VERSION RELEASE...................................................................................................... 1
1.1.1 PROGRESSION LISTING 1
1.1.2 ERRATA 1
1.2. DOCUMENT STRUCTURE ............................................................................................................................... 2
1.3. HOW TO USE THIS DOCUMENT ..................................................................................................................... 2
1.4. GUIDELINES AND RULES ............................................................................................................................... 3
1.5. CODE SETS ......................................................................................................................................................... 4
1.6. REFERENCES ..................................................................................................................................................... 4
2 MESSAGE RELATIONSHIP ............................................................................................................................... 5
2.1 PNRGOV ............................................................................................................................................................. 5
2.2 GOVREQ ............................................................................................................................................................. 6
3 MESSAGE STRUCTURE ..................................................................................................................................... 7
3.1 MESSAGE SEGMENT DESCRIPTIONS (PNRGOV) .................................................................................................. 8
3.2 PUSH OF PNR DATA TO STATE - (PNRGOV) .................................................................................................... 10
3.3 ACKRES – ACKNOWLEDGEMENT RESPONSE ..................................................................................................... 12
3.4 PNRGOV ADHOC REQUEST (GOVREQ) ......................................................................................................... 13
4 UNITED NATIONS SERVICE SEGMENTS .................................................................................................... 14
4.1 UNA: SERVICE STRING ADVICE.................................................................................................................. 14
4.2 UNB: INTERCHANGE HEADER .................................................................................................................... 16
4.3 UNE: FUNCTIONAL GROUP TRAILER ........................................................................................................ 18
4.4 UNG: FUNCTIONAL GROUP HEADER ........................................................................................................ 19
4.5 UNH: MESSAGE HEADER.............................................................................................................................. 21
4.6 UNT: MESSAGE TRAILER ............................................................................................................................. 23
4.7 UNZ: INTERCHANGE TRAILER .................................................................................................................... 23
5 PADIS RESERVATIONS SUB-GROUP APPROVED SEGMENTS ............................................................. 24
5.1 ABI: ADDITIONAL BUSINESS SOURCE INFORMATION (PNRGOV) ..................................................... 24
5.2 ADD: ADDRESS INFORMATION (PNRGOV) ...................................................................................................... 25
5.3 APD: ADDITIONAL PRODUCT DETAILS (PNRGOV) ................................................................................ 26
5.4 DAT: DATE AND TIME INFORMATION (PNRGOV) .................................................................................. 27
5.5 EBD: EXCESS BAGGAGE DETAILS (PNRGOV).......................................................................................... 28
5.6 EQN: NUMBER OF UNITS ............................................................................................................................. 29
5.7 ERC: APPLICATION ERROR INFORMATION ............................................................................................ 30
5.8 FAR: FARE INFORMATION (PNRGOV)....................................................................................................... 31
5.9 FOP: FORM OF PAYMENT (PNRGOV) ......................................................................................................... 32
5.10 FTI: FREQUENT TRAVELLER INFORMATION (PNRGOV)....................................................................... 33
5.11 IFT: INTERACTIVE FREE TEXT (PNRGOV) ............................................................................................... 34
5.12 LTS: LONG TEXT STRING (PNRGOV) ......................................................................................................... 35
5.13 MON: MONETARY INFORMATION (PNRGOV) ......................................................................................... 36
5.14 MSG: MESSAGE ACTION DETAILS (PNRGOV), (ACKRES)..................................................................... 37
5.15 ORG: ORIGINATOR OF REQUEST DETAILS (PNRGOV) .......................................................................... 38
5.15.1 ORG: Push PNR Data to States - PNRGOV 38
5.15.1 ORG: PNRGOV Adhoc Request - GOVREQ 40
5.16 PTK: PRICING/TICKETING DETAILS (PNRGOV) ...................................................................................... 41
5.17 RCI: RESERVATION CONTROL INFORMATION (PNRGOV) ................................................................... 43
5.18 REF: REFERENCE INFORMATION (PNRGOV) .......................................................................................... 44
5.19 RPI: RELATED PRODUCT INFORMATION (PNRGOV) ............................................................................. 44
5.20 SAC: SOURCE AND ACTION INFORMATION (PNRGOV) ........................................................................ 45
5.21 SRC: SEGMENT REPETITION CONTROL (PNRGOV)................................................................................ 46
5.22 SSD: SEAT SELECTION DETAILS (PNRGOV) ............................................................................................. 47
5.23 SSR: SPECIAL REQUIREMENTS DETAILS (PNRGOV) ............................................................................. 48
5.24 TBD: TRAVELER BAGGAGE DETAILS/ELECTRONIC TICKETING (PNRGOV) ............................................ 50
5.25 TIF: TRAVELLER INFORMATION (PNRGOV) ............................................................................................ 52
5.26 TKT: TICKET NUMBER DETAILS (PNRGOV) ............................................................................................ 53
5.27 TRA: TRANSPORT IDENTIFIER ............................................................................................................................ 54
5.28 TRI: TRAVELLER REFERENCE INFORMATION (PNRGOV) ................................................................... 55
PADIS EDIFACT Implementation Guide – Table for Contents
1 EXAMPLE OF PNRS WITH INFANT, RESERVATION AND CHECK-IN DATA AND UNFORMATTED
HISTORY ........................................................................................................................................................................ 73
3 SIMPLE PNR BOOKED IN ANOTHER SYSTEM (NO PNR HISTORY) .................................................... 76
APPENDIX C – PADIS EDIFACT MESSAGE PROCESSING - BACKGROUND FOR PNRGOV USERS ..... 84
1. INTRODUCTION
The purpose of this document is to describe the recommended usage of the Passenger and Airport Data Interchange
Standards PNRGOV EDIFACT Message Standards. These messages are intended to facilitate the exchange of data
relevant to government requirements on PNR data and Airlines reservation systems.
This document was developed, and will be maintained, by the IATA/ATA PNRGOV Sub-Group in coordination with
the Passenger and Airport Data Interchange Standards Reservations Sub-Group.
This will be a living document and will be updated as necessary. If there are any changes to the message structure, the
change process defined in the PNRGOV Principles Document should be followed.
Message structure change requires a new version of the message and new version of the Implementation Guide.
Minor changes can be kept in the Errata document attached to a specific release of the Implementation Guide
and eventually incorporated into the next new release and new version of the same.
Any text pending formal approval by the WCO API Contact Committee and/or the PADIS Board will be shaded
in grey.
This table lists all current PNRGOV EDIFACT messages and shows in which PNRGOV Implementation Guide
document release a message was modified from its previous publication. A bold version release shows the first
publication of that message. A minus "-" sign indicates the message was not modified in that particular version release of
the Message Standards.
1.1.2 ERRATA
An ERRATA sheet will be maintained for each release and will be stored on the IATA website along with the
corresponding Implementation Guide.
Each entry in the Errata sheet will include a sequence number, date included in ERRATA, Implementation
Guide paragraph reference, current text and/or problems description for charts, required change in text and/or
change description for charts, reason for change, and who submitted the ERRATA item. .
Once an entry is made in Errata sheet, the PNRGOV group will receive a notification.
The Errata sheet is intended only for minor corrections. Issues which require debate by the group must be
submitted, together with a proposed solution, as formal agenda items to a PNRGOV Working Group meeting.
Once changes are approved by the PNRGOV group, the group will notify WCO of changes made to the
PNRGOV implementation guide.
1
PADIS EDIFACT Implementation Guide – PNRGOV Message
Introduction
Contains an overview and guidelines for use of the document.
Message Relationships
Describes the relationships between query messages and the expected response message for the different business
functions listed. The function of a message can be modified, in some cases, by the use of data element 1225 in a MSG
segment. This will be indicated as such in the message relationship section.
Message Structure
Shows in diagrammatic format each approved PADIS PNRGOV message. The diagrams show the construction of the
message and the data segments used. The hierarchy of the segments is indicated by means of data levels.
Service Segments
Refer to the Architecture for IATA Interactive EDIFACT, and the ISO 9735 for United Nations Service Segments
standards. For use in the PADIS Reservations environment, the service segments including the UNH have been
described in greater detail in Section 4.
Data Segments
Lists in alphabetical order all data segments that are part of the messages contained in this document. For each segment
there will be a list of the composites and data elements used to construct the segment and an indication of how these
elements are commonly used. To cater for different business requirements, there may be multiple definitions of the same
data segment.
Examples
For every business function listed there will be at least one example of the data to be transmitted. No response is
anticipated except for an acknowledgement that the message has been received.
The IATA PNRGOV Principles Document contains a recap of the governments requirements. Additionally, IATA
maintains a copy of the legislation on their API-PNR World Tracker extranet site. Use the following link to access this
information:
Link to register for access to the FAL extranet site containing the API-PNR World Tracker:
http://www2.iata.org/registration/getemailpage.aspx?siteurl=facilitation
Appendices
As necessary, appendices will be added to the Implementation Guide.
Appendix A – contains details concerning the UN CONTROL message (Syntax and Service Report).
Appendix B – contains detailed business examples from a number of airlines.
Appendix C – contains PADIS EDIFACT Message Processing - Background for PNRGOV Users
The guide contains complete description of the Message Structure, segments and elements with notes and examples.
2
PADIS EDIFACT Implementation Guide – PNRGOV Message
2. If the information is the same for multiple business functions, the data segment will not be repeated.
3. If an 'N/A' appears in the 'Mandatory/Conditional' column, it indicates that the composite element or data
element is conditional in the PADIS Message Standards, but for this function no applicable use has been
identified. In such cases, all columns of the chart are completed, except “Common Usage”, “Code Set” and
“Comments”. “Common Usage” and “Code Set” columns are marked “--” and the “Comments” column is left
blank. If a composite is conditional and all component data elements are N/A, the composite is shown as N/A.
If the composite is N/A, then all the component data elements will be shown as N/A.
4. If a composite or data element is defined as conditional in the IATA approved message but must be mandatory
to complete a business function, the composite or data element will be indicated with a M for mandatory along
with an asterisk (*). The M* will indicate the status differs from the PADIS Message Standard.
5. All elements marked as “C” (conditional) or as “M” or “M*” (mandatory) will have all columns of the charts
completed as appropriate. When an element has multiple occurrences and is marked as M or M*, the first
occurrence is considered mandatory and subsequent occurrences are considered conditional.
6. Where a State’s requirements differ for “Conditional” fields from the standard implementation guide, a separate
supplemental document will be provided by the State(s) detailing which “Conditional” fields are “Mandatory”
for that State. Provisions in paragraphs 1.5.1 and 1.5.2 of the “Principles, Functional and Business
Requirements PNRGOV” shall be respected. These differing requirements will not change the structure of the
message.
7. Where a State’s requirements differ from the standard implementation guide, a separate supplemental document
will be provided by the State(s). This will not change the structure of the message.
8. If an element is a coded value, “Yes” is indicated in the “Code Set” column. If it is not a coded value, the
column is marked “--”.
9. In general, dates and times are expressed in local time except where specifically noted; such as, the UNB where
the time will be expressed in Greenwich Mean Time (GMT) or Universal Time Coordinated (UTC). Where
GMT is specified in the examples, UTC equally applies. However, due to different systems criteria, the subject
of date/times in various fields from various sources (e.g., centralized reservations and DCS for local vs.
centralized system) should be addressed in the bilateral discussions between governments/airlines/system
providers. .
10. The ”Field Type” refers to the field length as defined within the message and should match the value indicated
in the most current PADIS Message Standards document.
11. “Common Usage” refers to the length and characteristics typically used to define that data element. This
information is used to show how a data element should be used for this segment within the travel industry.
Because existing data elements were used to create certain elements, the ”Field Type” characteristics exceed the
actual requirements of the data element. “Common Usage” exists to better define the characteristics of the data
element. This column should be consistent with similar elements.
12. The “Comments” column will use consistent wording for the same elements across the segments if they are
used in the same way.
13. Each segment is followed by “Notes” (if applicable) and by segment examples. However, “Notes” are only
included if they are necessary to explain the usage.
3
PADIS EDIFACT Implementation Guide – PNRGOV Message
14. Each segment and message will have enough examples to show the standard usage as defined by the PADIS
group.
15. For numeric fields, see reference Part 1 ISO 9735 Syntax Rules, Section 10.
16. The full stop ( period .) or the comma (,) is allowed to represent the decimal mark. Either is acceptable within
the interchange but both cannot be used in the same interchange.
17. The length of a numeric data element value shall not include the minus sign (-), the decimal mark (.),
or the exponent mark (E or e).
18. When a decimal mark is used, there shall be at least one digit after the decimal mark.
19. When a segment appears at more than one level, it is reflected only once, with composites and data elements
conditional as applicable.
20. The first segment in a group is mandatory and is the segment that triggers the group. Some trigger segments
may be exchanged without data. In such cases these are noted with a pound (#) sign in the message diagram
segment list in Section 3.2
21. For the purpose of the PNRGOV documentation all Airlines are referred to as Carriers and all governments are
referred to as States.
Codes used in codesets are used to define the values for the relevant business item. All codesets utilized in the
PNRGOV message are defined in the PASSENGER AND AIRPORT DATA INTERCHANGE STANDARDS -
Codeset Directory.
If additional codes are required, requests should be submitted to the PADIS Reservation Sub-group for approval prior to
them being submitted in the PADIS Board vote for inclusion in the standards.
1.6. REFERENCES
The following documents may be used as additional references to the PNRGOV Iimplementation Guide:
Definitions of common terms used within the airline industry can be found on the IATA website by accessing the IATA
website as follows:
4
PADIS EDIFACT Implementation Guide – PNRGOV Message
2 MESSAGE RELATIONSHIP
This Section describes the possible query and response relationship of the messages developed for PNRGOV function.
The following convention is used to represent the possible relationships between messages; a solid line ( ______ )
indicates the primary relationship; and a broken line (-------) indicates an optional relationship.
The message diagram depicts the message relationship by showing the query origin in the top box and the response
origin in the bottom box.
2.1 PNRGOV
The following messages are used by airlines, airline service suppliers and States to exchange PNR related data
information.
Note: Data element 1225 of composite C302 in segment MSG defines the business function of the message.
Message Functions:
The ACKRES message is only sent where there is a Bilateral Agreement between Carrier and State to do so.
5
PADIS EDIFACT Implementation Guide – PNRGOV Message
2.2 GOVREQ
The following messages are used by States to make an Adhoc request for a PNRGOV. The request may be for a specific
airline/flight number/date or for a specific record locator. Implementation of this message requires a bilateral agreement
between the government and the carrier. This message is to be used only in exceptional situations.
Notes: Date element 1225 of composite C302 in segment MSG defines the business function of the message.
Message Functions:
The Bilateral Agreement defines the conditions under which the messages are exchanged. One of three results may
occur:
The carrier may respond with the PNRGOV message.
The carrier may respond with the ACKRES message indicating one of two conditions: 1. The message is
acknowledged and PNRs will be sent, or 2. errors are detected in the request, the ACKRES contains error codes
to describe the error.
The carrier may not respond and process according to carrier defined procedures.
6
PADIS EDIFACT Implementation Guide – PNRGOV Message
3 MESSAGE STRUCTURE
This document describes the message structure for the IATA approved PADIS PNRGOVand other related EDIFACT
messages to support the PNRGOVprocess.
In reference to the message diagrams, segments at Level 0 are not repeated and apply to the entire message. The first segment
in a group is mandatory and is called the trigger segment. Segments at levels below the trigger segment apply to the group and
not the entire message.
The order of segments within a group are read top to bottom, left to right.
If a group/segment is not shown in the diagram, this indicates it is not needed for the message function. Group numbers will
remain for the full message diagram as defined in the message directory.
7
PADIS EDIFACT Implementation Guide – PNRGOV Message
GR.5 - repeats for each flight segment in the passenger record’s itinerary
TVL - date/time of departure, arrival time, origin and destination, marketing & operating
airline code(s), flight number, reservation booking designator, operational suffix.
TRA - operating carrier code, flight number and RBD.
RPI - flight booking status and number of passengers for this flight
APD - type of aircraft
SSR - special service requests that apply to this flight
8
PADIS EDIFACT Implementation Guide – PNRGOV Message
It should be noted that the message structure for ACKRES and GOVREQ are simple and therefore do not require a
segment description as defined above for PNRGOV.
9
PADIS EDIFACT Implementation Guide – PNRGOV Message
10
PADIS EDIFACT Implementation Guide – PNRGOV Message
Segments:
ABI Additional business source information
ADD Address Information
APD Additional product details
DAT Date and time information
EBD Excess Baggage Details
EQN Number of units
FAR Fare information
FOP Form of Payment
FTI Frequent Traveler Information
IFT Interactive free text
LTS Long Text String
MON Monetary information
MSG Message action details
ORG# Originator of request details
PTK Pricing/ticketing details
RCI Reservation control information
REF Reference information
RPI Related product information
SAC Source And Action Information
SRC# Segment repetition control
SSD Seat Selection Details
SSR Special Requirements Details
TBD Traveler Baggage Details
TIF Traveler information
TKT Ticket number detail
TRA Transport identifier
TRI# Traveller Reference Information
TVL Travel product information
TXD Tax details
UNA Service String Advice
UNB Interchange Header Segment
UNE Functional Group Trailer
UNG Functional Group Header
UNH Message Header
UNT Message Trailer
UNZ Interchange Trailer
# Trigger segment
Some segments may occur multiple times in the structure. Some of these are due to name relation and/or segment
relation.
Where the usage differs depending on grp or level, an explanation is provided under each segment and also mapped
back into each country’s requirements in the Appendices.
11
PADIS EDIFACT Implementation Guide – PNRGOV Message
Segments:
Note: It is anticipated that through the provision of an acknowledgment message, Carriers will be able to
automatically resend the messages if not delivered or incorrect data. This would be a system generated resend rather than
one as a result of manual intervention.
12
PADIS EDIFACT Implementation Guide – PNRGOV Message
Segments:
Notes:
1. The MSG should specify whether the request is for an airline/flight number/date or for a record locator.
2. If the request is for an airline/flight number/date, the TVL should be included in the request and the RCI should
be omitted from the request.
3. If the request is for a record locator, the RCI should be included in the request and the TVL should be omitted
from the request.
13
PADIS EDIFACT Implementation Guide – PNRGOV Message
The United Nations Service Segments should be referenced in ISO 9735 and the Architecture for IATA Interactive
EDIFACT. The IATA Architecture Strategy Group, along with its working groups, has made some changes to the
service segments to satisfy the requirements of interactive EDIFACT. The UNB and UNZ should be implemented as
they are described in the ISO 9735.
As per ISO 9735, the service segments are sequenced in a message in the following order:
UNA Service String Advice
UNB Interchange Header Segment
UNG Functional Group Header
UNH Message Header
(BODY of MESSAGE)
UNT Message Trailer
UNE Functional Group Trailer
UNZ Interchange Trailer
For ease in locating the service segment specification in this section, the service segments are defined in alphabetical
order
14
PADIS EDIFACT Implementation Guide – PNRGOV Message
Description No. Field Comm Status Max Code Comp. Values / Comments
Type Usage Rep Set
Note:
1. UNA1 through UNA6 represent the UN notation for positional values as opposed to normal representation
using data element numbers. In this case where positional values are used, standard separators for standalone
data elements are not used in the UNA segment. The data is simply a string of characters with each position
defining a specific delimiter and its use.
Examples:
15
PADIS EDIFACT Implementation Guide – PNRGOV Message
Composite/Data Element No. Field Comm Status Max Code Comp. Values / Comments
Type Usage Rep Set
ACKNOWLEDGEMENT 0031 n1 n1 C 1 - -
REQUEST
COMMUNICATIONS 0032 an.35 C 1 - -
AGREEMENT ID
TEST INDICATOR 0035 n1 C 1 - -
16
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. The conditional status (C) of elements within this segment is used to indicate that Border Control Authorities
may establish bilateral requirements for these data elements.
2. Elements 0001/0002 recommendation to use +IATA:1
3. Element 0004 is the airline code and 0010 is the targeted specific State entity.
4. Elements 0017 and 0019 are based on UTC (GMT)
5. For systems hosting multiple carriers and/or Ground Handlers, use composite S002, element 0008 for Carrier or
ground handling agent (2 or 3 character airline designator, e.g. BD or full term e.g., AEROGROUND, or a
bilaterally agreed code). Additionally S003, data element 0014 may be used for the routing address of the
recipient or for hub routing for electronic documents.
Examples:
1. Generic example for PNRGOV file generated on 28th Nov 2009 at 9:00GMT:
UNB+IATA:1+AIRLINE1+NZCS+091128:0900+000000001’
2. Message header DL Airline to Canadian CBSA for PNRGOV file generated on 12th Jan 2011 at 15:30GMT:
UNB+IATA:1+DL+CBSAPNRGOV+110112:1530+1234567890’
3. This example is concerned with the push to Australia. QF30 is a flight with the following routing and times:
HKG - 01 Aug 12 - 18:55 - MEL – 02 Aug 12 – 06:05
The push will occur at 24h prior Scheduled Departure Time out of HKG
For the flight departing on 1st Aug at 18:55 (Local Time) from HKG and arriving at MEL at 06:05 on 2nd Aug,
the following segment UNB will be sent:
UNB+IATB:1+1A+AUCBP+120731:1055+0002++PNRGOV+X'
4. United Airlines Flight 1752 - From San Francisco (SFO) to Sydney (SYD)
Scheduled Departure: 02 Aug 12 14:25 local (22:25 GMT)
UNB+IATA:1+UA+AUCBP+120801:2225+12345678904’ -24
UNB+IATA:1+UA+AUCBP+120802:2030+12345678903’ -2
UNB+IATA:1+UA+AUCBP+120802:2130+12345678902’ -1
UNB+IATA:1+UA+AUCBP+120802:2240+12345678901’ Wheels Up
17
PADIS EDIFACT Implementation Guide – PNRGOV Message
Composite/Data Element No. Field Comm Status Max Code Comp. Values / Comments
Type Usage Rep Set
Note:
1. Data element 0048 used in the UNE must match 0048 used in UNG
Example:
1. UNE+1+000000001’
2. See UNG example 2.
UNE+1+1’
3. See UNG example 3.
UNE+1+901’
18
PADIS EDIFACT Implementation Guide – PNRGOV Message
Composite/Data Element No. Field Comm Status Max Code Comp. Values / Comments
Type Usage Rep Set
Notes:
1. The conditional status (C) of elements within this segment is used to indicate that Border Control Authorities
may establish bilateral requirements for these data elements.
2. Border Control Authorities may establish bilateral requirements for the value placed in these data elements.
3. Data element 0048 used in the UNE must match 0048 used in UNG
Examples:
19
PADIS EDIFACT Implementation Guide – PNRGOV Message
20
PADIS EDIFACT Implementation Guide – PNRGOV Message
Composite/Data Element No. Field Comm Status Max Code Comp. Values / Comments
Type Usage Rep Set
Note:
1. The conditional status (C) of elements within this segment is used to indicate that Border Control Authorities
may establish bilateral requirements for these data elements.
2. When used in an ACKRES, the data elements 0068 and 0070 should carry the same values as the UNH of the
message for which it is providing acknowledgement.
3. If multiple messages are required to send the PNRs for a given flight push, the following rules shall apply:
- 0068 should be the same for each message in the series.
- S010/0070 should contain the sequence number of each message in the series (consecutive numbers starting
with 1)
- S010/0073 should contain an indication of where the message fits into the sequence of multiple messages as
one of the following:
C – Commencing message of a sequence
F – Final message of a sequence
For interim messages in a sequence, S010/0073 is not used
21
PADIS EDIFACT Implementation Guide – PNRGOV Message
Examples:
1. UNH with data element 0068 containing Initiator’s key and Responder’s key:
UNH+1+PNRGOV:10:1:IA+0976310900003C'
2. UNH for a flight split across 3 messages.
First message: UNH+1+PNRGOV:11:1:IA+893133434478201+01:C'
Second message: UNH+1+PNRGOV:11:1:IA+893133434478201+02'
Third and final message: UNH+1+PNRGOV:11:1:IA+893133434478201+03:F
PNR Push
UNH+1+PNRGOV:10:1:IA+0976310900003C’
ACKRES
UNH+1+ACKRES:10:1:IA+0976310900003C'
4. UNH for PNR Push and ACKRES, where the flight is split across multiple messages, second message.
PNR Push
UNH+1+PNRGOV:11:1:IA+893133434478201+02'
ACKRES
UNH+1+ACKRES:11:1:IA+893133434478201+02'
22
PADIS EDIFACT Implementation Guide – PNRGOV Message
Composite/Data Element No. Field Comm Status Max Code Comp. Values / Comments
Type Usage Rep Set
Notes:
1. For data element 0074, the number is computed by counting the number of segments used in the message from
the UNH to the UNT inclusive.
2. For 0062, the value must be identical to the value in 0062 in the corresponding UNH segment.
Examples:
1. UNT+2578+MSG001´
2. UNT+2578+1’
Composite/Data Element No. Field Comm Status Max Code Comp. Values / Comments
Type Usage Rep Set
5. UNZ+1+000000001’
23
PADIS EDIFACT Implementation Guide – PNRGOV Message
This section lists all the segments, in alphabetical order, that are a part of the PADIS PNRGOV EDIFACT Message. For
each segment, all composites and elements are listed along with a description, the element or composite number
according to the data dictionary, field type, common usage, mandatory or conditional characteristic, number of
repetitions, indication of a code set and general comments to assist in better understanding the intent of the composite
and/or element.
Always refer to 3.1 Message Segment Descriptions for the context of the segment within the message structure.
Example:
1. The creator of the history credit is a DL agent in Atlanta.
ABI+4+05FD28:GS+ATL++DL’
24
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. The ADD in GR.1 at level 2 may contain a contact address for the PNR.
2. The ADD in GR.2 at level 3 may contain emergency contact information and or/ UMNR delivery and collection
addresses.
3. The ADD in GR.4 at level 5 may contain the address of the payer of the ticket.
4. If the address and/or telephone information cannot be broken down in separate elements, the information may
be found in OSIs and SSRs.
Example:
1. The contact address is 4532 Wilson Street, Philadelphia, zip code 34288
ADD++700:4532 WILSON STREET:PHILADELPHIA:PA::US:34288’
25
PADIS EDIFACT Implementation Guide – PNRGOV Message
Example:
1. Equipment Type of Boeing 747
APD+747'
26
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. DAT at GR1 can contain ticket issue date and last PNR transaction date/Time
2. DAT at GR6 will be check-in transaction date/time as stored by RES systems holding DC data
3. DAT at GR10 will hold PNR History transaction date/time
4. DAT at Group 6 holds Check-in information. C688/2005 will be used to specify that date/time is in free text
format in data element C688/9916.
5. Unless specifically stated otherwise in bilateral agreement, the time is in Universal Time Coordinated (UTC)
Examples:
1. Latest PNR transaction date and time.
DAT+700:241097:1005'
2. Ticket issuance date and time
DAT+710:041159:0730'
3. Check-in transaction date/time
DAT+2:010604:1800’
4. PNR History transaction date/time
DAT+T:010695:1800'
5. Check-in including date time is expressed as free text
DAT+3:L FT WW D014357 12AUG121423Z 1D5723'
27
PADIS EDIFACT Implementation Guide – PNRGOV Message
Note:
1. Used to send paid baggage information.
Example:
1. One piece of baggage over the allowance USD 50
EBD+USD:50.00+1::N’
28
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. The EQN at level 0 is used to specify the total number of PNRs being sent for the flight push. In case of full
PNR push, the total number of PNRs contained in the full PNR push regardless of the number of messages used
for the full push. In the case of update PNR push, the total number of PNRs contained in the update PNR push
regardless of the number of messages used for the update push should be used.
2. The EQN at GR8 is used to identify numbers of passengers split from/to PNR.
3. As bilaterally agreed, where there is no PNR to be sent in a specific message, the EQN at level ‘0’ may contain
the number zero (“0”).
Examples:
1. Total number of PNRs
EQN+98'
2. Four passengers split from this PNR.
EQN+4'MSG
29
PADIS EDIFACT Implementation Guide – PNRGOV Message
Examples:
1. Application Error - Invalid Departure Time
ERC+103'
2. Invalid flight number.
ERC+114'
30
PADIS EDIFACT Implementation Guide – PNRGOV Message
Examples:
1. The fare is a 20 percent discounted fare type for an 9 year old child.
FAR+C+9+1:20:US+++YEE3M'
2. The fare is an industry discounted passenger traveling on business with space available.
FAR+I++764:4::B2+++C'
31
PADIS EDIFACT Implementation Guide – PNRGOV Message
Note:
1. If payment is via credit card, then the provision of the cardholder name is via the IFT if different from the
passenger.
Examples:
1. Paid with an American Express card, with an expiration date of 12/11
FOP+CC::416.00:AX:373212341234123:1211’
2. Form of payment is cash.
FOP+CA::731.00'
3. Form of payment is Government receipt.
FOP+GR::200.00::AB123456'
4. Old form of payment was VISA card with an expiration date of August, 2013
FOP+CC:2:628.32:VI:4235792300387826:0813’
32
PADIS EDIFACT Implementation Guide – PNRGOV Message
Examples:
1. A United Airlines Frequent Traveller.
FTI+UA:12345678964'
2. Passenger is using frequent flyer account on airline ZZ.
FTI+ZZ:001012693109'
3. Passenger has a British Airways Frequent Traveller number, is a BA GOLD member and description of tier
level is GOLD. Passenger also has a One World (code 701) alliance Emerald member.
FTI+BA:12345678:::GOLD::GOLD+BA:12345678:::EMER::EMERALD:701'
33
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. Multiple occurrences of the same type of literal free text should each be contained in a separate IFT segment to
avoid confusion regarding where each occurrence begins and ends.
2. If the value in code set 4451 indicates that coded information exists, then this coded data pertains to information
in element 9980.
3. Data in fare calculation is positional information within a free text data element. The data should never be
truncated or padded by an EDIFACT handler.
4. When data element 4451 is used, it should contain values 1, 3 or 4. All other codes in 4451 code set are SISC
codes.
Examples:
34
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. Carriage returns and line feeds may corrupt commercial parsers and this will need to be agreed through a
bilateral agreement
2. Flown segments are to be included in history.
Example:
1. Unstructured PNR history.
LTS+ LAX GS WW D006217 2129Z/09DEC 02961B AS DL1314U 19FEB MCOATL NN/SS1
1130A 105P AS SEAT RS 29F TRAN/TRINH DL1314 19FEB MCOATL AS DL1319T
23FEB ATLMCO NN/SS1 355P 524P¬AS SEAT RS 28A TRAN/TRINH DL1319 23FEB
ATLMCO A$ 4P A-USD 160.93 TX 33.27 TTL 194.20 WW09DEC AC A ORL DL
ATL87.44UA10A0SJ DL ORL73.49TA10X3SJ USD160.93END ZP MCOATL XF MCO4.5ATL4.5 PS
LAXADLLAX LAXGSWWUS LAXDL -LAX GS WW D006217 09DEC2129Z 02961B XS DL1314U
19FEB MCOATL NN/HK1 1130A 105P XS SEAT XR/RS 29F TRAN/TRINH DL1314 19FEB
MCOATL XS DL1319T 23FEB ATLMCO NN/HK1 355P 524P XS SEAT XR/RS 28A TRAN/TRINH
DL1319 23FEB ATLMCO X$ 4P A-USD 160.93 TX 33.27 TTL 194.20 WW09DEC XC A ORL
DL ATL87.44UA10A0SJ DL ORL73.49TA10X3SJ USD160.93END ZP MCOATL XF MCO4.5ATL4.5 XE
A-USD XF-9.00/ZP-7.20/AY-5.00/US-12.07/ XT TKT-TE/1200N/09DEC -LAX GS WW D006217
09DEC2129Z 02961B’
35
PADIS EDIFACT Implementation Guide – PNRGOV Message
Examples:
1. Ticket/document amount is $0.00 due to an award certificate.
MON+T:AWARD'
2. Ticket/document amount is 297.50 EUR.
MON+T:297.50:EUR’
36
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. Business Function, Coded (Element 4025) is only used in the MSG Gr9 of PNRGOV to specify the type of
service (car, hotel, train, etc.)
2. If MSG is used at Level 0 of PNRGOV or ACKRES, 4025 is not needed
3. Data element 4343 is M* if the MSG is used in the ACKRES message.
4. Data element 4343 is N/A if the MSG is used in the PNRGOV and GOVREQ messages.
Examples:
1. To specify that the TVL is for a hotel segment.
MSG+8'
2. Push PNR data to States
MSG+:22’
3. To identify a change PNRGOV message
MSG+:141’
37
PADIS EDIFACT Implementation Guide – PNRGOV Message
Company Identification 9906 an..35 an..3 M* 1 Yes 2-3 character airline/CRS code, or
bilaterally agreed code, of the system
that delivers the message.
Place/Location identification 3225 an..25 a3..5 C 1 Yes 3 character ATA/IATA airport/city
code of the delivering system/
originator of the request.
Place/Location Name 3224 an..17 -- N/A 1 --
ORIGINATOR C300 - - -- C 1 --
IDENTIFICATION DETAILS
Travel Agent Identification 9900 n..9 n8 C 1 -- ATA/IATA travel agency ID number or
Details pseudo IATA travel agency number.
In-House Identification 9902 an..9 an..9 C 1 - - Identification code assigned to an
office/agency by the reservation
system. May be a pseudo city or city
and office number.
In-House identification 9902 an..9 an..9 C 1 - - Identification code that is related to a
system key. Access security/entry key
into actioning system.
In-House identification 9902 an..9 -- N/A 1 --
LOCATION C328 - - -- C 1 --
Place/Location Identification 3225 an..25 a3..5 M* 1 Yes A 3 character ATA/IATA airport/city
code from where the agent initiates the
request.
Place/Location Name 3224 an..17 -- N/A 1 --
SYSTEM DETAILS C336 - - -- C 1 --
Company Identification 9906 an..35 an..3 C 1 Yes 2-3 character airline/CRS code, or
bilaterally agreed code, of the system
that originates the message, when
different from the delivering system.
Place/Location Identification 3225 an..25 a3..5 C 1 Yes 3 character ATA/IATA airport/city
code of the system that originates the
message.
Place/Location name 3224 an..17 -- N/A 1 --
ORIGINATOR TYPE CODE 9972 an1 an1 C 1 Yes One character code for airline agent,
travel agent, etc.
ORIGINATOR DETAILS C354 - - -- C 1 --
Country, Coded 3207 an..3 an..3 C 1 Yes ISO country code of the agent.
Currency, Coded 6345 an..3 an..3 C 1 Yes ISO currency code for currency of
originator country.
Language, Coded 3453 an..3 an..3 C 1 Yes ISO code of language.
ORIGINATOR'S 9904 an..9 an..9 C 1 - - A reference number/ authority code
AUTHORITY assigned to the requester as in an
REQUEST CODE agent's initials or logon.
COMMUNICATION 3148 an..25 an..6 C 1 - - LNIATA where LN=line and
NUMBER IA=interchange address and
TA=terminal address.
38
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. The ORG at level 0 is the sender of the data.
2. The ORG in GR.1 at level 2 is the originator of the booking. For “update” pushes when the push flight/date is
cancelled from a PNR or the complete PNR is cancelled or not found, the ORG is sent as an empty segment,
i.e., does not contain data.
3. The ORG in GR.6 at level4 is the agent id who checked in the passenger for this flight segment.
Examples:
1. The originator of the message is American Airlines agent in Dallas
ORG+AA:DFW'
2. The originator of the booking is an LH agent located in Amsterdam hosted on Amadeus.
ORG+1A:MUC+12345678:111111+AMS+LH+A+NL:NLG:NL+0001AASU’
3. The originator of the booking is an Amadeus travel agent request.
ORG+1A:NCE+12345678:DDGS+++T'
4. Origination details for a Worldspan travel agent request.
ORG+1P:HDQ+98567420:IPSU+ATL++T+US:USD+GS'
5. For a cancelled PNR in an “update” push
ORG’
39
PADIS EDIFACT Implementation Guide – PNRGOV Message
Examples:
1. The originator of the message is The Australian government.
ORG++++++AU'
40
PADIS EDIFACT Implementation Guide – PNRGOV Message
Example:
1. The pricing/ticketing details: the ticket is non-refundable, the ticketing deadline date and time are
10 pm on 6/15/10, the validating carrier is DL and the sales/ticketing location city code is ATL.
PTK+NR++150610:2200+DL+006+ATL'
42
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. The composite C330 will appear at least once and may be repeated up to eight more times.
2. In case the data is coming from a DCS or ground handling system which does not have access to the
reservation system’s Record Locator, the following information will be contained in composite C330:
- 9906 - the operating carrier code
- 9956 - the locator assigned by DCS in 9956
- 9958 – a code specifying that the RCI contains a “DCS Reference”
3. The operating carrier’s record locator should be included in the RCI if available
Examples:
1. SAS passenger record reference.
RCI+SK:12DEF'
2. Galileo and SAS record references.
RCI+SK:123EF+1G:345ABC'
3. Delta is the operating carrier and the PNR was created on 24 February 2010 at 2230 GMT.
RCI+DL:ABC456789::240210:2230'
4. CX is the operating carrier and no PNR was received from the reservation system at a station handled by a
ground handler; therefore the CX reservation PNR locator is not available and “DCS reference” is the
Reservation Control Type.
RCI+CX:89QM3LABML:C’
43
PADIS EDIFACT Implementation Guide – PNRGOV Message
Example:
1. The unique passenger reference identifier is 4928506894.
REF+:4928506894'
Example:
1. Flight booking status is holds confirmed for 3 passengers.
RPI+3+HK'
44
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. Used in conjunction with other segments where the item was actioned. Eg Name Change, flight etc
2. Flown segments are to be included in history.
Examples:
1. The history line contains a cancelled item
SAC+++X'
2. The history line contains an added item
SAC+++A’
45
PADIS EDIFACT Implementation Guide – PNRGOV Message
Note:
1. Used as trigger segment for PNRGOV GR.1 and will repeat for each PNR in the message.
Example:
1. This trigger segment is sent as an empty segment.
SRC'
46
PADIS EDIFACT Implementation Guide – PNRGOV Message
Note:
1. 9854 uses individual airlines cabin class designator and not a codeset
Example:
1. The passenger has been assigned seat 24A in coach.
SSD+24A++++Y’
47
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. SSR’s in GR.1 apply to all flights and may apply to all passengers or may apply to specific passenger based on
the traveler reference number in SSR/9944 and TIF/9944.
2. SSR’s in GR.2 apply to the specific passenger.
3. SSR’s in GR.5 (per TVL) apply to a specific flight and may apply to all passengers or may apply to a specific
passenger based on the traveler reference number in SSR/9944 and TIF/9944.
4. The Traveler Reference Number (9944) in the SSR segment in Gr.1 or Gr. 5 may be used to specify for which
passenger this SSR applies. This is a reference number assigned by the sending system and should contain the
same reference number as that found in the Traveler Reference number in the TIF in Gr.2.
Examples:
1. One passenger is an SSR type unaccompanied minor.
SSR+UMNR'
2. Passenger number 2 has requested to transport a bike on a DL flight.
48
PADIS EDIFACT Implementation Guide – PNRGOV Message
SSR+BIKE:HK:1:DL+::2’
3. Passenger has been assigned seat 53C on the AA flight from AMS to JFK.
SSR+SEAT:HK:1:AA:::AMS:JFK+53C::2:N’
4. DOCS information for a passenger on KL.
SSR+DOCS:HK:1:KL::::://///05AUG70/F//STRIND/BENITA+::2’
5. Other information about passenger one.
SSR+OTHS:HK::AF:::::CORP//***CORPORATE PSGR***+::1'
6. A passenger by the name of Mr. John Meeks supplies a United States Redress number for his PNR:
a. For those systems using automated format:
SSR+DOCO:HK:1:AA:::JFK:LAX:0001Y28JUN//R/1234567890123///US
49
PADIS EDIFACT Implementation Guide – PNRGOV Message
Note:
1. This segment is for the checked in baggage and not for excess bag details
Examples:
1. Bag pool members with Head of Pool ticket.
2. TBD+++MP:0741234123456’3 bags, weight 84 kilos, Head of Pool, tags 4074902824, 3 in sequence to MSP.
3. TBD++3:84:700++HP+KL:4074902824:3:MSP’Total 5 bags, weight 155 pounds, 2 checked to MSP, 3 short
checked to JFK
TBD++5:155:701+++KL: 8074902824:2:MSP+ KL: 8074902826:3:JFK’
4. Total 2 bags, weight 20 kilos, head of pool, 2 bags in sequence to CPH with the carrier code of the airline
issuing the bag tags.
TBD++2:20:700++HP:5+LH: 3020523456:2:CPH:220’
5. 2 bags, tag QF111111 to Sydney
TBD++2+++QF: 0081111111:2:SYD’
6. 1 bag, no weight provided
50
PADIS EDIFACT Implementation Guide – PNRGOV Message
TBD++1+++UA:4016722105:1:DOH
51
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. Only one surname and given name should be sent in one occurrence of the TIF even if there are multiple names
for a surname in the PNR.
2. The Traveller Reference Number (9944) is assigned by the sending system and this number in Gr.2 may be used
to cross reference an SSR in Gr.1 or Gr.5 or a TRI in Gr.7.
Examples:
1. Passenger Jones/John Mr is an adult.
TIF+JONES+JOHNMR:A'
2. Passenger has a single letter family name – Miss Moan Y – single letter is doubled where MoanMiss was
considered the given name. This rule is as defined in AIRIMP rules and its examples.
TIF+YY+MOANMISS:A’
3. Adult passenger has a single letter family name – Miss Tuyetmai Van A – all given names are combined with
the single letter surname where Miss was considered the given name. This rule is as defined in AIRIMP rules
and its examples.
TIF+ATUYETMAIVAN+MISS:A’
4. The PNR is for a group booking with no individual names.
TIF+SEETHE WORLD:G’
5. Infant no seat Passenger
TIF+RUITER+MISTY:IN’
52
PADIS EDIFACT Implementation Guide – PNRGOV Message
Examples:
1. The ticket number for a passenger
TKT+0062230534212:T'
2. Conjunctive ticket – 2 booklets
TKT+0271420067693:T:2'
3. A Ticketless passenger
TKT+:1’
53
PADIS EDIFACT Implementation Guide – PNRGOV Message
Function: To specify transport service(s) or to specify transport service(s) which is/are to be updated or cancelled.
Example:
TVL+121210:0915::1230+LHR+JFK+DL+324:B'
TRA+KL+8734:B’ Operating carrier information
RPI+2+HK’
APD+767’
SSR+SEAT:HK:2:DL:::LHR:JFK+15A::1+15B::2’
DAT+2:111210:0915’
TRI++108:::1’
TIF+SMITHJR+JOHNMR:A:1’
SSD+15A++++Y’
TVL+121210:2200::2330+JFK+YVR+DL+330:B'
RPI+2+HK’
APD+767’
SSR+SEAT:HK:2:DL:::JFK:YVR+15E::1+15F::2’
54
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. The Traveler Reference Number (9944) in the TRI segment in Gr.7 may be used to specify for which passenger
the check-in information applies so that the TIF in this group does not need to be sent. This is a reference
number assigned by the sending system and should contain the same reference number as that found in the
Traveler Reference number in the TIF in Gr.2.
2. Each occurrence of the TRI handles only one passenger (i.e. one surname and one given name) at a time, thus
the Composite C671 does not repeat
Example:
55
PADIS EDIFACT Implementation Guide – PNRGOV Message
TVL at Level 0
56
PADIS EDIFACT Implementation Guide – PNRGOV Message
Note:
1. Dates and times in the TVL are in Local Time.
2. Departure and arrival points of the transborder segment for a given country are the ones of the leg which makes
the segment eligible for push to a given country.
Examples:
1. The passenger information being sent is for Delta flight 10 from ATL to LGW on 30MAR which departs at
5:00 pm.
TVL+300310:1700+ATL+DFW+DL+10’
2. The passenger information being sent is for Delta flight 9375 from ATL to AMS on 24 FEB which departs at
9:35 pm.
TVL+240210:2135+ATL+AMS+DL+9375’
3. This example is only concerned with the push to Canada. While the US will also have a push, the US is not
demonstrated in this example. CX888 is a multileg flight with the following routing and times,
HKG 10May 0100 YVR 09May 2030
YVR 09May 2230 JFK 10May 0420
The leg eligible for Canada is HKG YVR. The passenger information to push are for CX888 from HKG YVR
(terminate YVR Canada) and HKG to JFK (transit YVR Canada). The push will occur at Scheduled Departure
Time out of HKG.
For the flight departing on 10th May at 0100 (Local Time) from HKG and arriving at YVR at 2030 on 09May,
the following segment TVL in PNRGOV level 0 will be sent:
TVL+100512:0100:090512:2030+HKG+YVR+CX+888
57
PADIS EDIFACT Implementation Guide – PNRGOV Message
58
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. Dates and times in the TVL are in Local Time.
2. For OPEN and ARNK segments, the date, place of departure and place of arrival are conditional. For an
Airline/ Flight Number / class/ date / segment, the date, place of departure and place of arrival are mandatory.
3. When referring to a codeshare flight, two TVLs are required (one as difined in 5.28.2 for the marketing flight
and one providing the operating flight information as defined in 5.28.3). If the marketing and operating
carrier/flight are the same, only one TVL is used as defined in 5.28.2.
5. Departure and arrival city/airport codes as contained in the passenger’s booked itinerary.
Examples:
1. The flight segment in the passenger’s itinerary is Delta flight 10 from ATL to LHR on April 1 which departs at
10:35 p.m. and arrives at noon and the reservation booking designator is K. The operating carrier is KL.
TVL+010410:2235:020410:1200+ATL+LHR+DL:KL+10:K’
2. An ARNK segment is used to fill a gap in the itinerary.
TVL+++++ARNK’
3. An OPEN segment is used where the passenger has purchased a ticket between two cities/airports but does not
know the flight number or date.
TVL++LHR+ORD++OPEN’
4. An OPEN segment is used where the passenger has purchased a ticket between two cities/airports and knows
the airline on which he will fly but not the flight number or date.
TVL++LAX+SIN+SQ+OPEN’
5. This example is only concerned with the push to Canada. While the US will also have a push, the US is not
demonstrated in this example.
CX888 is a multileg flight with the following routing and times:
HKG 10May 0100 YVR 09May 2030
YVR 09May 2230 JFK 10May 0420
The leg eligible for Canada is HKG YVR. The passenger information to push are for CX888 from HKG YVR
(terminate YVR Canada) and HKG to JFK (transit YVR Canada). The push will occur at Scheduled Departure
Time out of HKG.
For the flight departing on 10th May at 0100 (Local Time) from HKG and arriving at YVR at 2030 on 09May,
the following segment TVL in PNRGOV will be sent:
Level 0 - TVL+100512:0100:090512:2030+HKG+YVR+CX+888
Grp 5 level 2 for HKG YVR passengers - TVL+100512:0100:090512:2030+HKG+YVR+CX+888
Grp 5 level 2 for HKG JFK passengers - TVL+100512:0100:100512:0420+HKG+JFK+CX+888
59
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. This TVL is only used in a codeshare situation and provides the code share operating flight number, operational
suffix if any and the operating flight RBD.
2. When referring to a codeshare flight, two TVLs are required (one as defined in 5.28.2 for the marketing flight
and one providing the operating flight information as defined in 5.28.3). If the marketing and operating
carrier/flight are the same, only one TVL is used as defined in 5.28.2.
60
PADIS EDIFACT Implementation Guide – PNRGOV Message
Examples:
1. The sold as flight (marketing carrier flight) is operated as flight 2345 and the RBD is K. This example only
demonstrates the operating information however a preceding TVL would be required for the marketing
information
TVL+++++2345:K’
2. This example contains an illustration of both the operating and the marketing TVLs for a codeshare situation
where the marketing carrier is DL and the operating carrier is KL..
TVL+010410:2235: 020410:1200+ATL+AMS+DL:KL+9362:K’
TVL+++++972:M’
61
PADIS EDIFACT Implementation Guide – PNRGOV Message
TVL in GR.9 at level 3 is used to carry non-air segments (car, hotel, rail, etc.)
Examples:
1. Car segment.
TVL+290110:1050:310110:0900+ATL++ZE+:FCAR’
2. Hotel segment.
TVL+100910:1600:120910+MCI:HYATT REGENCY CROWN++HY+918W2:ROH’
63
PADIS EDIFACT Implementation Guide – PNRGOV Message
Notes:
1. The tax code and country code should be in data elements 5153 and 3207 respectively.
Examples:
1. Tax details for departure taxes for Great Britain.
TXD++5:GB::9'
2. Tax information related to the given fare.
TXD++6.27::USD'
64
PADIS EDIFACT Implementation Guide – PNRGOV Message
6 CODE SETS
For all codesets utilized in the PNRGOV message, please refer to the PADIS EDIFACT AND XML Code set
Directory available on the PADIS Extranet
This document will not contain any codeset breakdown to ensure that all relevant codes available now and in the future
are available for use should they be required. This will ensure that no codeset is presented incorrectly in this document.
If additional codes are required, they should be submitted to the PADIS Working Group for approval prior to being
submitted to a PADIS Board vote for inclusion in the standards.
65
PADIS EDIFACT Implementation Guide – PNRGOV Message
The following business case examples are provided to illustrate the variety of data and potential differences in where
specific data is contained in a message based on the system sending the message, where and how data is stored in that
system and based on the original source of the information.
Because of the volume of data that would be sent for entire flight, the examples only contain information for one
complete PNR with indication that the message is partial data for entire flight.
All examples placed in the Implementation Guide have been reviewed and agreed by the PNRGOV working group
A PNRGOV message sent 24 hours prior to departure for Delta flight 324 with routing LHR > JFK > YVR. This flight
requires four separate messages to 3 separate governments (UK, US and Canadian). The first message is for DL flight
324 out of London (LHR) and is sent to UK and US. The partial message contains two PNRs with the following
characteristics:
PNR 1 – Two Passengers booked and paid by 3rd party, credit card payment. PNR has been split, the full
itinerary has had a change in flight, SSR meals and seats for all passengers. Passengers are ticketed and due to
a change in the itinerary, the ticket had to be exchanged and repriced. Also included are elite frequent flier,
Secure Flight Passenger Data, and hotel. Two bags were paid for fees. Passenger John Smith has checked in at
24 hours prior to departure.
PNR 2 – Two passengers, booked on a round trip by a GDS. The name has been changed.
UNA:+.\*
UNB+IATA:1+DL+??+101209:2100+020A07’ Interchange header segment
UNH+1+PNRGOV:10:1:IA+F6C2C268' Message header
MSG+:22'
ORG+DL:ATL+52519950’
TVL+121210:0915+LHR+JFK+DL+324' PNR data for DL324/12DEC10 LHR
EQN+2' Number of PNRs being sent in the message
SRC’ <<< Start of PNR 1 >>>
RCI+DL:MFN4TI'
SSR+AVML:HK:2:DL’
DAT+700:061210:1010+710:061210:1200’
IFT+4:28::DL+THIS PASSENGER IS A VIP’
IFT+4:28::DL+CTCR 00115555555555’
ORG+DL:ATL+52519950:LON+++A+GB:GBP+D050517’ Booked by DL call center agent in UK
ADD++702:45 HIGH Phone in free text
STREET:SLOUGH:BERKSHIRE::GB:SL1AA:00441753637285’
EBD+GBP:40.00+4::N’ Total for 4 bags
TIF+SMITHJR+JOHNMR:A:1’ Adult passenger, Mr. John Smith Jr.
FTI+DL:1234567890:::ELITE’
IFT+4:15:9+LHR DL X/JFK DL YVR GBP/IT END ROE0.618831
XT3.10AY6 8.50YQ3.40+YC4.30XY3.10XA2.80XFATL4.5’
REF+:38739393AN8739P’
FAR+N+++++MIL24’ Military Fare
SSR+DOCS:HK::DL:::::/P/GBR/123456789/GBR/12JUL64/M/23AUG19/SMITHJ
R/JONATHON/ROBERT’
TKT+0062120234533:T:1'
MON+B:2888.00:GBP+T:2957.94:GBP'
PTK+NR++061210:1010+DL+006+LON'
TXD++3.10:::AY6+8.50:::YQ+3.40:::YC+4.30:::XY+3.10:::XA+2.80:::XF'
DAT+710:061210:1200’
FOP+CC:::VI:XXXXXXXX1186:0211'
IFT+4:43+TIMOTHY SIMS+2234 MAIN STREET ATLANTA, GA 30067+770 Sponsor
5632891’
TIF+JONES+WILLIAMMR:A:2’ Adult passenger, Mr. William Jones
FTI+AF:0093789865:::ELITE’
IFT+4:15:9+ LHR DL X/JFK DL YVR GBP/IT END ROE0.618831
XT3.10AY6 8.50YQ3.40+YC4.30XY3.10XA2.80XFATL4.5’
REF+:38739393AN8780P’
FTI+AF:0093789865:::ELITE’
FAR+A+++++YN324N’ Normal Advance Booking Fare
SSR+DOCS:HK::DL::::://///GBR/12JUL64/M//JONES/WILLIAMNEVELL’
TKT+0062120234534:T:1'
MON+B:2888.00:GBP+T:2957.94:GBP'
PTK+NR++061210:1010+DL+006+LON'
TXD++3.10:::AY6+8.50:::YQ+3.40:::YC+4.30:::XY+3.10:::XA+2.80:::XF'
DAT+710:081210:1200’
66
PADIS EDIFACT Implementation Guide – PNRGOV Message
FOP+CC:::VI:XXXXXXXX1186:0211'
IFT+4:43+TIMOTHY SIMS+2234 MAIN STREET ATLANTA, GA 30067+770 Sponsor
5632891’
TVL+121210:0915::1230+LHR+JFK+DL+324:B' First flight in itinerary
APD+767’
SSR+SEAT:HK:2:DL:::LHR:JFK+15A::1+15B::2’ Seats for both passengers
DAT+2:111210:0915’ Check-in info starts here
TRI++108:::1’ Boarding/Check-in #108
TIF+SMITHJR+JOHNMR:A:1’ Adult passenger, Mr. John Smith Jr.
SSD+15A++++Y’ Seat and cabin check-in info
TVL+121210:2200::2330+JFK+YVR+DL+330:B' Second flight in itinerary
RPI+2+HK’
APD+767’
SSR+SEAT:HK:2:DL:::JFK:YVR+15E::1+15F::2’ Seats for both passengers
EQN+1’
RCI+DL:ABCDEF'
MSG+8’ Hotel segment
TVL+121210:1500:151210+YVR:VANCOUVER ARMS++VN+67576:ROH’ Hotel info
ABI+1+:LHRRR+LON++DL’ Start First History Item
DAT+ZT:071210:1010’
SAC+++X’
TVL+101210:0915::1230+LHR+JFK+DL+324:B' Cancel Flight #1
RPI+2+K’
SAC+++X’
SSR+AVML:HK:2:DL’ Cancel AVML for both passengers
SAC+++X’
SSR+SEAT:HK:2:DL:::LHR:JFK+15A::1+15B::2’ Cancel Seats for both passengers
SAC+++X’
TVL+101210:2200::2330+JFK+YVR+DL+330:B' Cancel Flight #2
RPI+2+K’
SAC+++X’
SSR+AVML:HK:2:DL’ Cancel AVML for both passengers
SAC+++X’
SSR+SEAT:HK:2:DL:::JFK:YVR+15E::1+15F::2’ Cancel Seats for both passengers
SAC+++A’
TVL+121210:0915::1230+LHR+JFK+DL+324:B' Add flight #1
RPI+2+K’
SAC+++A’
SSR+AVML:HK:2:DL’ Add AVML for both passengers
SAC+++A’
SSR+SEAT:HK:2:DL:::LHR:JFK+15A::1+15B::2’ Add Seats for both passengers
SAC+++A’
TVL+121210:2200::2330+JFK+YVR+DL+330:B' Add flight #2
RPI+2+K’
SAC+++A’
SSR+AVML:HK:2:DL’ Add AVML for both passengers
SAC+++A’
SSR+SEAT:HK:2:DL:::JFK:YVR+15E::1+15F::2’ Add Seats for both passengers
SRC’ <<< Start of PNR 2 >>>
RCI+1A:23456'
DAT+700:061210:1010+710:061210:1200’
ORG+1A:MUC+12345678:F31+LON++T+GB:GBP+A78987’
ADD++702:351 LANDSDOWN ROAD:SLOUGH:BERKSHIRE::GB::SL1AA’ Booked by 1A travel agent in UK
EBD+GBP:20.00+2::N’ Total for 2 bags
TIF+WAYNE+JOHNMR:A:1’ Adult passenger, Mr. John Wayne
FTI+DL:1234567893:::ELITE’
IFT+4:15:9+LHR DL X/JFK DL YVR GBP/IT END ROE0.618831
XT3.10AY6 8.50+YQ3.40YC4.30XY3.10XA2.80XFATL4.5’
REF+:38739393AN8740P’
FAR+A+++++YN324N’ Normal advance booking fare
SSR+DOCS:HK::DL:::::/P/GBR/123456789/GBR/12JUL12/M/23AUG15/WAYNE
/JOHNALVA’
TKT+0062120234535:T:1'
MON+B:2888.00:GBP+T:2957.94:GBP'
PTK+NR++061210:1010+DL+006+LON'
TXD++3.10:::AY6+8.50:::YQ+3.40:::YC+4.30:::XY+3.10:::XA+2.80:::XF'
DAT+710:061210:1200’
FOP+CC:::VI:XXXXXXXX1186:0211'
TIF+COOPER+GARYMR:A:2’ Adult passenger, Mr. Gary Cooper
FTI+AF:0093789830:::ELITE’
IFT+4:15:9+ LHR DL X/JFK DL YVR GBP/IT END ROE0.618831
XT3.10AY6 8.50+YQ3.40YC4.30XY3.10XA2.80XFATL4.5’
REF+:38739393AN8793P’
FAR+A+++++YN324N’ Normal Advance Booking Fare
SSR+DOCS:HK::DL:::::/P/GBR/987654321/GBR/12JUL15/M/15JAN13/COOPE
R/GARYWILLIAM’
TKT+0062120234536:T:1'
MON+B:2888.00:GBP+T:2957.94:GBP'
PTK+NR++061210:1010+DL+006+LON'
TXD++3.10:::AY6+8.50:::YQ+3.40:::YC+4.30:::XY+3.10:::XA+2.80:::XF'
DAT+710:061210:1200’
FOP+CC:::DC:XXXXXXXX3578:0211'
TVL+121210:0915::1230+LHR+JFK+DL+324:B' First flight in itinerary
RPI+1+HK’
APD+767’
SSR+SEAT:HK:2:DL:::LHR:JFK++17A::1+17B::2’ Seats for both passengers
DAT+2:111210:0915’ Check-in info starts here
67
PADIS EDIFACT Implementation Guide – PNRGOV Message
TRI++2:::1’ Boarding/Check-in #2
TIF+COOPER+GARYMR:A:2’ Adult passenger, Mr. Gary Cooper
SSD+15A++++Y’ Seat and cabin check-in info
TVL+121210:2200::2330+JFK+YVR+DL+330:B' Second flight in itinerary
RPI+1+HK’
APD+767’
SSR+SEAT:HK:2:DL:::JFK:YVR+17E::1+17F::2’ Seats for both passengers
ABI+1+:LHRRR+LON++DL’ Start First History Item
DAT+ZT:071210:1010’
SAC+++X’
TIF+WAYNE+JONMR:A:1’ Cancel Name
SAC+++A’
TIF+WAYNE+JOHNMR:A:1’ Add Name
UNT+135+1
UNZ+1+020A07’
68
PADIS EDIFACT Implementation Guide – PNRGOV Message
Under this concept, a full PNR Push is used to send all active PNRs to the government each time a push is required from
that government. In all cases, PNRs no longer containing the pushed flight segment are omitted from subsequent pushes.
For a full push, the MSG on level 0 will contain 22 (Push PNR data to States) in C302/1225.
Under this concept, the initial push to a given government sends a full PNR Push as defined in paragraph 8.1.1.
Intermediate pushes may contain only those PNRs that have been modified, added to, or removed from the flight since
the previous push. The Update push will contain 141 (Update) in MSG C302/1225.
- If a PNR is included in a push, all PNR data is sent.
- For cancellations, only the SRC (empty), the RCI with the record locator information and an empty ORG are
included.
Example:
For any push in which there are no PNRs, the EQN on level 0 contains a “0” in C523/6353.
- If the Adhoc request is for an entire flight, a full push as defined in 7.1 above is sent. The MSG on level 0 of the
GOVREQ message will contain 43 (Flight report) in C302/1225. The MSG on level 0 of the PNRGOV message
will contain 22 (PNR Data to Government) in C302/1225.
- If the request is for a specific PNR locator, the MSG on level 0 of the GOVREQ message will contain 77 (Record
locator request) in C302/1225.
- All PNR data is sent for an active and relevant PNR. The MSG on level 0 of the PNRGOV message will contain
22 (PNR Data to Government) in C302/1225.
69
PADIS EDIFACT Implementation Guide – PNRGOV Message
- If the PNR is not found or if the PNR itinerary is not relevant to the government (no active itinerary to or from the
requesting country), then ACKRES is returned with the appropriate ERC error code.
The following table briefly summarizes the recommendations for acknowledgement of receipt and/or processing of a
message based on the standard PADIS interactive process. For more background and detailed recommendations, please
see the document entitled PADIS EDIFACT Message Processing - Background for PNRGOV Users.
For details, refer to the Appendix C: PADIS EDIFACT Message Processing - Background for PNRGOV Users
70
PADIS EDIFACT Implementation Guide – PNRGOV Message
Functional Definition
Purpose:
References:
UNTDID, Part 4, Section 2.5
UN/ECE UNSM General introduction, Section 1
Principles:
See Trade/WP.4/R.1010
GR.1
C1
LEVEL 1
UCM
M1
Function: To identify the subject interchange and to indicate acknowledgement or rejection (action taken) of
the UNA, UNB and UNZ segments, and to identify any error related to these segments.
Depending on the action code, it may also indicate the action taken on the functional groups and
messages within that interchange.
71
PADIS EDIFACT Implementation Guide – PNRGOV Message
Function: To identify a message in the subject interchange, and to indicate that message’s
acknowledgement or rejection (action taken), and to identify any error related to the UNH and UNT
segments.
72
PADIS EDIFACT Implementation Guide – PNRGOV Message
1 Example of PNRs with Infant, Reservation and Check-in data and unformatted history
73
PADIS EDIFACT Implementation Guide – PNRGOV Message
MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+0/8/C/SR/SSR FQTSSQHK1 SQ8794285757 S/KFES/SQ 602 D 27MAY
SINICN/BELT/ISABELLE MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+8/A/SR/SSR FQTVSQHK/ SQ8794285757 G/QPPS/BELT/ISABELLE
MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+8/A/SR/SSR FQTSSQHK1 SQ8794285757 G/QPPS/SQ 602 D 27MAY
SINICN/BELT/ISABELLE MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+8/Z/CSXAPU CR-NCE1A0SQ0 SU 0001AA 24MAY2009Z'
LTS+9/Z/1AINV RM SQ 242009 CR-1AINV RM SQ 0000 24MAY2009Z'
LTS+1/10/R/SR/SSR INFTSQHK1 BELT/SOPHY 20SEP12/KK/SQ 602 D 27MAY
SINICN/BELT/ISABELLE MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+4/10/R/SR/SSR BSCTSQHK1/KK/SQ 602 D 27MAY SINICN/BELT/ISABELLE
MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+10/Z/ETK-ISSBOE CR-SINSQ01W0 32391122 GS 1916VV/RO-9CB39093
MUCPI2SQ1 00000000 25MAY0309Z'
LTS+11/A/SK/SK LKPX SQ HK1 Z8OWIE-P1/SQ 602 D 27MAY
SINICN/BELT/ISABELLE MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+11/Z/ISSBOE CR-SINSQ01W0 32391122 GS 1916VV/RO-9CB39093
MUCPI2SQ1 00000000 25MAY0313Z'
LTS+12/Z/MRS BELT CR-SINSQ01W0 32391122 GS 1916VV/RO-9CB39093
MUCPI2SQ1 00000000 25MAY0315Z'
LTS+13/Z/1AINV RM SQ 250315 CR-1AINV RM SQ 0000 25MAY0315Z'
LTS+14/A/7/RX \*\*\*\*\*\*\*\* ATTN SINKKXH SINKDXH SINKNXH PLS ASSIST
PAX WITH TKT 618-2402058077 AND 618-2402241436 TO BE SEATED
TOGETHER FLT'
LTS+14/A/7/RX SQ602 D SIN - ICN 27MAY13 14\:30 ON BSCT SEAT X MANY
THANKS SINRRRSQ'
LTS+14/A/7/RX MS BELT CALLED TO UPDATE SEAT RQST X ADDED SEAT /
MEAL X TELEX SENT X NIL SEATS AND MEALS X MOBILE CONTACT NUMBER
UPDATED'
LTS+14/A/7/RX X VIAN / 8\:48 IST 25/5/2013'
LTS+14/Z/MRS BELT CR-SINSQ01W0 32391122 GS 1916VV/RO-9CB39093
MUCPI2SQ1 00000000 25MAY0320Z'
LTS+15/A/SR/SSR DOCSSQHK1
P/GBR/512731999/GBR/20SEP12/FI/25OCT17/BELT/SOPHY
OLIVIA//BELT/ISABELLE MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+15/A/SR/SSR DOCSSQHK1
P/GBR/512731999/GBR/20SEP12/FI/25OCT17/BELT/SOPHY OLIVIA//SQ 602 D
27MAY SINICN/BELT/ISABELLE MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+15/Z//DCS-IREQ CR-SINSQ00VW 00000000 GS 9743EC/DS-9CBCCB00
27MAY0422Z'
LTS+0/16/C/SR/SSR DOCSSQHK1
P/GB/509229987/GB/01JUL78/F/12NOV22/BELT/ISABELLE//H/SQ 602 D 27MAY
SINICN/BELT/ISABELLE MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+16/A/SR/SSR DOCSSQHK1
P/GBR/509229987/GBR/01JUL78/F/12NOV22/BELT/ISABELLE RUTH//SQ 602 D
27MAY SINICN/BELT/ISABELLE MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+16/Z//DCS-IREQ CR-SINSQ00VW 00000000 GS 9743EC/DS-9CBAB9B5
27MAY0423Z'
LTS+17/A/SR/SSR DOCSSQHK1
P/GBR/509229987/GBR/01JUL78/F/12NOV22/BELT/ISABELLE
RUTH//BELT/ISABELLE MRS(ADT)(INF/SOPHY/20SEP12)'
LTS+17/Z//DCS-IREQ CR-SINSQ00VW 00000000 GS 9743EC/DS-9CBAB9D5
27MAY0423Z'
LTS+18/Z//DCS-SYNCUS CR-SINSQ00VW 00000000 GS 9743EC/DS-9CBABA1D
27MAY0423Z'
LTS+19/Z//DCS-SYNCUS CR-SINSQ00VW 00000000 GS 9743EC/DS-9CBCCB14
27MAY0423Z'
LTS+20/Z//DCS-SYNCUS CR-SINSQ00CO 00000000 PD 2092EL/DS-9CBAB94B
27MAY0559Z'
LTS+21/Z//DCS-SYNCUS CR-SINSQ00CO 00000000 PD 2092EL/DS-9CBABA1A
27MAY0559Z'
UNT+85+1' Number of segments
UNZ+1+0003' Interchange trailer
74
PADIS EDIFACT Implementation Guide – PNRGOV Message
2 Example of Codeshare PNRs with Reservation and Check-in data and unformatted history
75
PADIS EDIFACT Implementation Guide – PNRGOV Message
76
PADIS EDIFACT Implementation Guide – PNRGOV Message
Three PNRs:
- one single passenger, ticketless, registered passenger with customer ID,
- one single passenger, with a IATA ticket,
- one Group PNR with some names
UNB+IATA:1+TZ+AUCBPS+130523:2210+00102181551362'
UNG+PNRGOV+TZ+AUCBPS+130523:2210+00102181551362+IA+11:1'
UNH+00102181551362+PNRGOV:11:1:IA+AUTZ000623052013221001SIN201305
28'
MSG+:22' PNR Data to State (Australia)
ORG+TZ:MSP+++TZ:SYS+++HOLMESS' Sent by TZ agent HOLMESS
TVL+280513:2225:290513:0750+SIN+OOL+TZ+0006' For flight TZ 0006 from SIN to OOL
EQN+3' 3 PNRs on flight
SRC' 1st PNR
RCI+TZ:W9TEND::230513:181348' Airline locator W9TEND, created 23 May 2013 at 18:13Z
DAT+700:230513:2125+710:230513:2124' Last modified 23 May 2013 at 21:25Z
Payment made 23 May 2013 at 21:24Z
ORG+TZ:SYS+++++:SGD' Booking originated by a TZ system user
ADD++700:123 ANY STREET:LAKE TOWN:MN::US:55123:H5555555555 W 1 555 Reservation contact information including address and
555 5555 ' telephone numbers
TIF+VANDENBERG+KEVINMICHAELMR:A:43576' Adult passenger name and unique ID
REF+:43576' Security-related unique ID
FAR+A+32++++SFLY+SFLY' Adult fare with fare basis code SFLY
SSR+DOCS:HK:1:TZ:::::/P/USA/548721687/USA/04JUL80/M/12JAN19/VANDENBE Passport details
RG/KEVIN/MICHAEL+::43576'
TKT+:700' Ticketless payment
MON+B:999.00:SGD+T:1999.99:SGD' Base and total fare
TXD++99.99::SGD:BK+99.99::SGD:OO+99.90::SGD:SG+99.99::SGD:WY+99.99::S Tax details
GD:OP+99.99::SGD:AU+99.99::SGD:WG+99.99::SGD:WY'
DAT+710:230513:2124' Date of payment
FOP+CA::1999.99' Cash form of payment
TVL+280513:2225:290513:0750+SIN+OOL+TZ+0006:S' First flight (TZ006 SIN-OOL 28MAY13)
RPI+1+HK' 1 passenger confirmed
TVL+310513:0900:310513:1500+OOL+SIN+TZ+0005:S' Second flight (TZ005 OOL SIN 31MAY13)
RPI+1+HK' 1 passenger confirmed
ABI+4++++TZ' History item #1 by TZ user/system
DAT+T:230513:1813' Action taken 23MAY 18 :13Z
SAC+++X' Action was cancellation
IFT+4:19+XF MC 0 VANDENBERG KEVIN 20 00' History item system-specific details
ABI+4++++TZ' History Item #2 by TZ user/system
DAT+T:230513:1829' Action taken 23MAY 18:29Z
SAC+++X' Action was cancellation
IFT+4:19+ F 28MAY13 SIN OOL 2225 0750 TZ 6 HK SFLY 590 82' History item system-specific details
TVL+280513::290513+SIN+OOL+TZ+0006:S' Canceled item was flight TZ006 in S class
RPI+1+HK' For a party of 1
SAC+++X' Action was cancellation
IFT+4:19+ F 31MAY13 OOL SIN 0900 1500 TZ 5 HK SFLY 582 81' History item system-specific details
TVL+310513::310513+OOL+SIN+TZ+0005:S' Canceled item was flight TZ005 in S class
RPI+1+HK' For a party of 1
ABI+4++++TZ' History item #3 by TZ user/system
DAT+T:230513:2124' Action taken 23MAY13 at 21:24Z
SAC+++A' Action to add content
IFT+4:19+ P CA 1 173 63 SGD' History item system-specific details
SAC+++A' Action to add content
IFT+4:19+ F 28MAY13 SIN OOL 2225 0750 TZ 6 HK SFLY 590 82' History item system-specific details
TVL+280513::290513+SIN+OOL+TZ+0006:S' Added item was flight TZ006 in S class
RPI+1+HK' For a party of 1
SAC+++A' Action to add content
IFT+4:19+ F 31MAY13 OOL SIN 0900 1500 TZ 5 HK SFLY 582 81' History item system-specific details
TVL+310513::310513+OOL+SIN+TZ+0005:S' Added item was flight TZ005 in S class
RPI+1+HK' For a party of 1
SRC' 2nd PNR
RCI+TZ:D1RGHI::230513:183845' Airline locator D1RGHI, created 23 May 2013 at 18:38Z
DAT+700:230513:1838+710:230513:1838' Last modified 23 May 13 at 18:38Z
Paid 23 May 13 at 18:38
ORG+TZ:SYS+++++:SGD' Booking originated by a TZ system user
ADD++700:9874 HILLY DRIVE:ST LOUIS:MO::US:63124:H5555551212 ' Reservation contact information including address and
telephone numbers
TIF+DYE+DOLANMR:A:43577' First Passenger (Adult) name and Unique ID
FTI+RI:438QZ99' Frequent traveler information
REF+:43577' Security related unique ID
FAR+A+23++++SFLY+SFLY' Adult fare with fare basis codes
SSR+DOCS:HK:1:TZ:::::/P/USA/159264375/USA/01FEB90/M/20NOV19/DYE/DOLA Passport details
N+::43577'
SSR+DOCA:HK:1:TZ:::::/D/AUS/13 SHORE Destination address
AVENUE/BROADBEACH/QLD/4215+::43577'
TKT+:702' Externally Issued E-ticket
MON+B:999.99:SGD+T:1999.99:SGD' Base and Total fare
TXD++99.99::SGD:BK+99.99::SGD:OO+99.99::SGD:SG+99.99::SGD:WY+99.99::S Tax details
77
PADIS EDIFACT Implementation Guide – PNRGOV Message
GD:OP+99.99::SGD:AU+99.99::SGD:WG+99.99::SGD:WY'
DAT+710:230513:1838' Date of most recent payment
FOP+CA::9999.99' Payment was in cash
TIF+DYE+KAYLAMS:A:43578:1' Second Passenger (Adult) name and Unique ID.
Passenger is accompanied by an infant in lap
REF+:43578' Security related unique ID
FAR+A+20++++SFLY+SFLY' Adult fare with fare basis codes
SSR+DOCS:HK:1:TZ:::::/P/USA/345678901/USA/07APR93/F/15DEC18/DYE/KAYL Passport details
A+::43578'
SSR+DOCA:HK:1:TZ:::::/D/AUS/13 SHORE Destination address details
AVENUE/BROADBEACH/QLD/4215+::43578'
TKT+:702' Externally Issued E-ticket
MON+B:999.99:SGD+T:1999.99:SGD' Base and Total fare
TXD++99.99::SGD:BK+99.99::SGD:OO+99.99::SGD:SG+99.99::SGD:WY+99.99::S Tax details
GD:OP+99.99::SGD:AU+99.99::SGD:WG+99.99::SGD:WY'
DAT+710:230513:1838' Date and time of payment
TIF+DYE+ARCHER:IN:43578I' Third passenger (infant) name and unique ID
REF+:43578I' Security related unique ID
FAR+IN+1' Infant fare was applied
SSR+DOCS:HK:1:TZ:::::/P/USA/654321987/USA/15APR12/MI/31DEC19/DYE/ARC Passport details
HER+::43578I'
TKT+:702' Externally Issued E-ticket
TVL+270513:1915:280513:1505+LHR+SIN+BA+0011:L' First Flight (BA 0011 in L class) (informational)
RPI+2+HK' Confirmed for 2 seats
TVL+280513:2225:290513:0750+SIN+OOL+TZ+0006:S' Second Flight (TZ0006 in S class)
RPI+2+HK' Confirmed for 2 seats
SSR+SEAT:HK:1:TZ:::SIN:OOL+54A::43577:N' Passenger 1 is in seat 54A
SSR+SEAT:HK:1:TZ:::SIN:OOL+54B::43578:N' Passenger 2 is in seat 54B
SSR+TKNE:HK:1:TZ:::SIN:OOL:9631270001234C2+::43577' Passenger 1 e-ticket and coupon numbers
SSR+TKNE:HK:1:TZ:::SIN:OOL:9631270001235C2+::43578' Passenger 2 e-ticket and coupon numbers
SSR+TKNE:HK:1:TZ:::SIN:OOL:INF9631270001236C2+::43578I' Infant e-ticket and coupon numbers
SSR+SPEQ:HK:1:TZ:::SIN:OOL+::43577' Passenger 1 has sports equipment
SSR+IFET:HK:1:TZ:::SIN:OOL+::43578' Passenger 2 ordered In-Flight entertainment
SSR+INFT:HK:1:TZ:::SIN:OOL:DYE/ARCHER 15APR12+::43578' Passenger 2 has an infant in arms on this flight
TVL+050613:0900:050613:1500+OOL+SIN+TZ+0005:S' Third flight (TZ0005 in S class)
RPI+2+HK' Confirmed for 2 seats
SSR+SEAT:HK:1:TZ:::OOL:SIN+54A::43577:N' Passenger 1 is in seat 54A
SSR+SEAT:HK:1:TZ:::OOL:SIN+54B::43578:N' Passenger 2 is in seat 54B
SSR+TKNE:HK:1:TZ:::OOL:SIN:9631270001234C3+::43577' Passenger 1 e-ticket and coupon numbers
SSR+TKNE:HK:1:TZ:::OOL:SIN:9631270001235C3+::43578' Passenger 2 e-ticket and coupon numbers
SSR+TKNE:HK:1:TZ:::OOL:SIN:INF9631270001236C3+::43578I' Infant e-ticket and coupon numbers
SSR+SPEQ:HK:1:TZ:::OOL:SIN+::43577' Passenger 1 has sports equipment
SSR+IFET:HK:1:TZ:::OOL:SIN+::43578' Passenger 2 ordered in-flight entertainment
SSR+INFT:HK:1:TZ:::OOL:SIN:DYE/ARCHER 15APR12+::43578' Passenger 2 has an infant in arms on this flight
TVL+050613:2255:060613:0500+SIN+LHR+BA+0012:D' Fourth flight (BA 0012 in D class) (informational)
RPI+2+HK' Confirmed for 2 seats
SRC' 3rd PNR
RCI+TZ:GBFKSK::230513:184819' Airline locator GBFKSK, created 23MAY13 at 18:48Z
DAT+700:230513:1849' Last modified 23 May 2013 at 18:49
No payments received
ORG+TZ:SYS+++++:SGD' Originated by a TZ System user
ADD++700:2431 MOPAC EXPRESSWAY:AUSTIN:TX::US:78750:H5125551212 ' Booking contact address and phone number
TIF+ACME TEAM PARTY:G' Group Name for Group PNR
TIF+CAPSON+LISALMS:A:43579' First name received. Adult passenger with Unique ID
REF+:43579' Security-related unique ID
FAR+A+++++ZSCTBIZ+SFLY' Adult fare will be used with included fare basis codes
TKT+:700' No ticket information is received
MON+B:999.99:SGD+T:1999.99:SGD' Base and total fare to be collected
TXD++99.99::SGD:BK+99.99::SGD:OO+99.99::SGD:SG+99.99::SGD:WY+99.99::S Tax details
GD:OP+99.99::SGD:AU+99.99::SGD:WG+99.99::SGD:WY'
TIF+CAPSON+HUNTER:A:43580' Second name received. Adult passenger with Unique ID
REF+:43580' Security-related unique ID
FAR+A+21++++ZSCTBIZ+SFLY' Adult fare will be used with included fare basis codes
SSR+DOCS:HK:1:TZ::::://///27APR92/M//CAPSON/HUNTER+::43580' Secure Flight Passenger Data
TKT+:700' No ticket information is received
MON+B:999.99:SGD+T:1999.99:SGD' Base and total fare to be collected
TXD++99.99::SGD:BK+99.99::SGD:OO+99.99::SGD:SG+99.99::SGD:WY+99.99::S Tax details
GD:OP+99.99::SGD:AU+99.99::SGD:WG+99.99::SGD:WY'
TIF+ALLEN+SETH:A:43581' Third name received. Adult passenger with Unique ID
REF+:43581' Security related unique ID
FAR+A+++++ZSCTBIZ+SFLY' Adult fare will be used with included fare basis codes
TKT+:700' No ticket information is received
MON+B:999.99:SGD+T:1999.99:SGD' Base and total fare to be collected
TXD++99.99::SGD:BK+99.99::SGD:OO+99.99::SGD:SG+99.99::SGD:WY+99.99::S Tax details
GD:OP+99.99::SGD:AU+99.99::SGD:WG+99.99::SGD:WY'
TIF+TBA+C:A:43582' Fourth name TBA
REF+:43582'
FAR+A+++++ZSCTBIZ+SFLY' Adult fare quote
TKT+:700' No ticket information is received
MON+B:999.99:SGD+T:1999.99:SGD' Base and total fare to be collected
TXD++99.99::SGD:BK+99.99::SGD:OO+99.99::SGD:SG+99.99::SGD:WY+99.99::S Tax details
GD:OP+99.99::SGD:AU+99.99::SGD:WG+99.99::SGD:WY'
TIF+TBA+D:A:43583' Fifth name TBA
REF+:43583'
FAR+A+++++ZSCTBIZ+SFLY' Adult fare quote
TKT+:700' No ticket information is received
MON+B:999.99:SGD+T:1999.99:SGD' Base and total fare to be collected
78
PADIS EDIFACT Implementation Guide – PNRGOV Message
79
PADIS EDIFACT Implementation Guide – PNRGOV Message
In this example the PNRGOV message is sent 24 hours prior to departure for AM flight (MTY-LAS), containing one
PNR booked by AM.
Assumptions:
- Mexico requires PNRGOV messages both for outbound and inbound flights
- 24h trigger used- no check-in data present
- No history and ticketing data (only TKNE SSRs) present-Phase 2
UNA:+.?*'
UNB+IATA:1+AM+MXPNRGOV+130522:1540+13052210400995+PNRGOV' Interchange header-sender/receiver/date
UNG+PNRGOV+AM+MXPNRGOV+130522:1540+13052210400995+IA+11:1' Functional group header
UNH+13052210400995+PNRGOV:11:1:IA+AM498/230513/1142' Message header
MSG+:22' Code to specify the message function
ORG+AM' The originator of the request is AM
TVL+230513:1039:230513:1142+MTY+LAS+AM+498' PNR data for AM498/23MAY13 MTY LAS
EQN+1' Total numbers of PNRs
SRC'
RCI+AM:XXXYET::300413:115500' Passenger record reference
SSR+OTHS:::::::: ADV TKT NUMBER BY 03MAY13 1800CO OR WILL CANCEL' Special requirements /general information-applies to all
SSR+OTHS:::::::: IF THE FARE RULE TL DIFFERS FROM THE AUTOMATIC' Flights and all passengers
SSR+OTHS:::::::: TL THE MOST RESTRICTIVE TL WILL APPLY'
DAT+700:180513:1502' Ticket issue / last PNR transaction date/Time
ORG+AM:BOG' Booked by AM, BOG agent
TIF+TESTSURNAMEONE+TESTNAMEONE MRS:A:1.1:1' Adult passenger’s name & surname
SSR+INFT:NN:1:AM:::::TESTSURNAMETWO/TESTNAMETWO/10AUG11+::1.1' Infant information: surname/name/DOB
SSR+INFT:NN:1:AM:::::TESTSURNAMETWO/TESTNAMETWO/10AUG11+::1.1' Infant information: surname/name/DOB
SSR+TKNE:HK:1:AM:::MEX:CUN:1392178947000C2+::1.1' Ticketing details for adult MEX CUN
SSR+TKNE:HK:1:AM:::CUN:BOG:1392178947000C3+::1.1' Ticketing details for adult CUN BOG
SSR+TKNE:HK:1:AM:::MEX:CUN:INF1392178947000C2+::1.1' Ticketing details for infant MEX CUN
SSR+TKNE:HK:1:AM:::CUN:BOG:INF1392178947000C3+::1.1' Ticketing details for infant CUN BOG
SSR+DOCS:HK:1:AM:::::/P/CO/52263000/CO/30MAY76/F/31OCT15/TESTSURNAM Passport information for adult
EONE/TESTNAMEONE MRS+::1.1'
SSR+DOCS:HK:1:AM:::::/P/COL/AO234000/COL/10AUG11/FI/21DEC22/TESTSUR Passport information for infant
NAMETWO/TESTNAMETWO+::1.1'
TIF+TESTSURNAMETWO+TESTNAMETWO:IN:2.1' Infant passenger’s name & surname
IFT+4:28+AM INF' OSI free text information
TVL+150513:0105:150513:0557+BOG+MEX+AM+709:R' PNR data for AM709/15MAY13 BOG MEX
RPI+1+YG' Flight booking status for 1 adult passenger
APD+737' Equipment Type- Boeing 737
RCI+AM:XXXYET::300413:115500' AM passenger record reference
TVL+190513:1500:190513:1710+MEX+CUN+AM+445:S' PNR data for AM445/19MAY13 MEX CUN
RPI+1+HK' Flight booking status for 1 adult passenger
APD+738' Equipment Type
SSR+INFT:NN:1:AM:::::TESTSURNAMETWO/TESTNAMETWO/10AUG11' Infant information: surname/name/DOB
SSR+TKNE:HK:1:AM:::MEX:CUN:1392178947000C2' Ticketing details for adult MEX CUN
SSR+TKNE:HK:1:AM:::MEX:CUN:INF1392178947000C2' Ticketing details for infant MEX CUN
RCI+AM:XXXYET::300413:115500' AM passenger record reference
TVL+230513:0135:230513:0500+CUN+BOG+AM+718:Q' PNR data for AM718/23MAY13 CUN BOG
RPI+1+HK' Flight booking status for 1 passenger
APD+737' Equipment Type
SSR+INFT:NN:1:AM:::::TESTSURNAMETWO/TESTNAMETWO/10AUG11' Infant information: surname/name/DOB
SSR+TKNE:HK:1:AM:::CUN:BOG:1392178947000C3' Ticketing details for adult CUN BOG
SSR+TKNE:HK:1:AM:::CUN:BOG:INF1392178947000C3' Ticketing details for infant CUN BOG
RCI+AM:XXXYET::300413:115500' AM passenger record reference
UNT+42+13052210400995’ Message trailer corresponding UNH segment
UNE+1+13052210400995’ Functional group trailer corresponding UNG
UNZ+1+13052210400995’ Interchange trailer
80
PADIS EDIFACT Implementation Guide – PNRGOV Message
In this example the PNRGOV message is sent 24 hours prior to departure for AM flight (MTY-LAS).
Assumptions:
- Mexico requires PNRGOV messages both for outbound and inbound flights
- 24h trigger used- no check-in data present
- No history and ticketing data (only TKNE SSRs) present-Phase 2
UNA:+.?*'
UNB+IATA:1+AM+MXPNRGOV+130522:1540+13052210400995+PNRGOV' Interchange header-sender/receiver/date
UNG+PNRGOV+AM+MXPNRGOV+130522:1540+13052210400995+IA+11:1' Functional group header
UNH+13052210400995+PNRGOV:11:1:IA+AM498/230513/1142' Message header
MSG+:22' A code to specify the message function
ORG+AM' The originator of the request is AM
TVL+230513:1039:230513:1142+MTY+LAS+AM+498' PNR data for AM498/23MAY13 MTY LAS
EQN+2' Total numbers of PNRs
SRC'
RCI+AM:ICOXXX::120413:175500' AM passenger record reference
DAT+700:120413:2044' Ticket issue / last PNR transaction date/Time
IFT+4:28+AM 045 81 8396 0000/TESTNAMEONE TESTSURNAMEONE' OSI free text information- contact details
IFT+4:28+AM PNR UNDER AM TRAVEL UNIT LT Q/000'
IFT+4:28+AM CTCP MEX1800 002 5200 DOMESTIC TOLL FREE'
IFT+4:28+AM CTCP MEX1866 252 5200 USA AND CAN TOLL FREE'
IFT+4:28+AM CTCP MEX52 55 4446 0000 FAX'
IFT+4:28+AM CTCH MEX01 81 8336 6900 H'
IFT+4:28+AM CTCP MEX045 81 8396 1000 M'
ORG+AM:TTY' Booked by AM, TTY agent
TIF+TESTSURNAMEONE+TESTNAMEONE MRS:A:1.1' 1st adult passenger’s name & surname
FTI+AM:511650000' Frequent traveler information (airline/no.)
SSR+TKNE:HK:1:AM:::MTY:LAS:1393207166000C1+::1.1' Ticketing details for 1st adult MTY LAS
SSR+TKNE:HK:1:AM:::LAS:MTY:1393207166000C2+::1.1' Ticketing details for 1st adult LAS MTY
TIF+TESTSURNAMEONE+TESTNAMETWO MR:A:2.1' 2nd adult passenger’s name & surname
SSR+TKNE:HK:1:AM:::MTY:LAS:1393207166000C1+::2.1' Ticketing details for 2nd adult MTY LAS
SSR+TKNE:HK:1:AM:::LAS:MTY:1393207166000C2+::2.1' Ticketing details for 2nd adult LAS MTY
TVL+230513:1039:230513:1142+MTY+LAS+AM+498:A' PNR data for AM498/23MAY13 MTY LAS
RPI+2+HK' Flight booking status for 2 adult passengers
APD+738' Equipment Type
SSR+SEAT:DK:2:AM:::MTY:LAS:.03BN03AN' Seat information for MTY LAS for 2pax
SSR+TKNE:HK:1:AM:::MTY:LAS:1393207166000C1' Ticketing details for MTY LAS
SSR+TKNE:HK:1:AM:::MTY:LAS:1393207166000C1' Ticketing details for MTY LAS
RCI+AM:ICOXXX::120413:175500' AM passenger record reference
TVL+260513:1311:260513:1800+LAS+MTY+AM+499:A' PNR data for AM499/26MAY13 LAS MTY
RPI+2+HK' Flight booking status for 2 adult passengers
APD+738' Equipment Type
SSR+SEAT:DK:2:AM:::LAS:MTY:.03BN03AN' Seat information for LAS MTY for 2 passengers
SSR+TKNE:HK:1:AM:::LAS:MTY:1393207166000C2' Ticketing details for MTY LAS
SSR+TKNE:HK:1:AM:::LAS:MTY:1393207166000C2' Ticketing details for MTY LAS
RCI+AM:ICOXXX::120413:175500' AM passenger record reference
SRC'
RCI+AM:BJOXXX::110513:114800' AM passenger record reference
DAT+700:190513:0521' Ticket issue / last PNR transaction date/Time
IFT+4:28+AM CTCBOG 571-600 5820-A-COTOURIST COLOMBIA' OSI free text information
IFT+4:28+AM CTCT BOG 571 600 5830 A'
IFT+4:28+AM CTCP BOG 571 600 5820 A PBX'
IFT+4:28+AM RLOC HDQ1SYDIXXZ'
ORG+AM:TTY' Booked by AM, TTY agent
TIF+TESTSURNAMETHREE+TESTNAMETHREE MR:A:1.1' Adult passenger’s name & surname
SSR+TKNE:HK:1:AM:::BOG:CUN:.1393534576000C1+::1.1' Ticketing details for BOG CUN
SSR+TKNE:HK:1:AM:::CUN:BOG:.1393534576000C2+::1.1' Ticketing details for BOG CUN
SSR+DOCS:HK:1:AM:::::/P/CO/AO589000/CO/14OCT94/M/08MAY23/TESTSURNA Passport information
METHREE/TESTNAMETHREE+::1.1'
SSR+CKIN:NN:1::::::WEBCHKIN+::1.1' Check-in information SSR data
SSR+CKIN:NN:1::::::BAGS TO CHECK 1+::1.1' Check-in information SSR data
TVL+190513:0700:190513:1030+BOG+CUN+AM+719:V' PNR data for AM719/19MAY13 BOG CUN
RPI+1+HK' Flight booking status for 1 adult passenger
APD+738' Equipment Type
SSR+TKNE:HK:1:AM:::BOG:CUN:.1393534576000C1' Ticketing details for BOG CUN
RCI+AM:BJOXXX::110513:114800' AM passenger record reference
TVL+230513:0135:230513:0500+CUN+BOG+AM+718:V' PNR data for AM718/23MAY13 CUN BOG
RPI+1+HK' Flight booking status for 1 passenger
APD+737' Equipment Type
SSR+TKNE:HK:1:AM:::CUN:BOG:.1393534576000C2' Ticketing details CUN BOG
RCI+AM:BJOXXX::110513:114800' AM passenger record reference-new PNR
EQN+1' Split
RCI+AM:ZLMXXX::110513:114800' AM passenger record reference-original (split from)PNR
UNT+64+13052210400995’ Message trailer corresponding UNH segment
UNE+1+13052210400995’ Functional group trailer corresponding UNG
UNZ+1+13052210400995’ Interchange trailer
81
PADIS EDIFACT Implementation Guide – PNRGOV Message
All amounts have been neutralized to ensure there is no hint of price sensitivity. All passenger and address data is
fictitious.
The following examples indicate the combination of MSG and EQN Segments in PNRGOV messages:
- Data element 1225 of composite C302 in the MSG segment is used to indicate whether the transmission is a
Full transmission of all PNR data for a flight (22), or changed PNRs only (141).
- Data element 6350 of composite C523 in the EQN segment is used to indicate the number of PNRs transmitted
in the message
The combination of the values in these two elements can be used to indicate several conditions:
Example 1: A transmission is made for a flight that has no passengers (no PNRs)
UNB+IATA:1+TZ+AUCBPS+130523:2210+00102181551362'
UNG+PNRGOV+TZ+AUCBPS+130523:2210+00102181551362+IA+11:1'
UNH+00102181551362+PNRGOV:11:1:IA+AUTZ000623052013221001SIN20130528'
MSG+:22' PNR Data to State (full push)
ORG+TZ:MSP+++TZ:SYS+++HOLMESS'
TVL+280513:2225:290513:0750+SIN+OOL+TZ+0006' For flight TZ 0006 from SIN to OOL
EQN+0' No PNRs on flight
UNT+6+00102181551362'
UNE+1+00102181551362'
UNZ+1+00102181551362'
Example 2: There are no updated PNRs since the previous transmission for this flight
UNB+IATA:1+TZ+AUCBPS+130523:2210+00102181551362'
UNG+PNRGOV+TZ+AUCBPS+130523:2210+00102181551362+IA+11:1'
UNH+00102181551362+PNRGOV:11:1:IA+AUTZ000623052013221001SIN20130528'
MSG+:141' PNR Data to State (update)
ORG+TZ:MSP+++TZ:SYS+++HOLMESS'
TVL+280513:2225:290513:0750+SIN+OOL+TZ+0006' For flight TZ 0006 from SIN to OOL
EQN+0' 0 PNRs updated
UNT+6+00102181551362'
UNE+1+00102181551362'
UNZ+1+00102181551362'
Example 3: A single PNR has been updated since the previous transmission for this flight (multiple PNRs exist)
UNB+IATA:1+TZ+AUCBPS+130523:2210+00102181551362'
UNG+PNRGOV+TZ+AUCBPS+130523:2210+00102181551362+IA+11:1'
UNH+00102181551362+PNRGOV:11:1:IA+AUTZ000623052013221001SIN20130528'
MSG+:141' PNR Data to State (update)
ORG+TZ:MSP+++TZ:SYS+++HOLMESS'
TVL+280513:2225:290513:0750+SIN+OOL+TZ+0006' For flight TZ 0006 from SIN to OOL
EQN+1' 1 PNR updated
SRC' Start of 1st PNR
RCI+TZ:W9TEND::230513:181348' Airline locator W9TEND, created 23 May 2013 at 18:13Z
DAT+700:230513:2125+710:230513:2124' Last modified 23 May 2013 at 21:25Z
Payment made 23 May 2013 at 21:24Z
ORG+TZ:SYS+++++:SGD'
ADD++700:123 ANY STREET:LAKE TOWN:MN::US:55123:H5555555555 W 1 555 555
5555 '
TIF+VANDENBERG+KEVINMICHAELMR:A:43576'
REF+:43576'
FAR+A+32++++SFLY+SFLY'
SSR+DOCS:HK:1:TZ:::::/P/USA/548721687/USA/04JUL80/M/12JAN19/VANDENBERG
/KEVIN/MICHAEL+::43576'
TKT+:700'
MON+B:999.00:SGD+T:1999.99:SGD'
TXD++99.99::SGD:BK+99.99::SGD:OO+99.90::SGD:SG+99.99::SGD:WY+99.99::SGD
:OP+99.99::SGD:AU+99.99::SGD:WG+99.99::SGD:WY'
DAT+710:230513:2124'
FOP+CA::1999.99'
TVL+280513:2225:290513:0750+SIN+OOL+TZ+0006:S'
RPI+1+HK'
TVL+310513:0900:310513:1500+OOL+SIN+TZ+0005:S'
RPI+1+HK'
ABI+4++++TZ' History item #1 by TZ user/system
DAT+T:230513:1813' Action taken 23MAY 18 :13Z
SAC+++X' Action was cancellation
82
PADIS EDIFACT Implementation Guide – PNRGOV Message
83
PADIS EDIFACT Implementation Guide – PNRGOV Message
1 INTRODUCTION
This document is intended to provide guidance to airlines, System Suppliers and States who are implementing the
PNRGOV message. The information contained in this document should be utilized in conjunction with the current
PNRGOV implementation Guide. This document is a living document and will be updated for any future requirements /
principles as agreed by the Working Group.
The PNRGOV message is designed to comply with States’ Legislation for the provision of PNR data from Carriers. Its
receipt and processing by a State may be acknowledged with an ACKRES message. However there are certain cases
when it is appropriate to return a CONTRL message.
1.1 Purpose
The purpose of this document is to clearly define the recommended method for handling the interchange of PNRGOV
messages including the use of ACKRES and CONTRL messages for the acknowledgement of message transfer and
processing status.
1.2 Scope
The scope of this document is to provide relevant information in conjunction with the implementation guide to ensure a
consistent approach to implementation. It will also identify, where necessary, any bilateral agreements that need to be
implemented for the usage of the PNRGOV, ACKRES and CONTRL messages.
1.3 Background
The PNRGOV message has been developed under the auspices of the PADIS Board. The message structure and the
contents of the message are designed to provide a consistent approach for all Carriers required to provide PNR
information to States. In order to provide a mechanism to acknowledge receipt and/or processing of a message, the
ACKRES message has also been defined. This message may be sent by a State to a Carrier by bilateral agreement.
The basis for the PNRGOV messages is PADIS EDIFACT, which in turn is based on UN EDIFACT (ISO 9735).
PADIS EDIFACT also defines the CONTRL message as a mechanism that can be used to acknowledge receipt and
indicate processing status of a message interchange.
This document discusses common use of CONTRL as opposed to functional response messages (e.g. ACKRES) in the
airline industry, and makes recommendations for handling PNRGOV interchanges in a consistent manner.
1.4 References
PADIS Codeset Directory
PADIS Message Standards
ISO 9735
1.5.1 Assumptions
It is assumed that PNRGOV processing will be handled largely asynchronously based on exchange with a queuing
technology. However other technologies may be used for message exchange (transport), such as web services, IATA
Host-to-Host, etc. It is equally possible that completion of the message exchange indicates only receipt of the message,
or also its processing.
Any technology used for transport of messages may or may not provide message delivery assurance / acknowledgement
outside of the EDIFACT layer. Any such delivery assurance provided by those layers may be acceptable (as per bilateral
agreement between the Carrier and the State) and is beyond the scope of this document.
If message interchange acknowledgement and processing status is desired in lieu of or in addition to that provided by the
underlying transport, it is recommended that it is handled as described in this document.
1.5.2 Constraints
The protocol for message delivery depends on the capability of the States and Carriers. The protocol to be used
is agreed on a bilateral basis.
84
PADIS EDIFACT Implementation Guide – PNRGOV Message
The software architecture used by each Carrier and State may vary in its handling of each layer of the
EDIFACT messages. Variances in architectures may contribute to an organization’s ability to generate specific
acknowledgement types.
Individual State legislation may drive specific functional requirements for handling of acknowledgements.
Acknowledgment of Receipt may or may not indicate Successful Processing of the message. Definitions of
Receipt, Processing Status and Rejection must be clear such that the Carrier can react appropriately.
85
PADIS EDIFACT Implementation Guide – PNRGOV Message
1. A conditional Service String Advice (UNA) - a fixed length structure required at the beginning of the message
only if non-standard delimiter characters are used.
2. Service Segments (UNB-UNZ) – a set of segments used to envelope the interchange itself, functional groups of
messages within an interchange, and each individual message.
3. User Data Segments – functional segments as required comprising each individual message.
The Message Header segment (UNH) precedes the first functional segment in the message and indicates the
message type (e.g. PNRGOV), version and release (e.g. 11:1) and controlling agency (e.g. IA). It also may
contain a common access reference (CARF) that can be used to communicate a relationship among
messages.
86
PADIS EDIFACT Implementation Guide – PNRGOV Message
The Message Trailer segment (UNT) follows the last functional segment in the message and indicates the
number of segments in the message (both functional and envelope).
87
PADIS EDIFACT Implementation Guide – PNRGOV Message
1. Determine if the interchange begins with a Service String Advice (UNA) segment.
This segment is used by a sender to define the characters selected for use as delimiters and indicators in the rest
of the interchange that follows (ISO 9735). If present, the 6 characters following the UNA tag should be used
by the receiving handler to parse the interchange. If not present, default delimiters and indicators should be
used.
a. If there is an error processing the UNA and the receiving handler can identify the sender of the
interchange based on the transport, configuration or other means, it may elect to return a CONTRL
message to the sender. This CONTRL message would have to be quite generic (or hard-coded), as no
part of the interchange could actually be parsed or interpreted in order to properly populate a
corresponding CONTRL.
b. Note: Once the effective delimiter set has been determined, the handler may elect to parse the entire
interchange into a collection of segments, composites and elements. This allows validation of the
envelopes as well as the general structure of the interchange before invocation of functional logic.
2. Using the selected (default or modified by UNA) delimiters, parse the Interchange Header (UNB).
a. If there is a failure to parse a valid UNB, and the receiving handler can identify the sender of the
interchange as mentioned in 1.a. above, it may elect to return a CONTRL message to the sender.
b. Upon successful parsing of the UNB, the receiving handler can identify the interchange syntax and
version, interchange sender, interchange receiver, interchange generation date/time, and Interchange
Sender’s reference. These values may be validated against those obtained from configuration or
transport layer, or used to identify the sending and receiving systems for the interchange in order to
continue processing.
3. Continue parsing the Functional Group Header (UNG).
Although the PNRGOV implementation guide and message structure does not indicate the use of the Functional
Group envelope, the interchange headers may be processed on a messaging tier that handles various incoming
message types, others of which do use functional group headers.
a. If this is the case, then the handler may use values obtained from this functional group header for
further validation/processing.
b. If this is not the case, then the application may choose to ignore the UNG, or may choose to generate a
CONTRL message if one is encountered. When generating a CONTRL message in this case, the
Interchange envelope in the CONTRL message should contain values corresponding to the Interchange
envelope from the message received.
88
PADIS EDIFACT Implementation Guide – PNRGOV Message
a. If the specific message type cannot or should not be processed or is otherwise unexpected, a CONTRL
message should be returned to the sender indicating the reason the message is being rejected (e.g.
version not supported, etc.)
5. Continue parsing the functional segments comprising the message.
A handler for the message-type-specific segments should be invoked on each segment encountered until the
Message Trailer (UNT) segment. Some architectures include message-specific parsing and structural validation
at the EDIFACT handler tier, while others defer that processing until a later phase or on another tier.
The UNT contains an element indicating the number of segments in the message (inclusive of UNH/UNT).
This value may be validated against the number of functional segments received.
a. Any errors in locating the UNT or parsing the functional segments due to delimiter/structural issues
should result in a CONTRL message being returned to the interchange sender. Code set 0085 includes
a number of specific errors that may be returned in the UCI and UCM segments. The UCI and UCM
segments also include elements in which the context of the error may be specified (e.g. tag name and
ordinal number of the segment having in which the error was encountered, etc.).
b. Please note that a CONTRL is not generally appropriate for indication of functional errors
encountered while processing the functional segments of message. If functional processing of the
message is invoked in-process, functional errors should return a functional response (e.g. ACKRES).
Errors in validation of syntax or structure (e.g. data type or field length violations) of the functional
segments may result in a CONTRL.
6. Hand the parsed data to the functional processing modules appropriate for the message.
This hand-off may be in-process or may be via a message queuing technology, etc. as architected by the State.
a. These modules may perform detailed transformation of the data into internal structures, and if they
encounter a structural error, may also return a CONTRL message to the interchange sender.
b. If no structural error is encountered, a CONTRL message indicating receipt or successful processing of
the interchange may be returned to the sender. However, this is not common practice if a functional
response message is available (ACKRES). It should only be considered if the EDIFACT handler tier is
handing off the message content for later processing by the application, and a more immediate
confirmation of receipt is required. In this case, the CONTRL message should only be considered as
acknowledgement of receipt, not of processing.
c. If no structural error is encountered and functional processing is expected to commence and complete
within a reasonable time frame, an ACKRES may be returned to the sender as a result of processing.
The ACKRES should indicate the processing status, such as having completed successfully or that the
message was rejected due to one or more specific errors.
d. The State may elect to send no acknowledgement at all. This may be appropriate if it has established
other means by which acknowledgement and status may be communicated (e.g. email, web site, etc.)
7. Process the next message in the interchange.
For PNRGOV, only one message per interchange is expected. However an inbound interchange being
processed by a common handler may contain additional messages.
8. Process the next functional group in the interchange.
For PNRGOV, functional groups are not applicable or expected. However an inbound interchange being
processed by a common handler may contain functional groups.
4 Acknowledgement Recommendations
PADIS standards deal with interactive messaging, in which a request/response pair of messages are exchanged
synchronously. The requesting application transmits the request message and synchronously waits for a response
message or an eventual time-out. It is always preferred to receive some form of response message rather than to require
the application to wait for a timeout period to expire.
Generally speaking, if there are any errors encountered in processing the service segments, the non-functional logic can
produce a CONTRL message indicating that there was a failure to hand the functional content off to the functional logic
module. However, if there are no errors in processing the envelope and the message is handed off to the functional logic,
then it is the responsibility of the functional logic to return an appropriate response message. In the case of PNRGOV,
that functional response message would be ACKRES.
While it is possible to use a CONTRL message to positively acknowledge receipt and/or processing of a PNRGOV
message, this practice is not commonly used in PADIS, especially when a functional response message is available. This
is particularly true in interactive scenarios since a 1:1 request/response pair is expected. If a CONTRL is sent as a
positive response, then the requesting system would have to receive a 2nd message containing the functional results from
the processing application. This practice results in redundant processing, extra I/O, increased bandwidth usage, etc.
PNRGOV, however, may not be handled as an interactive exchange. A State may not elect to send a functional response
in the form of an ACKRES, but still wish to convey acknowledgement of receipt of the PNRGOV message above and
beyond any acknowledgement provided by the transport layer. If the acknowledgment of receipt is strictly from a State’s
messaging tier, use of CONTRL may be acceptable. However if acknowledgement of receipt is from the State’s
application tier, use of ACKRES is still recommended.
4.2 Recommendations
The following table summarizes the recommendations for acknowledgement of receipt and processing in various
scenarios. Final decisions are up to each Carrier and State and should be bilaterally agreed upon. However these
recommendations provide guidance to Carriers and States looking to implement acknowledgment procedures.
Please note that although architectures vary, conceptually the EDIFACT message must first be received, parsed,
recognized and structurally validated. Then the message must be functionally processed. Although some States may
choose to do this in a single application, while others may separate the work, the table below separates the two functions
logically. Whichever application is handling the functions described in the second column of the table should generate
the recommended response.
90
PADIS EDIFACT Implementation Guide – PNRGOV Message
91
PADIS EDIFACT Implementation Guide – PNRGOV Message
92
PADIS EDIFACT Implementation Guide – PNRGOV Message
93
PADIS EDIFACT Implementation Guide – PNRGOV Message
5 Examples
UCI+99999999999999+XX+YY+8
Message/version not supported CONTRL
UCM+1432+PNRGOV:93:2:IA+4+2
MSG+:23+8
Error in processing / rejected (e.g. invalid departure date) ACKRES
ERC+102
94