Structured Fare Rules Definitions and Examples

The FareRulesFilterCategory returns air fare rules in a structured format.

Use the structured format to customize how you want rules displayed to your own customers (for example, in a different language). You can request all categories or specific categories (multiple CategoryCode elements can be sent in a request): To return air fare rules in a structured format, send AirFareRulesReq/FareRulesFilterCategory. If FareRulesFilterCategory is blank, all categories with structured fare rules are returned.

Only categories for which structured fare rules exist are returned.

Download .CSV and .XLS of Category Rule Values

Click to download a .zip archive of spreadsheets for the category type, name, description, and values (Updated April 2023):

Category 5 – Advance Reservations and Ticketing

CAT5 Example

AirFareRules with provider code 1V - CAT5 (ADV)

Request
<air:AirFareRulesReq TargetBranch="XXXXXX">
		<com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
		<air:FareRuleKey FareInfoRef="XXXXXX" ProviderCode="1V">XXXXXX</air:FareRuleKey>
			<air:FareRulesFilterCategory>
				<air:CategoryCode>ADV</air:CategoryCode>
			</air:FareRulesFilterCategory>	
		</air:AirFareRulesReq>
	</soapenv:Body>
</soapenv:Envelope> 	
 
Response
 <air:AirFareRulesRsp TransactionId="XXXXXX" ResponseTime="2090" xmlns:air="http://www.travelport.com/schema/air_v48_0">
 <air:FareRule FareInfoRef="XXXXXX" RuleNumber="AU02" Source="ATPCO" TariffNumber="003" ProviderCode="1V">
  <air:StructuredFareRules>
   <air:FareRuleCategoryType Value="ADV">
    <air:CategoryDetails Name="ConfirmedSector" Value="X"/>
    <air:CategoryDetails Name="TimeBeforeDept" Value="0"/>
    <air:CategoryDetails Name="ExceptionTime" Value="0"/>
   </air:FareRuleCategoryType>
  </air:StructuredFareRules>
 </air:FareRule>
</air:AirFareRulesRsp>

First

The earliest time reservations are permitted

Unit of Time

Unit in which the preceding ‘period’ field is expressed
Note: Period field with a value of ‘000’ with a unit of ‘D’ = Same Day

Unit of Time

Unit in which the preceding ‘period’ field is expressed

Note: Period field with a value of ‘000’ with a unit of ‘D’ = Same Day

TSI

An indicator which specifies further restrictions for advance reservations

Permitted

Indicates that advanced reservations are not permitted

Ticketed

Indicates that reservations must be made, and tickets must be issued at the same time

Standby

Indicates standby and wait-listing conditions

Confirmed Sectors of Transportation

Sector

Indicates the fare component (sector) that must hold a confirmed status code

Each

Indicates that the originating flight of each fare component (sector) within the pricing unit must satisfy the reservation provisions

Advance Ticketing

Indicates point in time when tickets must be issued

Unit of Time

Unit in which the preceding ‘period’ field is expressed

Note: Period field with a value of ‘000’ with a unit of ‘D’ = Same Day

Option

Option identifying the time which follows.

Departure

Amount of time before departure

Unit of Time

Unit in which the time of departure is expressed

Note: Departure field with a value of ‘000’ with a unit of ‘D’ = Same Day

TSI

An indicator which specifies further restrictions for advance reservations

BOTH

Indicates that amounts of time after reservations are made and prior to departure must both be taken as factors in determining the point in time at which tickets must be issued

Exception Time

Indicates the shortest amount of time prior to the departure to which an exception to advance ticketing requirements applies

Unit of Time

Unit in which exception time is expressed

Note: Exception time with a value of ‘000’ with a unit of ‘D’ = Same Day

Waiver

Used to override the advanced reservations and/or ticketing requirements through a specific date

Reservation Date

Last date when waiver applies to advance reservations

Ticketed Date

Last date when waiver applies to advance ticketing requirement

 

Category 6 – Minimum Stay

CAT6 Example

AirFareRules with provider 1G – CAT6 (MIN)

Request

<air:AirFareRulesReq TargetBranch="XXXXXX">
<com:BillingPointOfSaleInfo OriginApplication="UAPI"/> <air:FareRuleKey FareInfoRef="XXXXXX" ProviderCode="1G">XXXXXX</air:FareRuleKey> <air:FareRulesFilterCategory FareInfoRef="AmMeZcBAAA/B5OrBAAAAAA==">
<air:CategoryCode>MIN</air:CategoryCode> </air:FareRulesFilterCategory>
</air:AirFareRulesReq>
 

Response

<air:AirFareRulesRsp TransactionId="xxxxxx" ResponseTime="1363" xmlns:air="http://www.travelport.com/schema/air_v48_0">
 <air:FareRule FareInfoRef="xxxxxx" RuleNumber="AE10" Source="ATPCO" TariffNumber="001" ProviderCode="1G">
  <air:StructuredFareRules>
   <air:FareRuleCategoryType Value="MIN">
    <air:CategoryDetails Name="MinimumStay" Value="3"/>
    <air:CategoryDetails Name="UnitOfTime" Value="D"/>
   </air:FareRuleCategoryType>
  </air:StructuredFareRules>
 </air:FareRule>
