Skip Navigation

Miscellaneous Sales And EMD

1.4.5
Air
SOAP API
Airline Carrier

Not Signed In.

Looks like you may not have access to all of the resources and documentation for this page.
Please log-in or contact your support desk team if you believe you should have access.

The Miscellaneous Sales And EMD (MISCServicesRQ) API is used for Electronic Miscellaneous Document (EMD) and Miscellaneous Sales and Services (MSR) transactions.

Target Audience
Airline Carrier
API Version
1.4.5
Authentication
Session Token
Service Action Code
MISCServicesRQ

EMD

The Electronic Miscellaneous Document (EMD) standards have been defined by IATA to replace all existing accountable documents used by carriers for the collection of ancillary service charges and miscellaneous fees. The EMD will, over time, replace the Miscellaneous Sales Receipt (MSR), Miscellaneous Charges Order (MCO), and the Excess Baggage Ticket (EXB).  The major benefits of the EMD are that it has a status, similar to electronic tickets, that manages how the document is used and stops invalid transactions such as refunds or exchanges when a service has already been provided. Revenue Accounting systems are able to recognize revenue in a more timely and accurate manner due to the automation of usage reporting. The EMD also has the ability to be employed for interline services as it is an “industry standard”, meaning that it can be integrated with services offered by partner carriers or distributed through GDS enabling sales across multiple channels.

There are two types of EMD, the Associated EMD (EMD-A) is issued for flight-related services and the coupons of the EMD are “associated” with the flight coupons of one or more eTickets, based upon a service on the flight segment they have been issued for. This association allows for the synchronization of status between the two documents. The Standalone EMD (EMD-S) is issued for the collection of miscellaneous fees which are not related to a specific flight. As there is no synchronization with a flight coupon for an EMD-S, its status is managed through other processes. In many cases, the EMD-S will be considered “CONSUMED AT ISSUANCE”, i.e., marked and reported as used at time of issuance. In other scenarios it may be left “OPEN” and subsequently refunded or exchanged, depending on the type of service it has been issued for.