</air:AirFareRulesRsp>

Origin Day of the Week

Indicator when the minimum stay is dependent on the day travel commences

Time of Day

The time of day when return travel may commence

Minimum Stay

Indicates either a period of elapsed time or day of week occurrence

Unit of Time

Further clarifies minimum stay requirement

Waiver

Indicates the minimum stay restriction may be shortened to the prior day or a specified date/time when service (scheduled flights) is provided

Minimum Stay Date

Indicates the specific date for the minimum stay requirement

Minimum Stay - Earlier/Later

Indicates that the earlier or later of the minimum stay calculated versus minimum stay date must be used

Waiver Date

Indicates the minimum stay may be waived to a specific date

Waiver – Earlier/Later

Indicates that the earlier or later of the waiver date versus the calculated waiver must be used

Waiver Period

Indicates a period of elapsed time

Waiver Unit of Time

Unit in which the waiver period field is expressed

Category 7 – Maximum Stay

CAT7 Example

AirFareRules with provider 1V – CAT7 (MAX)

Request
<air:AirFareRulesReq TargetBranch="XXXXXX" FareRuleType="long">
 <com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
 <air:FareRuleKey FareInfoRef="XXXXXX</air:FareRuleKey>
 <air:FareRulesFilterCategory FareInfoRef="XXXXXX">
  <air:CategoryCode>MAX</air:CategoryCode>
 </air:FareRulesFilterCategory>
</air:AirFareRulesReq>

 

Response

<air:AirFareRulesRsp TransactionId="XXXXXX" ResponseTime="2142" xmlns:air="http://www.travelport.com/schema/air_v48_0">
 <air:FareRule FareInfoRef="XXXXXX" RuleNumber="E651" Source="ATPCO" TariffNumber="001" ProviderCode="1V">
  <air:StructuredFareRules>
   <air:FareRuleCategoryType Value="MAX">
    <air:CategoryDetails Name="ReturnTravelCode" Value="C"/>
    <air:CategoryDetails Name="MaximumStay" Value="12"/>
    <air:CategoryDetails Name="UnitOfTime" Value="M"/>
   </air:FareRuleCategoryType>
  </air:StructuredFareRules>
 </air:FareRule>
</air:AirFareRulesRsp>

Return Travel Code

This field indicates whether return travel Must Commence or Must Be Completed by

Time of Day

The time of day when travel must either commence or be completed by

Maximum Stay

A field indicating whether the maximum stay is expressed in the amount of elapsed time or a specified day of week

Unit of Time

Further definition of maximum stay, describing either the unit of elapsed time or the occurrence of the day of week.

NOTE: Maximum stay of ‘000’ with unit of ‘D’ = Same Day

Ticket Issuance Indicator

This field indicates if the maximum stay is from the day of ticket issuance

Waiver

Indicates that the maximum stay restriction may be shortened to the prior day or a specified date/time when service (scheduled flights) is provided

Maximum Stay Date

This field indicates a specified maximum stay date

Maximum Stay Earlier/Later

This field indicates to apply the earlier or later of the calculated maximum stay versus the specified maximum stay date

Waiver Date

Indicates the maximum stay may be waived to the specified date

Waiver Earlier/Later

Indicates that the earlier or later of the waiver date versus the calculated waiver must be used

Waiver Period

Indicates a period of elapsed time

Waiver Unit

Unit in which the preceding Waiver Period field is expressed

Category 8 – Stopovers

CAT8 Example

AirFareRules with provider 1V – CAT8 (STP)

Request

<air:AirFareRulesReq TargetBranch="XXXXXX">
 <com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
 <air:FareRuleKey FareInfoRef="XXXXXX" ProviderCode="1V">XXXXXX</air:FareRuleKey>
 <air:FareRulesFilterCategory>
  <air:CategoryCode>STP</air:CategoryCode>
 </air:FareRulesFilterCategory>
</air:AirFareRulesReq>

 

Response

<air:AirFareRulesRsp TransactionId="XXXXXX" ResponseTime="1721" xmlns:air="http://www.travelport.com/schema/air_v48_0">
 <air:FareRule FareInfoRef="XXXXXX" RuleNumber="AU02" Source="ATPCO" TariffNumber="003" ProviderCode="1V">
  <air:StructuredFareRules>
   <air:FareRuleCategoryType Value="STP">
    <air:CategoryDetails Name="MaxStopsPermitted" Value="XX"/>
    <air:CategoryDetails Name="Charges1" Value="0020000"/>
    <air:CategoryDetails Name="AddtlAmt1" Value="0000000"/>
    <air:CategoryDetails Name="Currency1" Value="AUD"/>
    <air:CategoryDetails Name="Decimal1" Value="2"/>
    <air:CategoryDetails Name="Charges2" Value="0000000"/>
    <air:CategoryDetails Name="AddtlAmt2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="SegCount" Value="002"/>
    <air:VariableCategoryDetails Value="Recurring Segment">
     <air:CategoryDetails Name="Application" Value="N"/>
     <air:CategoryDetails Name="LocType" Value="N"/>
     <air:CategoryDetails Name="Loc1" Value="AU"/>
     <air:CategoryDetails Name="Loc2" Value="**"/>
    </air:VariableCategoryDetails>
    <air:VariableCategoryDetails Value="Recurring Segment">
     <air:CategoryDetails Name="LocType" Value="N"/>
     <air:CategoryDetails Name="Loc1" Value="TW"/>
     <air:CategoryDetails Name="Loc2" Value="**"/>
     <air:CategoryDetails Name="ChangeApplies" Value="1"/>
    </air:VariableCategoryDetails>
   </air:FareRuleCategoryType>
  </air:StructuredFareRules>
 </air:FareRule>
</air:AirFareRulesRsp>

Minimum Stops Required

Minimum number of stops required to qualify for the fare

Maximum Stops Permitted

Maximum number of stops permitted at the fare

Outbound Stops Permitted

Number of stops permitted on the outbound portion of travel

Inbound Stops Permitted

Number of stops permitted on the inbound portion of travel

Outbound or Inbound

A code indicating that the maximum number of stops are permitted on the outbound or the return portion of travel, but not both

Open Jaw Stopover

Circle Trip (2 Component) Stopover

Circle Trip (More than 2 Components) Stopover

Gateway Stopover

Indicates conditions under which a gateway stopover is permitted

Minimum Time

Indicates the minimum amount of time required at an intermediate point to be considered a stopover

Minimum Unit of Time

Unit in which contents of Minimum Time field is represented

Maximum Time

Maximum amount of time allowed at an intermediate point to qualify as a stopover

Maximum Unit of Time

Unit in which contents of Maximum Time field is represented

Amount of time:

Same Point Stopovers

Indicates the number of times the passenger may stop at the same point

Transfers

Indicates the number of times the same point may be transitted

Connections

Indicates the number of times connections can be made at the same point

Charge Application

Identifies the stopover charge that may apply

Number of (First) Stopovers at First Charge Amount

Indicates the number of stopover charged at the first amount

First Charge Amount

The charge amount for the first stopovers permitted in the preceding field

Additional Stopovers

Indicates the number of stopovers charged at the Additional Amount

Additional Charge Amount

The charge amount for the additional permitted stopovers

Currency

Currency code in which the previously identified amounts are represented

Decimal

Number of decimal places for the preceding amount

Stopover Charge Amount #2

These fields are used to specify the First and Additional stopover amounts filed in a second currency

Additional Charge Amount #2

The charge amount for the additional permitted stopovers filed in a second currency

Currency #2

Currency code in which the previously identified amounts are represented

Decimal #2

Number of decimal places for the preceding amount

Number of Segments

Indicates the number of recurring segment items in the record 3

Recurring Segment Carrier Application Indicator

Indicates that transportation arriving and departing the point of stopover must be or may not be on the same carrier

Recurring Segment Number of Stopovers

Indicates the number of stopovers

Recurring Segment Inbound Carrier

Indicates that transportation arriving at the point of stopover must be on this specific carrier

Recurring Segment Application of Geographic Carrier Information

Designates the application of carrier and geographic information

Recurring Segment Location Type

A code indicating the type of geographic specification that will be found in the following field

Recurring Segment Location #1

Multiple location formats for this field.

Recurring Segment Location #2

Multiple location formats for this field.

Recurring Segment Outbound Carrier

Indicates that transportation departing the point of stopover must be on this specific carrier

Recurring Segment Inbound/Outbound Indicator

Indicates the portion in which the stopover must occur

Recurring Segment Stopover Charges

Indicates which stopover charge applies to the locale

Category 16 – Penalties

See Air Pricing with Most Restrictive Penalties topic for further information.

CAT16 Example

AirFareRules with provider 1V – CAT16 (CHG)

Request

<air:AirFareRulesReq TargetBranch="XXXXXX">
 <com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
 <air:FareRuleKey FareInfoRef="XXXXXX" ProviderCode="1V">XXXXXX</air:FareRuleKey>
 <air:FareRulesFilterCategory>
  <air:CategoryCode>CHG</air:CategoryCode>
 </air:FareRulesFilterCategory>
</air:AirFareRulesReq>

 

Response