Services exposed for an airline using EMD are:

  • Retrieve EMD Costs (GetPriceListRQ) - Provides ancillary pricing and data filed through OC filing > unable to locate. Refer to the merchandising team for further information.
  • Retrieve Passenger Name Record (GetReservationRQ) - Provides PNR details
  • Update PNR with EMD ancillary data (UpdateReservationRQ) - Provides the sell/book information of an ancillary and the corresponding PNR to be updated. Refer to the merchandising team for further information.
  • Ticketing service used to transact EMDs (CollectMiscFeeRQ) - Provides a ticket fulfillment (payment) service for ancillaries and issues EMDs (EMD-A and EMD-S)  
  • Used in EMD exchanges for computation (CalculateExchangeCostRQ - Calculates the value difference between the exchanged EMD and unfulfilled ancillaries. Provides the difference (additional collection, refund, or an even exchange) and the resulting residual value or additional collection amount.
  • Used in EMD-to-EMD exchanges (ExchangeDocumentforEMDRQ) - Completes the exchanges of one EMD and fulfills ancillaries by issuing one or more EMD documents.

MSR

The miscellaneous sales and service package provides and method for airlines to collect funds for the sale of miscellaneous items and services. This includes excess baggage transactions. The airlines create and maintain customized host tables for MSR transactions.  Upon completion, a Sabre-generated, paper document is issued.

Note: EMD is standardized and electronic, using automated pricing, whereas MSR is airline-specific, issues a paper document, and uses tables for pricing. 

Services exposed for an airline using MSR are:

  • Collect Miscellaneous Fee (CollectMiscFeeRQ) - Allows customer to pay for miscellaneous items. (This covers PSS functionality of MISC Mask FOP Screen)
  • Calculate Total Cost (CalculateTotalCostRQ) - Provide converted amounts, taxes, and total cost before collecting payment. (This covers PSS functionality of MISC Mask Screens 2/1, 2/2, 2/3, 2/4, 2/5, 3)
  • Get Miscellaneous Fees (GetMiscFeesRQ) - Provides a list of all fee items defined in the MISC fee tables. (This covers PSS entries MISC*ALL and MIXB*ALL)
  • Get Miscellaneous Fee Override (GetMiscOverrideRQ) - Provides a list of override reason codes for waiving a miscellaneous fee. (This covers PSS entries MISCO* and MIXBO*)
  • Waive Miscellaneous Fee (WaiveMiscFeeRQ) - Waive the miscellaneous fee. Waiver reported to override file - no MSR issued. (This covers PSS functionality of MISC Mask Screens 2/4, 2/5 and EXB thru ACS/ACSI with 'override' option)
Sample Request
<?xml version="1.0" encoding="UTF-8"?>
<!--Required. No repeats. Attribute version required, other attributes optional.-->
<!--Attribute version needs to match version of xsd.-->
<misc:ExchangeDocumentForEMDRQ version="1.4.5" xmlns="http://services.sabre.com/STL/v01" xmlns:misc="http://www.sabre.com/ns/Ticketing/misc/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sabre.com/ns/Ticketing/misc/1.0 Miscellaneous_v.1.4.5.xsd">
    <!--Required. No repeats.-->
    <!--Agent Point of sale data.-->
    <!--Attribute company is required. It represents the PSS/TPF/Host partition code (eg. AA, 5T, SY, etc.)-->
    <!--Attribute lniata is required. It represents the unique ID of the terminal or computer of the agent using the host system (line ID, interchange address, terminal address). It needs to be 6 valid hexadecimal digits.-->
    <!--Attribute sine is optional. It uniquely identifies the agent within the airline. It needs to be 3 alpha numeric characters.-->
    <!--Attribute dutyCode is optional. It is a single character representing the general authority given to the agent in the host system (eg 4, 5, 7, 8, $, etc.).-->
    <AgentPOS company="VA" dutyCode="5" lniata="7E16B9" sine=" AD">
        <!--Required. No repeats.-->
        <!--AAA = Agent Assembly Area. Generally contains a 3 character alpha city or airport code where the agent is located or from where he is representing himself for the sale of a miscellaneous item.-->
        <!--All attributes are optional.-->
        <!--Attribute country represents the country code where the AAA city is located. This is typically a two character alpha code.-->
        <!--Attribute number is the numeric station number associated with the agent. Generally multiple agents work in a station in a given location. Business transactions are often summarized by station as well as by agent. The station number is typically 7 digits long.-->
        <!--Attribute province represents the state or province code of the region within the country in which the AAA city is located. It's generally a 2 character alpha code.-->
        <AAA country="AU" number="02392320">SYD</AAA>
    </AgentPOS>
    <!--Required. No repeats.-->
    <!--Transaction identifying information.-->
    <!--Attribute code is required. It can only contain a value of EMD (Electronic Miscellaneous Documents) -->
    <Transaction code="EMD">
        <ID/>
    </Transaction>
    <Parameters>
        <PrinterLniata>31CA3A</PrinterLniata>
        <PrinterStock>2A</PrinterStock>
        <PrintTaxCpn>false</PrintTaxCpn>
    </Parameters>
    <!--Optional. May have up to 999 items.-->
    <!--Different item for each passenger/customer. May need multiples for a single passenger.-->
    <Fees>
        <!--Required. No repeats-->
        <!--Attributes required.-->
        <!--Attribute lastName is a string of 1 to 100 bytes.-->
        <!--Attribute firstName is a string ot 1 to 100 bytes-->
        <!--Attribute ignoreMismatch(optional) is a boolean value which indicates if name mismatch can be ignored or not-->
        <Customer firstName="KHLOE MS" lastName="KARDASH" ignoreMismatch="true">
            <!--Optional. No repeats.-->
            <!--Attributes all optional.-->
            <!--Attribute nameRefNumber is a name number associated to the traveller or purchaser in the PNR (e.g. 1.1)-->
            <!--Attribute nameId is a unique id in the PNR that is associated to a passenger name.-->
            <!--Attribute pnrLocator is a 6 character code that uniquely identifies the Passenger Name Record in the host system.-->
            <CustomerDetails nameRefNumber="2.1" pnrLocator="IQQLOM"/>
        </Customer>
        <!--Required. Up to 99 may be present.-->
        <Fee>
            <!--Required. No repeats.-->
            <!--Attribute code required. Represents the Passenger Revenue Accounting System (PRAS) code associated to the service or item.-->
            <!--Attribute description optional. Description of the purchased item or service.-->
            <!--Attribute quantity optional. The number of items purchased per PRAS code. Valid values: 1 - 99-->
            <FeeDetails code="820" quantity="1">
                <!--Required. No repeats. Base amount for the item.-->
                <!--Attributes optional.-->
                <!--Attribute currency is the name of the currency in which the Base is expressed.-->
                <!--Attribute currencyCode is the code of the currency in which the Base is expressed.-->
                <Base currencyCode="AUD">5.00</Base>
                <!--Optional. No repeats. Total tax of item.-->
                <!--Attributes optional.-->
                <!--Attribute currency is the name of the currency in which the TotalTax is expressed.-->
                <!--Attribute currencyCode is the code of the currency in which the TotalTax is expressed.-->
                <TotalTax currencyCode="AUD">44.12</TotalTax>
                <!--Required. No repeats. Total of base and tax of item.-->
                <!--Attributes optional.-->
                <!--Attribute currency is the name of the currency in which the Total is expressed.-->
                <!--Attribute currencyCode is the code of the currency in which the Total is expressed.-->
                <Total currencyCode="AUD">49.12</Total>
            </FeeDetails>
            <!--Optional. No repeats.-->
            <!--Attribute RFIC (required) is a Reason For Issuance Code as defined by ATPCO. Sample values can be: A - Air Transportation, B - Surface Transportation, C - Baggage, D - Financial Impact, E - Airport Services, F - Merchandising, G - Inflight Services, I - Individual Airline Use-->
            <!--Attribute subCode (required) is a 3-alphanumeric character reason for issuance subcode assigned to a service or fee item as defined by ATPCO.-->
            <!--Attribute ssrCode (optional) is the Special Service Request code used in the PNR to help identify the miscellaneous item to the PNR subsystem within the TPF host. It's alphanumeric string length 4. NOT USED at this time.-->
            <!--Attribute name (required) is the commercial name of a service or fee as defined by ATPCO.-->
            <!--Attribute group (required) is a group code associated to a service or fee as defined by ATPCO.  Sample values can be: BG - Baggage, GT - Ground Transportation -->
            <!--Attribute segmentIndicator (optional) is a one-character value which indicates if the ancillary item applies to a segment S (one city pair) or a portion P (multiple segments).-->
            <!--Attribute taxable (optional) is a boolen value the determines whether the item is taxable or not.  Not used at this time.-->
            <OptionalService RFIC="C" group="Pets" name="PET IN CABIN" segmentIndicator="P" subCode="0BT" taxable="true">
                <!--Required. No repeats.-->
                <!--Type of EMD. -->
                <EmdType>Associated</EmdType>
                <!--Required. No repeats.-->
                <!--Numeric value assigned to an Air Extra (AE) item in the PNR and is used for updating the AE. -->
                <AirExtraItemNumber>64</AirExtraItemNumber>
                <!--Optional. No repeats.-->
                <!--The carrier which files the fee and is considered the owner of such fee. -->
                <OwningCarrierCode>VA</OwningCarrierCode>
                <!--Optional. No repeats.-->
                <!--Indicators or parameters that can be applied to a fee as defined by IATA. -->
                <!--Attribute consumed (optional) is set for EMD-Standalone to indicate whether the service can be consumed at issuance. -->
                <!--Attribute refundable (optional) is set to indicate whether the fee is refundable (Y or R) or non-refundable (N) or not applicable (N/A). This indicator exists in the AE item as well. -->
                <!--Attribute commission(optional) is set to indicate whether the fee is commissionable (Y) or non-commissionable (N) or not applicable (N/A).  This indicator exists in the AE item as well. -->
                <!--Attribute interline(optional) is set to indicate whether the fee is interlinable (Y), non-interlineable (N) or not applicable (N/A).  This indicator exists in the AE item as well. -->
                <!--Attribute taxExempt (optional) is set to indicate whether all fee taxes are exempted or not.  This indicator exists in the AE item as well. -->
                <IATAParameters refundable="Y" taxExempt="false"/>
            </OptionalService>
            <!--Optional. No repeats.-->
            <FrequentFlyer>
                <!--Required. No repeats. Frequent Flyer number-->
                <Number>123ABCDEF01234567890</Number>
                <!--Required. No repeats. Airline Code associated to this Frequirent Flyer number-->
                <AirlineCode>XX</AirlineCode>
                <!--Required. No repeats. Tier Level associated to this Frequirent Flyer number-->
                <TierLevel>1</TierLevel>
            </FrequentFlyer>
            <!--Optional. May be up to 4 present.-->
            <!--Indicates a flight of set of flights associated to an item.-->
            <!--Only appears in Linked type Fees item. Does not appear in Grouped type Fees item.-->
            <!--Fee can be associated to a flight coupon.  When applicable, connecting or downline flights are included in this element.  Use AssociatedFlight if miscellaneous items have PRAS codes that require flight coupons and were originally accessed through the following MISC options:

MISC2/4 - CHANGE FEE
MISC2/5 - OPTIONAL FEE
EMD-A (Future)-->
            <AssociatedFlight>
                <!--Required. No repeats.-->
                <!--Carrier code of the flight associated to the service.-->
                <CarrierCode>SY</CarrierCode>
                <!--Optional. No repeats.-->
                <!--Operating Carrier code of the flight associated to the service.-->
                <OperatingCarrierCode>EY</OperatingCarrierCode>
                <!--Required. No repeats.-->
                <!--Flight number associated to the service.-->
                <FlightNumber>1234</FlightNumber>
                <!--Required. No repeats.-->
                <!--Flight class of service associated to the ancillary service.-->
                <ClassOfService>Y</ClassOfService>
                <!--Required. No repeats.-->
                <!--The origin or depature city code of the flight associated to the service.-->
                <DepartureCity>DFW</DepartureCity>
                <!--Required. No repeats.-->
                <!--The destination or arrival city of the flight associated to the service.-->
                <ArrivalCity>LAX</ArrivalCity>
                <!--Required. No repeats.-->
                <!--The departure date of the flight associated to the service.-->
                <DepartureDate>2011-05-05</DepartureDate>
                <!--Optional. No repeats.-->
                <!--A code that indicates whether the flight is a stop over or not (X = stopover, O= not a stopover).-->
                <StopOver>O</StopOver>
                <!--Optional. No repeats.-->
                <!--Ticket number associated to fee.-->
                <!--Attribute couponNumber (optional) shows what coupon in the ticket are part of the fee association.-->
                <AssociatedTicketNumber couponNumber="1">6072124531510</AssociatedTicketNumber>
            </AssociatedFlight>
            <!--Optional. May be up to 99 present.-->
            <!--Attribute code (required) identifies the tax type of the tax applicable to the item. EG: US, ZP, XF, etc.-->
            <!--Attribute exempt (optional) is a boolean indicating whether the tax has been exempted or not. Omission of the attribute means false.-->
            <Tax code="UOC" exempt="false">
                <!--Required. No repeats.-->
                <!--Amount of tax.-->
                <!--Attributes optional.-->
                <!--Attribute currency is the name of the currency in which the Tax is expressed.-->
                <!--Attribute currencyCode is the code of the currency in which the Tax is expressed.-->
                <Amount currencyCode="AUD">0.50</Amount>
            </Tax>
            <Tax code="UOD" exempt="false">
                <Amount currencyCode="AUD">0.15</Amount>
            </Tax>
            <Tax code="UOE" exempt="false">
                <Amount currencyCode="AUD">11.50</Amount>
            </Tax>
            <Tax code="UOF" exempt="false">
                <Amount currencyCode="AUD">2.90</Amount>
            </Tax>
            <Tax code="UOG" exempt="false">
                <Amount currencyCode="AUD">7.77</Amount>
            </Tax>
            <Tax code="UOH" exempt="false">
                <Amount currencyCode="AUD">2.80</Amount>
            </Tax>
            <Tax code="UOI" exempt="false">
                <Amount currencyCode="AUD">1.10</Amount>
            </Tax>
            <Tax code="UOJ" exempt="false">
                <Amount currencyCode="AUD">0.10</Amount>
            </Tax>
            <Tax code="UOK" exempt="false">
                <Amount currencyCode="AUD">0.20</Amount>
            </Tax>
            <Tax code="UOL" exempt="false">
                <Amount currencyCode="AUD">9.40</Amount>
            </Tax>
            <Tax code="UOM" exempt="false">
                <Amount currencyCode="AUD">1.10</Amount>
            </Tax>
            <Tax code="UON" exempt="false">
                <Amount currencyCode="AUD">0.30</Amount>
            </Tax>
            <Tax code="UOO" exempt="false">
                <Amount currencyCode="AUD">0.90</Amount>
            </Tax>
            <Tax code="UOP" exempt="false">
                <Amount currencyCode="AUD">0.10</Amount>
            </Tax>
            <Tax code="UOQ" exempt="false">
                <Amount currencyCode="AUD">5.30</Amount>
            </Tax>
        </Fee>
    </Fees>
    <!--Optional. No repeats. Total cost of all items.-->
    <!--Attributes optional.-->
    <!--Attribute currency is the name of the currency in which the TotalCost is expressed.-->
    <!--Attribute currencyCode is the code of the currency in which the TotalCost is expressed.-->
    <TotalCost currencyCode="AUD">49.12</TotalCost>
    <!--Required. May be up to 2 present.-->
    <Payment>
        <!--Required. No repeats.-->
        <!--Attributes optional.-->
        <!--Attribute currency is the name of the currency in which the Amount is expressed.-->
        <!--Attribute currencyCode is the code of the currency in which the Amount is expressed.-->
        <Amount currencyCode="AUD">49.12</Amount>
        <!--Required. No repeats.-->
        <!--Element below FormOfPayment must be one of the following: CreditCard, Cash, ExchangeDoc, Check, Invoice, GovTransRequest or PrepaidTicketAdvice-->
        <FormOfPayment>
            <!--Required. No repeats.-->
            <ExchangeDoc>
                <!--Required. No repeats-->
                <!--Number uniquely identifying exchange document-->
                <!--Attribute couponNumber (optional) shows what coupon(s) in the ticket are part of the exchange document.-->
                <DocumentNumber>7958200000138</DocumentNumber>
            </ExchangeDoc>
        </FormOfPayment>
    </Payment>
    <!--Required. No repeats.-->
    <!--Valid values are Full, None, Summary and Acknowledgement.-->
    <DetailLevel>Full</DetailLevel>
</misc:ExchangeDocumentForEMDRQ>
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<!--Required. No repeats. Attribute version required, other attributes optional.-->
<!--Attribute version needs to match version of xsd.-->
<misc:ExchangeDocumentForEMDRS xmlns="http://services.sabre.com/STL/v01" xmlns:misc="http://www.sabre.com/ns/Ticketing/misc/1.0" version="1.4.5">
    <!--Required. No repeats.-->
    <!--Sabre Standard Payload Header. Information in the header is intended to separate transport and processing information from actual message data. Header information may be replicated in the messaging system header (SOAP or JMS header). This data is inteded for use with content-based routing and other tasks asscociated with integration.  NOTE: messaging and transport systems may and should add content to the header whereas they should never change the actual message subject contents.-->
    <Header>
        <!--Required. No repeats.-->
        <!--Response message header Results are used to exchange information about the nature of a failure or success. This record must be provided in successful service invocations. May also contain system specific error, result and diagnostic data.-->
        <!--The conversationId attribute (optional) is a string identifying the set of related messages that make up a conversation between two Parties. The Party initiating a conversation determines the value of the conversationId attribute that shall be reflected in all messages pertaining to that conversation. It remains constant for all messages within a conversation. Not used.-->
        <!--The messageId attribute (optional) is a unique identifier for this message. Not used.-->
        <!--Attribute version (optional) should match the version of the namespace and schema. Not used-->
        <!--Attribute timeStamp (optional) is date and time when the result record was created. Not used-->
        <Results messageId="tkthli700-miscdc-782" timeStamp="2012-09-07T17:25:32">
            <!--Optional. No repeats.-->
            <!--Endpoint address (url) or system name of the system that could not be reached. For application errors, the attribute may be omitted or identify a system the application is dependent upon that failed to respond.-->
            <!--Attribute id is optional.-->
            <ErrorSource>TPF</ErrorSource>
            <!--Required. No repeats.-->
            <!--Valid values are Success, TransportError, InterfaceError, ApplicationError or BusinessLogicError.-->
            <Status>Success</Status>
            <!--Optional. No repeats.-->
            <!--Valid values are NotProcessed, Complete, Incomplete and Unknown-->
            <CompletionStatus>Complete</CompletionStatus>
            <!--Optional. Repeatable.-->
            <!--Provides details about the response.-->
            <SystemSpecificResults>
                <!--Optional. No repeats.-->
                <!--Application specific Error code and Message. A textual description to provide more information about the specific error-->
                <!--Attribute code is optional.-->
                <ErrorMessage>OK</ErrorMessage>
                <!--Optional. No repeats.-->
                <!--Application specific Error code and Message. A textual description to provide more information about the specific error-->
                <ShortText>OK</ShortText>
            </SystemSpecificResults>
        </Results>
    </Header>
    <!--Required. No repeats.-->
    <!--Agent Point of sale data.-->
    <!--Attribute company is required. It represents the PSS/TPF/Host partition code (eg. AA, 5T, SY, etc.)-->
    <!--Attribute lniata is required. It represents the unique ID of the terminal or computer of the agent using the host system (line ID, interchange address, terminal address). It needs to be 6 valid hexadecimal digits.-->
    <!--Attribute sine is optional. It uniquely identifies the agent within the airline. It needs to be 3 alpha numeric characters.-->
    <!--Attribute dutyCode is optional. It is a single character representing the general authority given to the agent in the host system (eg 4, 5, 7, 8, $, etc.).-->
    <AgentPOS company="VA" dutyCode="5" sine="AD" lniata="2BE485">
        <!--Required. No repeats.-->
        <!--AAA = Agent Assembly Area. Generally contains a 3 character alpha city or airport code where the agent is located or from where he is representing himself for the sale of a miscellaneous item.-->
        <!--All attributes are optional.-->
        <!--Attribute country represents the country code where the AAA city is located. This is typically a two character alpha code.-->
        <!--Attribute number is the numeric station number associated with the agent. Generally multiple agents work in a station in a given location. Business transactions are often summarized by station as well as by agent. The station number is typically 7 digits long.-->
        <!--Attribute province represents the state or province code of the region within the country in which the AAA city is located. It's generally a 2 character alpha code.-->
        <AAA country="AU" number="02392320">SYD</AAA>
    </AgentPOS>
    <!--Required. No repeats.-->
    <!--Transaction identifying information.-->
    <!--Attribute code is required. It can only contain a value of EMD (Electronic Miscellaneous Documents) -->
    <Transaction code="EMD"/>
    <!--Optional. May have up to 999 items.-->
    <!--Different item for each passenger/customer. May need multiples for a single passenger.-->
    <Fees>
        <!--Required. No repeats-->
        <!--Attributes required.-->
        <!--Attribute lastName is a string of 1 to 100 bytes.-->
        <!--Attribute firstName is a string ot 1 to 100 bytes-->
        <!--Attribute ignoreMismatch(optional) is a boolean value which indicates if name mismatch can be ignored or not-->
        <Customer firstName="KHLOE MS" lastName="KARDASH" ignoreMismatch="true">
            <!--Optional. No repeats.-->
            <!--Attributes all optional.-->
            <!--Attribute nameRefNumber is a name number associated to the traveller or purchaser in the PNR (e.g. 1.1)-->
            <!--Attribute nameId is a unique id in the PNR that is associated to a passenger name.-->
            <!--Attribute pnrLocator is a 6 character code that uniquely identifies the Passenger Name Record in the host system.-->
            <CustomerDetails nameRefNumber="2.1" pnrLocator="IQQLOM"/>
        </Customer>
        <!--Required. Up to 99 may be present.-->
        <Fee>
            <!--Required. No repeats.-->
            <!--Attribute code required. Represents the Passenger Revenue Accounting System (PRAS) code associated to the service or item.-->
            <!--Attribute description optional. Description of the purchased item or service.-->
            <!--Attribute quantity optional. The number of items purchased per PRAS code. Valid values: 1 - 99-->
            <FeeDetails code="820" quantity="1">
                <!--Required. No repeats. Base amount for the item.-->
                <!--Attributes optional.-->
                <!--Attribute currency is the name of the currency in which the Base is expressed.-->
                <!--Attribute currencyCode is the code of the currency in which the Base is expressed.-->
                <Base currencyCode="AUD">5.00</Base>
                <!--Optional. No repeats. Total tax of item.-->
                <!--Attributes optional.-->
                <!--Attribute currency is the name of the currency in which the TotalTax is expressed.-->
                <!--Attribute currencyCode is the code of the currency in which the TotalTax is expressed.-->
                <TotalTax currencyCode="AUD">44.12</TotalTax>
                <!--Required. No repeats. Total of base and tax of item.-->
                <!--Attributes optional.-->
                <!--Attribute currency is the name of the currency in which the Total is expressed.-->
                <!--Attribute currencyCode is the code of the currency in which the Total is expressed.-->
                <Total currencyCode="AUD">49.12</Total>
            </FeeDetails>
            <!--Optional. No repeats.-->
            <!--Attribute RFIC (required) is a Reason For Issuance Code as defined by ATPCO. Sample values can be: A - Air Transportation, B - Surface Transportation, C - Baggage, D - Financial Impact, E - Airport Services, F - Merchandising, G - Inflight Services, I - Individual Airline Use-->
            <!--Attribute subCode (required) is a 3-alphanumeric character reason for issuance subcode assigned to a service or fee item as defined by ATPCO.-->
            <!--Attribute ssrCode (optional) is the Special Service Request code used in the PNR to help identify the miscellaneous item to the PNR subsystem within the TPF host. It's alphanumeric string length 4. NOT USED at this time.-->
            <!--Attribute name (required) is the commercial name of a service or fee as defined by ATPCO.-->
            <!--Attribute group (required) is a group code associated to a service or fee as defined by ATPCO.  Sample values can be: BG - Baggage, GT - Ground Transportation -->
            <!--Attribute segmentIndicator (optional) is a one-character value which indicates if the ancillary item applies to a segment S (one city pair) or a portion P (multiple segments).-->
            <!--Attribute taxable (optional) is a boolen value the determines whether the item is taxable or not.  Not used at this time.-->
            <OptionalService RFIC="C" subCode="0BT" name="PET IN CABIN" group="Pets" segmentIndicator="P">
                <!--Required. No repeats.-->
                <!--Type of EMD. -->
                <EmdType>Associated</EmdType>
                <!--Required. No repeats.-->
                <!--Numeric value assigned to an Air Extra (AE) item in the PNR and is used for updating the AE. -->
                <AirExtraItemNumber>64</AirExtraItemNumber>
                <!--Optional. No repeats.-->
                <!--The carrier which files the fee and is considered the owner of such fee. -->
                <OwningCarrierCode>VA</OwningCarrierCode>
                <!--Optional. No repeats.-->
                <!--Indicators or parameters that can be applied to a fee as defined by IATA. -->
                <!--Attribute consumed (optional) is set for EMD-Standalone to indicate whether the service can be consumed at issuance. -->
                <!--Attribute refundable (optional) is set to indicate whether the fee is refundable (Y or R) or non-refundable (N) or not applicable (N/A). This indicator exists in the AE item as well. -->
                <!--Attribute commission(optional) is set to indicate whether the fee is commissionable (Y) or non-commissionable (N) or not applicable (N/A).  This indicator exists in the AE item as well. -->
                <!--Attribute interline(optional) is set to indicate whether the fee is interlinable (Y), non-interlineable (N) or not applicable (N/A).  This indicator exists in the AE item as well. -->
                <!--Attribute taxExempt (optional) is set to indicate whether all fee taxes are exempted or not.  This indicator exists in the AE item as well. -->
                <IATAParameters refundable="Y" taxExempt="false"/>
            </OptionalService>
            <!--Optional. No repeats.-->
            <FrequentFlyer>
                <!--Required. No repeats. Frequent Flyer number-->
                <Number>123ABCDEF01234567890</Number>
                <!--Required. No repeats. Airline Code associated to this Frequirent Flyer number-->
                <AirlineCode>XX</AirlineCode>
                <!--Required. No repeats. Tier Level associated to this Frequirent Flyer number-->
                <TierLevel>1</TierLevel>
            </FrequentFlyer>
            <!--Optional. May be up to 4 present.-->
            <!--Indicates a flight of set of flights associated to an item.-->
            <!--Only appears in Linked type Fees item. Does not appear in Grouped type Fees item.-->
            <!--Fee can be associated to a flight coupon.  When applicable, connecting or downline flights are included in this element.  Use AssociatedFlight if miscellaneous items have PRAS codes that require flight coupons and were originally accessed through the following MISC options:

MISC2/4 - CHANGE FEE
MISC2/5 - OPTIONAL FEE
EMD-A (Future)-->
            <AssociatedFlight>
                <!--Required. No repeats.-->
                <!--Carrier code of the flight associated to the service.-->
                <CarrierCode>VA</CarrierCode>
                <!--Optional. No repeats.-->
                <!--Operating Carrier code of the flight associated to the service.-->
                <OperatingCarrierCode>EY</OperatingCarrierCode>
                <!--Required. No repeats.-->
                <!--Flight number associated to the service.-->
                <FlightNumber>1234</FlightNumber>
                <!--Required. No repeats.-->
                <!--Flight class of service associated to the ancillary service.-->
                <ClassOfService>Y</ClassOfService>
                <!--Required. No repeats.-->
                <!--The origin or depature city code of the flight associated to the service.-->
                <DepartureCity>DFW</DepartureCity>
                <!--Required. No repeats.-->
                <!--The destination or arrival city of the flight associated to the service.-->
                <ArrivalCity>LAX</ArrivalCity>
                <!--Required. No repeats.-->
                <!--The departure date of the flight associated to the service.-->
                <DepartureDate>2011-05-05</DepartureDate>
                <!--Optional. No repeats.-->
                <!--A code that indicates whether the flight is a stop over or not (X = stopover, O= not a stopover).-->
                <StopOver>O</StopOver>
                <!--Optional. No repeats.-->
                <!--Ticket number associated to fee.-->
                <!--Attribute couponNumber (optional) shows what coupon in the ticket are part of the fee association.-->
                <AssociatedTicketNumber couponNumber="1">6072124531510</AssociatedTicketNumber>
                <!-- New emd document number with corresponding coupon number. -->
                <IssuedDocumentNumber couponNumber="1">7958200000139</IssuedDocumentNumber>
            </AssociatedFlight>
            <!--Optional. May be up to 99 present.-->
            <!--Attribute code (required) identifies the tax type of the tax applicable to the item. EG: US, ZP, XF, etc.-->
            <!--Attribute exempt (optional) is a boolean indicating whether the tax has been exempted or not. Omission of the attribute means false.-->
            <Tax exempt="false" code="UOC">
                <!--Required. No repeats.-->
                <!--Amount of tax.-->
                <!--Attributes optional.-->
                <!--Attribute currency is the name of the currency in which the Tax is expressed.-->
                <!--Attribute currencyCode is the code of the currency in which the Tax is expressed.-->
                <Amount currencyCode="AUD">0.50</Amount>
            </Tax>
            <Tax exempt="false" code="UOD">
                <Amount currencyCode="AUD">0.15</Amount>
            </Tax>
            <Tax exempt="false" code="UOE">
                <Amount currencyCode="AUD">11.50</Amount>
            </Tax>
            <Tax exempt="false" code="UOF">
                <Amount currencyCode="AUD">2.90</Amount>
            </Tax>
            <Tax exempt="false" code="UOG">
                <Amount currencyCode="AUD">7.77</Amount>
            </Tax>
            <Tax exempt="false" code="UOH">
                <Amount currencyCode="AUD">2.80</Amount>
            </Tax>
            <Tax exempt="false" code="UOI">
                <Amount currencyCode="AUD">1.10</Amount>
            </Tax>
            <Tax exempt="false" code="UOJ">
                <Amount currencyCode="AUD">0.10</Amount>
            </Tax>
            <Tax exempt="false" code="UOK">
                <Amount currencyCode="AUD">0.20</Amount>
            </Tax>
            <Tax exempt="false" code="UOL">
                <Amount currencyCode="AUD">9.40</Amount>
            </Tax>
            <Tax exempt="false" code="UOM">
                <Amount currencyCode="AUD">1.10</Amount>
            </Tax>
            <Tax exempt="false" code="UON">
                <Amount currencyCode="AUD">0.30</Amount>
            </Tax>
            <Tax exempt="false" code="UOO">
                <Amount currencyCode="AUD">0.90</Amount>
            </Tax>
            <Tax exempt="false" code="UOP">
                <Amount currencyCode="AUD">0.10</Amount>
            </Tax>
            <Tax exempt="false" code="UOQ">
                <Amount currencyCode="AUD">5.30</Amount>
            </Tax>
        </Fee>
    </Fees>
    <!--Optional. No repeats. Total cost of all items.-->
    <!--Attributes optional.-->
    <!--Attribute currency is the name of the currency in which the TotalCost is expressed.-->
    <!--Attribute currencyCode is the code of the currency in which the TotalCost is expressed.-->
    <TotalCost currencyCode="AUD">49.12</TotalCost>
    <!--Optional. May be up to 2 present.-->
    <Payment>
        <!--Required. No repeats.-->
        <!--Attributes optional.-->
        <!--Attribute currency is the name of the currency in which the Amount is expressed.-->
        <!--Attribute currencyCode is the code of the currency in which the Amount is expressed.-->
        <Amount currencyCode="AUD">49.12</Amount>
        <!--Required. No repeats.-->
        <!--Element below FormOfPayment must be one of the following: CreditCard, Cash, ExchangeDoc, Check, Invoice, GovTransRequest or PrepaidTicketAdvice-->
        <FormOfPayment>
            <!--Required (one choice of FormOfPayment). No repeats.-->
            <ExchangeDoc>
                <!--Required. No repeats-->
                <!--Number uniquely identifying exchange document-->
                <!--Attribute couponNumber (optional) shows what coupon(s) in the ticket are part of the exchange document.-->
                <DocumentNumber couponNumber="1">7958200000138
                </DocumentNumber>
                <!--Required. No repeats-->
                <!--Date exchange document was issued.-->
                <IssueDate>2012-09-13</IssueDate>
                <!--Required. No repeats-->
                <!--City/airport code where exchange document was issued.-->
                <IssuePlace>SYD</IssuePlace>
                <!--Required. No repeats.-->
                <!--Original form of payment.-->
                <OrigFop>CA</OrigFop>
            </ExchangeDoc>
        </FormOfPayment>
    </Payment>
    <!--Required. No repeats. Document to be exchanged -->
    <ExchangeDoc>
        <!--Required. No repeats. -->
        <!--Note: In case of duplicate document numbers exchange doc will be repeated per duplicate document. The client needs to provide document number along with issuance date in the request to get a good response in case of duplicate documents. -->
        <!--Number uniquely identifying exchange document-->
        <!--Attribute couponNumber (optional) shows what coupon(s) in the ticket are part of the exchange document. -->
        <DocumentNumber>7958200000138</DocumentNumber>
        <!-- Expected to be present all the time -->
        <IssueDate>2012-09-14T05:25:49.000-05:00</IssueDate>
        <!-- Can be only emd -->
        <DocumentType>EMD</DocumentType>
        <!-- Expected to be present all the time -->
        <IssuePlace>SYD</IssuePlace>
        <!-- Expected to be present all the time -->
        <Reservation>IQQLOM</Reservation>
        <!-- Expected to be present all the time -->
        <FirstName>KHLOE MS</FirstName>
        <!-- Expected to be present all the time -->
        <LastName>KARDASH</LastName>
        <!-- Amount of the document -->
        <TotalAmount currencyCode="AUD">49.12</TotalAmount>
        <Payment>CA</Payment>
    </ExchangeDoc>
    <!-- Result values: AC - exchange with add/collect, RF - exchange with refund, EE - even exchange -->
    <ExchangeCost result="EE">
        <Exchange>
            <!-- Related amount for the operation. -->
            <Amount currencyCode="AUD">0.00</Amount>
        </Exchange>
    </ExchangeCost>
    <!-- For ExchangeDocForEmdRS client gets <RefundDoc> element only in case refund operation. -->
</misc:ExchangeDocumentForEMDRS>