<air:AirFareRulesRsp TransactionId="XXXXXX" ResponseTime="1132" xmlns:air="http://www.travelport.com/schema/air_v48_0">
 <air:FareRule FareInfoRef="XXXXXX" RuleNumber="AU02" Source="ATPCO" TariffNumber="003" ProviderCode="1V">
   <air:StructuredFareRules>
    <air:FareRuleCategoryType Value="CHG">
    <air:CategoryDetails Name="CancellationsRefunds" Value="X"/>
    <air:CategoryDetails Name="TktNonRef" Value="X"/>
    <air:CategoryDetails Name="Amt1" Value="0000000"/>
    <air:CategoryDetails Name="Decimal1" Value="0"/>
    <air:CategoryDetails Name="Amt2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="Percent" Value="0000000"/>
    <air:CategoryDetails Name="PaxDeathWaiver" Value="X"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="CHG">
    <air:CategoryDetails Name="Voluntary" Value="X"/>
    <air:CategoryDetails Name="ChangeItinPenalty" Value="X"/>
    <air:CategoryDetails Name="ChangeNoReissuePenalty" Value="X"/>
    <air:CategoryDetails Name="Amt1" Value="0000000"/>
    <air:CategoryDetails Name="Decimal1" Value="0"/>
    <air:CategoryDetails Name="Amt2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="Percent" Value="0000000"/>
   </air:FareRuleCategoryType>
  </air:StructuredFareRules>
 </air:FareRule>
</air:AirFareRulesRsp>

Voluntary Change Application Tag

Involuntary Change Application Tag

Cancellations and Refunds Tag

Ticket/Reservation Restriction Tag

Penalty Conditions

Charges

APPL

Indicates when amount specified is applicable and whether a child's discount applies

Portion of Ticket

Indicates portion of an itinerary/ticket on which the penalty is assessed

AMT

Penalty when stated as flat amount

1st CUR

Currency in which the previous amount field was represented

DEC

Number of decimals assumed in amount fields

AMT

Amount of penalty when penalty is expressed in more than one currency

2nd CUR

Currency in which the previous amount field was represented

DEC

Number of decimals assumed in previous amount field

PERCENT

Percentage of fare assessed as penalty

H/L

Indicates that when both amount and percent are specified, use the higher or lower of the two amounts.

Waivers

Death of a Passenger

Illness of a Passenger

Death of an immediate family member

Illness of an immediate family member

Schedule Change

Ticket Upgrade

Category 31 – Voluntary Changes

Example

AirFareRules with provider 1V – CAT31 (VOL)

Request

<air:AirFareRulesReq TargetBranch="XXXXXX">
 <com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
 <air:FareRuleKey FareInfoRef="XXXXXX" ProviderCode="1V">XXXXXX</air:FareRuleKey>
 <air:FareRulesFilterCategory>
  <air:CategoryCode>VOL</air:CategoryCode>
 </air:FareRulesFilterCategory>
</air:AirFareRulesReq>

 

Response

<air:AirFareRulesRsp TransactionId="XXXXXX" ResponseTime="1621" xmlns:air="http://www.travelport.com/schema/air_v48_0">
 <air:FareRule FareInfoRef="XXXXXX" RuleNumber="AU02" Source="ATPCO" TariffNumber="003" ProviderCode="1V">
  <air:StructuredFareRules>
   <air:FareRuleCategoryType Value="VOL">
    <air:CategoryDetails Name="TicketValidity" Value="X"/>
    <air:CategoryDetails Name="Journey" Value="B"/>
    <air:CategoryDetails Name="Amount1" Value="0000000"/>
    <air:CategoryDetails Name="Decimal1" Value="0"/>
    <air:CategoryDetails Name="Percentage" Value="0000000"/>
    <air:CategoryDetails Name="Amount2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="MinAmount" Value="0000000"/>
    <air:CategoryDetails Name="Dec" Value="0"/>
    <air:CategoryDetails Name="FeeApplication" Value="2"/>
    <air:CategoryDetails Name="TypTikt" Value="A"/>
    <air:CategoryDetails Name="End" Value="Y"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="VOL">
    <air:CategoryDetails Name="TicketValidity" Value="X"/>
    <air:CategoryDetails Name="Journey" Value="B"/>
    <air:CategoryDetails Name="Amount1" Value="0020000"/>
    <air:CategoryDetails Name="Currency1" Value="AUD"/>
    <air:CategoryDetails Name="Decimal1" Value="2"/>
    <air:CategoryDetails Name="Percentage" Value="0000000"/>
    <air:CategoryDetails Name="Amount2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="MinAmount" Value="0000000"/>
    <air:CategoryDetails Name="Dec" Value="0"/>
    <air:CategoryDetails Name="FeeApplication" Value="2"/>
    <air:CategoryDetails Name="TypTikt" Value="A"/>
    <air:CategoryDetails Name="End" Value="Y"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="VOL">
    <air:CategoryDetails Name="TicketValidity" Value="X"/>
    <air:CategoryDetails Name="Journey" Value="A"/>
    <air:CategoryDetails Name="Amount1" Value="0000000"/>
    <air:CategoryDetails Name="Decimal1" Value="0"/>
    <air:CategoryDetails Name="Percentage" Value="0000000"/>
    <air:CategoryDetails Name="Amount2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="MinAmount" Value="0000000"/>
    <air:CategoryDetails Name="Dec" Value="0"/>
    <air:CategoryDetails Name="FeeApplication" Value="2"/>
    <air:CategoryDetails Name="TypTikt" Value="A"/>
    <air:CategoryDetails Name="End" Value="Y"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="VOL">
    <air:CategoryDetails Name="TicketValidity" Value="X"/>
    <air:CategoryDetails Name="Journey" Value="A"/>
    <air:CategoryDetails Name="Amount1" Value="0020000"/>
    <air:CategoryDetails Name="Currency1" Value="AUD"/>
    <air:CategoryDetails Name="Decimal1" Value="2"/>
    <air:CategoryDetails Name="Percentage" Value="0000000"/>
    <air:CategoryDetails Name="Amount2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="MinAmount" Value="0000000"/>
    <air:CategoryDetails Name="Dec" Value="0"/>
    <air:CategoryDetails Name="FeeApplication" Value="2"/>
    <air:CategoryDetails Name="TypTikt" Value="A"/>
    <air:CategoryDetails Name="End" Value="Y"/>
   </air:FareRuleCategoryType>
  </air:StructuredFareRules>
 </air:FareRule>
</air:AirFareRulesRsp>

 

PTC – Passenger Type Code

Ticket Validity

Indicates if the change is to be made within the ticket validity

Departure of Journey

Indicates the change is before or after the origin of the original ticketed journey

Pricing Unit

Indicates the change is before or after the origin of the original pricing unit.

Fare Component

Indicates the change is before or after the origin of the original Fare Component

Advance Reservation – From Point

The beginning point to measure advance reservation requirements

Advance Reservation – To Point

The ending point to measure advance reservation requirements

Advance Reservation – Period

Indicates either a period of elapsed time or day of week occurrence

Advance Reservation – Unit of Time

Unit in which the preceding ‘period’ field is expressed

Note: Period field with a value of ‘000’ with a unit of ‘D’ = Same Day

Advance Reservation – Change Indicator

Indicator that the changes are not permitted or the number of times the ticket may be re-issued

Passenger Occurrence – First

The first occurrence of the passengers flying together, which are to be re-issued per this penalty amount

Passenger Occurrence – Last

The last occurrence of the passengers flying together, which are to be re-issued per this penalty amount

Penalty Calculations – Charge 1Amount 1

Penalty Calculations – Charge 1Currency 1

A code in which the preceding amount field is represented

Penalty Calculations – Charge 1 Decimal 1

Number of decimal placements assumed in the preceding amount field.

Penalty Calculations – Charge 1Percentage

Percentage of the base fare assessed as the penalty

Penalty Calculations – Charge 2Amount 2

A penalty amount stated as a flat amount

Penalty Calculations – Charge 2 Currency 2

A code in which the preceding amount field is represented

Penalty Calculations – Charge 2 Decimal 2

Number of decimal placements assumed in the preceding amount field.

Penalty Calculations – High Low

Indicates that when both amount and percentage are specified, use the higher or the lower of the two amounts

Minimum Amount

The minimum amount of the additional collection that must be made

Minimum Amount Currency

A code in which the preceding amount field is represented

Minimum Amount Decimal

Number of decimal placements assumed in the preceding amount field.

Journey, Pricing Unit, or Fare Component

Indicates if the re-issue fee is assessed on a Journey, Pricing Unit, or Fare Component basis

NOTE: All Category 31 Record 3 tables with an effective date equal to or later than July 11, 2010 will contain only value Blank in byte 104.

Fee Application

The Fee Application of the preceding field. Specifies how to assess the change fees.

Ticket Type

Indicates whether the ticket must be reissued or revalidated.

Discounts

Indicates whether to apply discounts. Up to 4 may be coded.

Residual vs. Penalty

Form of Refund

Indicates the method in which any applicable refund amount will be returned to the passenger

Endorsement

Indicates the endorsement requirements for the reissue

Domestic / International Combinations

Indicates whether a domestic carrier on the itinerary gives permission for an international carrier to apply specific international reissue rules to the domestic portion of travel

Restrictive Penalty Hierarchy

Indicates which restrictive penalty hierarchy to be used

Category 33 – Voluntary Refunds

Example

AirFareRules with provider 1V – CAT33 (VOR)

Request

<air:AirFareRulesReq TargetBranch="XXXXXX">
 <com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
 <air:FareRuleKey FareInfoRef="XXXXXX" ProviderCode="1V">XXXXXX</air:FareRuleKey>
 <air:FareRulesFilterCategory>
  <air:CategoryCode>VOR</air:CategoryCode>
 </air:FareRulesFilterCategory>
</air:AirFareRulesReq>

 

Response

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
 <SOAP:Body>
  <air:AirFareRulesRsp TransactionId="XXXXXX" ResponseTime="1379" xmlns:air="http://www.travelport.com/schema/air_v48_0">
    <air:FareRule FareInfoRef="XXXXXX" RuleNumber="AU02" Source="ATPCO" TariffNumber="003" ProviderCode="1V">
     <air:StructuredFareRules>
      <air:FareRuleCategoryType Value="VOR">
       <air:CategoryDetails Name="TicketValidity" Value="A"/>
       <air:CategoryDetails Name="TicketPeriod" Value="24"/>
       <air:CategoryDetails Name="TicketUnit" Value="M"/>
       <air:CategoryDetails Name="DepartureOfJourney" Value="B"/>
       <air:CategoryDetails Name="CancellationIndicator" Value="X"/>
       <air:CategoryDetails Name="TariffNum" Value="000"/>
       <air:CategoryDetails Name="BookingCode" Value="E"/>
       <air:CategoryDetails Name="Amount1" Value="0000000"/>
       <air:CategoryDetails Name="Decimal1" Value="0"/>
       <air:CategoryDetails Name="Percentage" Value="0000000"/>
       <air:CategoryDetails Name="Amount2" Value="0000000"/>
       <air:CategoryDetails Name="Decimal2" Value="0"/>
       <air:CategoryDetails Name="MinAmount" Value="0000000"/>
       <air:CategoryDetails Name="Dec" Value="0"/>
       <air:CategoryDetails Name="Pufc" Value="P"/>
       <air:CategoryDetails Name="CalculationOption" Value="A"/>
      </air:FareRuleCategoryType>
     </air:StructuredFareRules>
    </air:FareRule>
   </air:AirFareRulesRsp>
  </SOAP:Body>
</SOAP:Envelope>

PTC – Passenger Type Code

Ticket Validity

Indicates if the refund is to be made within the ticket validity

Ticket Validation - Period

Indicates either a period of elapsed time or day of week occurrence

Ticket Validation - Unit of Time

Unit in which the preceding ‘period’ field is expressed

Note: Period field with a value of ‘000’ with a unit of ‘D’ = Same Day

Departure of Journey

Indicates the refund is before or after the origin of the original ticketed journey

Pricing Unit

Indicates the refund is before or after the origin of the original pricing unit.

Fare Component

Indicates the refund is before or after the origin of the original Fare Component

Advance Cancellation – From / To Point

The beginning and ending point to measure advance cancellation requirements.

Advance Cancellation – Last Time of Day

Time of day by which the refund request is required

Advance Cancellation – Period

Indicates either a period of elapsed time or day of week occurrence

Advance Cancellation – Unit of Time

Unit in which the preceding ‘period’ field is expressed

Note: Period field with a value of ‘000’ with a unit of ‘D’ = Same Day

Advance Cancellation – Ticket Time Limit

Indicates if the refund request is permitted before or after the ticketing time limit (of the Journey or PU)

Advance Reservation Validation

Indicates how advance reservation data in Category 5 should be validated when processing byte 41

Fully Flown

Indicates that data in this table applies to partially or fully flown fare components only

Originally Scheduled Flight

Indicates when the refund request for any unused flights being refunded must be made

Originally Scheduled Period

Indicates either a period of elapsed time or day of week occurrence

Originally Scheduled – Unit of Time

Unit in which the preceding ‘period’ field is expressed

Note: Period field with a value of ‘000’ with a unit of ‘D’ = Same Day

Cancellation Indicator

Fare Break Points

Indicates that when repricing the fully flown portion of the itinerary, the fare break points may or may not be changed in order to calculate the value of the flown portion

Re-Price Indicator

Indicates that when a partially used ticket is submitted for refund, in order to determine the value of the portion used, re-price using historical travel commencement or historical ticket fares

Re-Pricing Rules – Tariff Number

Re-Pricing Rules – Indicator

Indicates that private tariffs should be considered along with public tariffs when 000 is coded in a public rules tariff Category 33

Re-Pricing Rules – Rule Number

The specified rule number where reprice fares must reside

Re-Pricing Rules – Indicator

Indicator for how the following field is defined

Re-Pricing Rules – Fare Class Code

Re-Pricing Rules – Same Indicator

Indicates that when re-pricing, select fare that are the same fare type or fare class code as the original fare

Re-Pricing Rules – Normal/Special

Indicate when repricing, select fares that are Normal or Special as indicated in the Record 1

Re-Pricing Rules – One Way / Round Trip

Indicates when re-pricing, select fares that are One Way (Tag 1 or Tag 3) or Round Trip (Tag 2) as indicated in the Fare Record or Record 1

Re-Pricing Rules – Fare Amount

Indicates that when re-pricing fully flown fare components, to select fare that are equal to or greater in amount than the original fare.

Re-Pricing Rules – Booking Code

Indicates that when re-pricing whether to select fares that are booked in the same booking code as the originally ticketed fare components

Amount 1

A penalty amount stated as a flat amount

Currency 1

A code in the preceding amount field is represented

Decimal 1

Number of decimal placements assumed in the preceding amount field

Percentage

Percentage of the base fare assessed as the penalty

Amount 2

A penalty amount stated as a flat amount

Currency 2

A code in the preceding amount field is represented

Decimal 2

Number of decimal placements assumed in the preceding amount field

Higher or Lower

Indicates that when both amount and percentage are specified, use the higher or the lower of the two amounts

Minimum Amount

The minimum amount of the additional collection that must be made

Minimum Amount Currency

A code in which the preceding amount field is represented

Minimum Amount Decimal

Number of decimal placements assumed in the preceding amount field.

Pricing Unit / Fare Component

Indicates if the refund fee is assessed on a Pricing Unit or Fare Component basis

Calculation Options

Indicates that the refund should be calculated using one of the two defined methods

Discounts

Indicates whether to apply discounts. Up to 4 may be coded.

Form of Refund

Indicate the form of refund to apply

Tax is Non-Refundable

Indicates the refundability of taxes on non-refundable and refundable type fares. For non-refundable fare types this field only applies to 100% non-refundable fares

Customer First

The Customer First fields are used to indicate that a penalty fare is fully refundable within a specified period of time after reservations/ticketing. Data in these field are match conditions.

Customer First - Period of Time

Indicates either a period of elapsed time or day of week occurrence

Customer First – Unit of Time

Specifies that the refund request must be on/before a specific number of minutes, hours, days, or months after reservations/ticketing

Unit in which the preceding ‘period’ field is expressed

Note: Period field with a value of ‘000’ with a unit of ‘D’ = Same Day

Reservation / Ticket

Indicates if change is measured from after reservations are made, or after reservations and ticketing are made

Blank

Blank returns all categories with structured fare rules.

AirFareRules with provider 1V – ALL CATEGORIES

Request

<air:AirFareRulesReq TargetBranch="XXXXXX">
 <com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
 <air:FareRuleKey FareInfoRef="XXXXXX" ProviderCode="1V">XXXXXX</air:FareRuleKey>
 <air:FareRulesFilterCategory>
  <air:CategoryCode>ADV</air:CategoryCode>
  <air:CategoryCode>MIN</air:CategoryCode>
  <air:CategoryCode>MAX</air:CategoryCode>
  <air:CategoryCode>STP</air:CategoryCode>
  <air:CategoryCode>CHG</air:CategoryCode>
  <air:CategoryCode>VOL</air:CategoryCode>
  <air:CategoryCode>VOR</air:CategoryCode>
 </air:FareRulesFilterCategory>
</air:AirFareRulesReq>
 

 

Response

<air:AirFareRulesRsp TransactionId="XXXXXX" ResponseTime="1201" xmlns:air="http://www.travelport.com/schema/air_v48_0" xmlns:common_v48_0="http://www.travelport.com/schema/common_v48_0">
<common_v48_0:ResponseMessage Code="0" Type="Warning">Fare rules for MIN,MAX - rule categories does not exist</common_v48_0:ResponseMessage>
 <air:FareRule FareInfoRef="XXXXXX" RuleNumber="AU02" Source="ATPCO" TariffNumber="003" ProviderCode="1V">
  <air:StructuredFareRules>
   <air:FareRuleCategoryType Value="CHG">
    <air:CategoryDetails Name="CancellationsRefunds" Value="X"/>
    <air:CategoryDetails Name="TktNonRef" Value="X"/>
    <air:CategoryDetails Name="Amt1" Value="0000000"/>
    <air:CategoryDetails Name="Decimal1" Value="0"/>
    <air:CategoryDetails Name="Amt2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="Percent" Value="0000000"/>
    <air:CategoryDetails Name="PaxDeathWaiver" Value="X"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="CHG">
    <air:CategoryDetails Name="Voluntary" Value="X"/>
    <air:CategoryDetails Name="ChangeItinPenalty" Value="X"/>
    <air:CategoryDetails Name="ChangeNoReissuePenalty" Value="X"/>
    <air:CategoryDetails Name="Amt1" Value="0000000"/>
    <air:CategoryDetails Name="Decimal1" Value="0"/>
    <air:CategoryDetails Name="Amt2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="Percent" Value="0000000"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="ADV">
    <air:CategoryDetails Name="ConfirmedSector" Value="X"/>
    <air:CategoryDetails Name="TimeBeforeDept" Value="0"/>
    <air:CategoryDetails Name="ExceptionTime" Value="0"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="STP">
    <air:CategoryDetails Name="MaxStopsPermitted" Value="XX"/>
    <air:CategoryDetails Name="Charges1" Value="0020000"/>
    <air:CategoryDetails Name="AddtlAmt1" Value="0000000"/>
    <air:CategoryDetails Name="Currency1" Value="AUD"/>
    <air:CategoryDetails Name="Decimal1" Value="2"/>
    <air:CategoryDetails Name="Charges2" Value="0000000"/>
    <air:CategoryDetails Name="AddtlAmt2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="SegCount" Value="002"/>
    <air:VariableCategoryDetails Value="Recurring Segment">
     <air:CategoryDetails Name="Application" Value="N"/>
     <air:CategoryDetails Name="LocType" Value="N"/>
     <air:CategoryDetails Name="Loc1" Value="AU"/>
     <air:CategoryDetails Name="Loc2" Value="**"/>
    </air:VariableCategoryDetails>
    <air:VariableCategoryDetails Value="Recurring Segment">
     <air:CategoryDetails Name="LocType" Value="N"/>
     <air:CategoryDetails Name="Loc1" Value="TW"/>
     <air:CategoryDetails Name="Loc2" Value="**"/>
     <air:CategoryDetails Name="ChangeApplies" Value="1"/>
    </air:VariableCategoryDetails>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="VOR">
    <air:CategoryDetails Name="TicketValidity" Value="A"/>
    <air:CategoryDetails Name="TicketPeriod" Value="24"/>
    <air:CategoryDetails Name="TicketUnit" Value="M"/>
    <air:CategoryDetails Name="DepartureOfJourney" Value="B"/>
    <air:CategoryDetails Name="CancellationIndicator" Value="X"/>
    <air:CategoryDetails Name="TariffNum" Value="000"/>
    <air:CategoryDetails Name="BookingCode" Value="E"/>
    <air:CategoryDetails Name="Amount1" Value="0000000"/>
    <air:CategoryDetails Name="Decimal1" Value="0"/>
    <air:CategoryDetails Name="Percentage" Value="0000000"/>
    <air:CategoryDetails Name="Amount2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="MinAmount" Value="0000000"/>
    <air:CategoryDetails Name="Dec" Value="0"/>
    <air:CategoryDetails Name="Pufc" Value="P"/>
    <air:CategoryDetails Name="CalculationOption" Value="A"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="VOL">
    <air:CategoryDetails Name="TicketValidity" Value="X"/>
    <air:CategoryDetails Name="Journey" Value="B"/>
    <air:CategoryDetails Name="Amount1" Value="0000000"/>
    <air:CategoryDetails Name="Decimal1" Value="0"/>
    <air:CategoryDetails Name="Percentage" Value="0000000"/>
    <air:CategoryDetails Name="Amount2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="MinAmount" Value="0000000"/>
    <air:CategoryDetails Name="Dec" Value="0"/>
    <air:CategoryDetails Name="FeeApplication" Value="2"/>
    <air:CategoryDetails Name="TypTikt" Value="A"/>
    <air:CategoryDetails Name="End" Value="Y"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="VOL">
    <air:CategoryDetails Name="TicketValidity" Value="X"/>
    <air:CategoryDetails Name="Journey" Value="B"/>
    <air:CategoryDetails Name="Amount1" Value="0020000"/>
    <air:CategoryDetails Name="Currency1" Value="AUD"/>
    <air:CategoryDetails Name="Decimal1" Value="2"/>
    <air:CategoryDetails Name="Percentage" Value="0000000"/>
    <air:CategoryDetails Name="Amount2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="MinAmount" Value="0000000"/>
    <air:CategoryDetails Name="Dec" Value="0"/>
    <air:CategoryDetails Name="FeeApplication" Value="2"/>
    <air:CategoryDetails Name="TypTikt" Value="A"/>
    <air:CategoryDetails Name="End" Value="Y"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="VOL">
    <air:CategoryDetails Name="TicketValidity" Value="X"/>
    <air:CategoryDetails Name="Journey" Value="A"/>
    <air:CategoryDetails Name="Amount1" Value="0000000"/>
    <air:CategoryDetails Name="Decimal1" Value="0"/>
    <air:CategoryDetails Name="Percentage" Value="0000000"/>
    <air:CategoryDetails Name="Amount2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="MinAmount" Value="0000000"/>
    <air:CategoryDetails Name="Dec" Value="0"/>
    <air:CategoryDetails Name="FeeApplication" Value="2"/>
    <air:CategoryDetails Name="TypTikt" Value="A"/>
    <air:CategoryDetails Name="End" Value="Y"/>
   </air:FareRuleCategoryType>
   <air:FareRuleCategoryType Value="VOL">
    <air:CategoryDetails Name="TicketValidity" Value="X"/>
    <air:CategoryDetails Name="Journey" Value="A"/>
    <air:CategoryDetails Name="Amount1" Value="0020000"/>
    <air:CategoryDetails Name="Currency1" Value="AUD"/>
    <air:CategoryDetails Name="Decimal1" Value="2"/>
    <air:CategoryDetails Name="Percentage" Value="0000000"/>
    <air:CategoryDetails Name="Amount2" Value="0000000"/>
    <air:CategoryDetails Name="Decimal2" Value="0"/>
    <air:CategoryDetails Name="MinAmount" Value="0000000"/>
    <air:CategoryDetails Name="Dec" Value="0"/>
    <air:CategoryDetails Name="FeeApplication" Value="2"/>
    <air:CategoryDetails Name="TypTikt" Value="A"/>
    <air:CategoryDetails Name="End" Value="Y"/>
   </air:FareRuleCategoryType>
  </air:StructuredFareRules>
 </air:FareRule>
</air:AirFareRulesRsp>