OTA_AirTax (XML)

 

API情報

当該機能は、指定した旅程(最大50旅程)のTAXを計算するAPIです。(PNRの作成は不要)
複数の旅客種別のTAXを同時に計算することができます。
 
Service Action Code :OTA_AirTaxRQ
最新バージョン :2.0.2
プロトコル :XML

更新履歴

OTA_AirTaxRQ v2.0.2 on February 04 , 2021
  • Version2.0.2をリリースいたしました。
 

リクエストサンプル

ご利用上の注意事項
・TAXコードは、2桁の場合(例:SW)と3桁の場合(例:YQI)があります。
・「運賃額の○%を適用する」といったTAXがあるため、運賃情報を指定いただくことを推奨いたします。
・「同日に乗り継ぐ場合」や「X時間以内のTRANSIT/TRANSFERの場合」は非課税となるTAXがあるため、フライトスケジュールどおりに旅程情報を指定いただくことを推奨いたします。
・「乗客が降機しない同一航空機/同一便名で乗り継ぐ場合」は非課税となるTAXがあるため、機材情報を指定いただくことを推奨いたします。

リクエストサンプル

 選択<AirTaxRQ xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" EchoToken="String" TimeStamp="2001-12-17T09:30:47-05:00" Target="Production" Version="2.0.2" SequenceNmbr="1" PrimaryLangID="en-us" AltLangID="en-us">
  <POS>
    <Source PseudoCityCode="8IC6" />
  </POS>
  <ItineraryInfos>
    <ItineraryInfo>
      <ReservationItems>
        <Item RPH="1" TicketingCarrier="NH" ValidatingCarrier="NH" SalePseudoCityCode="8IC6">
          <FlightSegment DepartureDateTime="2021-04-22T11:05:00" ArrivalDateTime="2021-04-22T17:50:00" FlightNumber="841" ResBookDesigCode="Y">
            <DepartureAirport LocationCode="HND" CodeContext="IATA" />
            <ArrivalAirport LocationCode="SIN" CodeContext="IATA" />
            <Equipment AirEquipType="789" />
            <MarketingAirline Code="NH" />
            <OperatingAirline Code="NH" />
            <FareBreakInfo SideTripStartInd="false" SideTripEndInd="false" FareComponentNumber="1">
              <FareBasisCode>Y2WOWA1</FareBasisCode>
              <BaseFare Amount="361500" CurrencyCode="JPY" />
            </FareBreakInfo>
          </FlightSegment>
          <AirFareInfo>
            <PTC_FareBreakdown>
              <PassengerType Quantity="2" Code="ADT" Age="20" />
              <FareBasisCode>Y2WOWA1</FareBasisCode>
              <PassengerFare>
                <BaseFare Amount="361500" CurrencyCode="JPY" />
              </PassengerFare>
            </PTC_FareBreakdown>
          </AirFareInfo>
        </Item>
      </ReservationItems>
    </ItineraryInfo>
  </ItineraryInfos>
</AirTaxRQ>

レスポンスサンプル

 選択<AirTaxRS xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.2">
  <Success />
  <ItineraryInfos>
    <ItineraryInfo RPH="1">
      <PTC_FareBreakdown>
        <PassengerType Quantity="2" Code="ADT" Age="20" Total="3710.00" />
      </PTC_FareBreakdown>
      <TaxInfo RPH="1" Total="3710">
        <Taxes>
          <Tax TaxCode="YQI" Amount="100">
            <Text>SERVICE FEE - CARRIER-IMPOSED MISC</Text>
          </Tax>
          <Tax TaxCode="SW" Amount="2610">
            <Text>PASSENGER SERVICE FACILITIES CHARGE  INTERNATIONAL</Text>
          </Tax>
          <Tax TaxCode="TK" Amount="1000">
            <Text>INTERNATIONAL TOURIST TAX</Text>
          </Tax>
        </Taxes>
        <TaxDetails>
          <Tax TaxCode="YQF" Type="F" Amount="0" Currency="JPY" PublishedAmount="0.00" PublishedCurrency="USD" Station="HND" AirlineCode="NH" Text="SERVICE FEE - CARRIER-IMPOSED FUEL" />
          <Tax TaxCode="YQI" Type="F" Amount="100" Currency="JPY" PublishedAmount="100" PublishedCurrency="JPY" Station="HND" AirlineCode="NH" Text="SERVICE FEE - CARRIER-IMPOSED MISC" />
          <Tax TaxCode="OI" Type="F" Amount="0" Currency="JPY" PublishedAmount="0" PublishedCurrency="JPY" Station="HND" CountryCode="JP" AirlineCode="NH" Text="PASSENGER SECURITY SERVICE CHARGE" />
          <Tax TaxCode="SW" Type="F" Amount="2610" Currency="JPY" PublishedAmount="2610" PublishedCurrency="JPY" Station="HND" CountryCode="JP" AirlineCode="NH" Text="PASSENGER SERVICE FACILITIES CHARGE  INTERNATIONAL" />
          <Tax TaxCode="TK" Type="F" Amount="1000" Currency="JPY" PublishedAmount="1000" PublishedCurrency="JPY" Station="HND" CountryCode="JP" AirlineCode="NH" Text="INTERNATIONAL TOURIST TAX" />
        </TaxDetails>
      </TaxInfo>
    </ItineraryInfo>
  </ItineraryInfos>
</AirTaxRS>

リクエストサンプル

 選択<AirTaxRQ EchoToken="String" TimeStamp="2001-12-17T09:30:47-05:00" Target="Production" Version="2.0.2" SequenceNmbr="1" PrimaryLangID="en-us" AltLangID="en-us" xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <POS>
    <Source PseudoCityCode="8IC6" />
  </POS>
  <ItineraryInfos>
    <ItineraryInfo>
      <ReservationItems>
        <Item RPH="1" TicketingCarrier="CX" ValidatingCarrier="CX" SalePseudoCityCode="8HL6">
          <FlightSegment DepartureDateTime="2023-05-20T10:40:00" ArrivalDateTime="2023-05-20T14:40:00" FlightNumber="501" ResBookDesigCode="Y">
            <DepartureAirport LocationCode="NRT" />
            <ArrivalAirport LocationCode="HKG" />
            <Equipment AirEquipType="359" />
            <MarketingAirline Code="CX" />
            <OperatingAirline Code="CX" />
          </FlightSegment>
          <FlightSegment DepartureDateTime="2023-05-25T10:30:00" ArrivalDateTime="2023-05-25T16:05:00" FlightNumber="520" ResBookDesigCode="Y">
            <DepartureAirport LocationCode="HKG" />
            <ArrivalAirport LocationCode="NRT" />
            <Equipment AirEquipType="773" />
            <MarketingAirline Code="CX" />
            <OperatingAirline Code="CX" />
          </FlightSegment>
          <AirFareInfo>
            <PTC_FareBreakdown>
              <PassengerType Quantity="1" Code="ADT" Age="20" />
              <FareBasisCode>YR21JPAR</FareBasisCode>
              <PassengerFare>
                <BaseFare Amount="285000" CurrencyCode="JPY" />
              </PassengerFare>
            </PTC_FareBreakdown>
          </AirFareInfo>
        </Item>
      </ReservationItems>
    </ItineraryInfo>
    <ItineraryInfo>
      <ReservationItems>
        <Item RPH="2" TicketingCarrier="CX" ValidatingCarrier="CX" SalePseudoCityCode="8HL6">
          <FlightSegment DepartureDateTime="2023-05-20T10:40:00" ArrivalDateTime="2023-05-20T14:40:00" FlightNumber="501" ResBookDesigCode="Y">
            <DepartureAirport LocationCode="NRT" />
            <ArrivalAirport LocationCode="HKG" />
            <Equipment AirEquipType="359" />
            <MarketingAirline Code="CX" />
            <OperatingAirline Code="CX" />
          </FlightSegment>
          <FlightSegment DepartureDateTime="2023-05-25T10:30:00" ArrivalDateTime="2023-05-25T16:05:00" FlightNumber="520" ResBookDesigCode="Y">
            <DepartureAirport LocationCode="HKG" />
            <ArrivalAirport LocationCode="NRT" />
            <Equipment AirEquipType="773" />
            <MarketingAirline Code="CX" />
            <OperatingAirline Code="CX" />
          </FlightSegment>
          <AirFareInfo>
            <PTC_FareBreakdown>
              <PassengerType Quantity="1" Code="CNN" Age="10" />
              <FareBasisCode>YR21JPAR/CH25</FareBasisCode>
              <PassengerFare>
                <BaseFare Amount="213800" CurrencyCode="JPY" />
              </PassengerFare>
            </PTC_FareBreakdown>
          </AirFareInfo>
        </Item>
      </ReservationItems>
    </ItineraryInfo>
    <ItineraryInfo>
      <ReservationItems>
        <Item RPH="3" TicketingCarrier="CX" ValidatingCarrier="CX" SalePseudoCityCode="8HL6">
          <FlightSegment DepartureDateTime="2023-05-20T10:40:00" ArrivalDateTime="2023-05-20T14:40:00" FlightNumber="501" ResBookDesigCode="Y">
            <DepartureAirport LocationCode="NRT" />
            <ArrivalAirport LocationCode="HKG" />
            <Equipment AirEquipType="359" />
            <MarketingAirline Code="CX" />
            <OperatingAirline Code="CX" />
          </FlightSegment>
          <FlightSegment DepartureDateTime="2023-05-25T10:30:00" ArrivalDateTime="2023-05-25T16:05:00" FlightNumber="520" ResBookDesigCode="Y">
            <DepartureAirport LocationCode="HKG" />
            <ArrivalAirport LocationCode="NRT" />
            <Equipment AirEquipType="773" />
            <MarketingAirline Code="CX" />
            <OperatingAirline Code="CX" />
          </FlightSegment>
          <AirFareInfo>
            <PTC_FareBreakdown>
              <PassengerType Quantity="1" Code="INF" Age="1" />
              <FareBasisCode>YR21JPAR/IN90</FareBasisCode>
              <PassengerFare>
                <BaseFare Amount="28500" CurrencyCode="JPY" />
              </PassengerFare>
            </PTC_FareBreakdown>
          </AirFareInfo>
        </Item>
      </ReservationItems>
    </ItineraryInfo>
  </ItineraryInfos>
</AirTaxRQ>

レスポンスサンプル

 選択<AirTaxRS xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.2" EchoToken="String">
  <Success />
  <ItineraryInfos>
    <ItineraryInfo RPH="1">
      <PTC_FareBreakdown>
        <PassengerType Quantity="1" Code="ADT" Age="20" Total="9080.00" />
      </PTC_FareBreakdown>
      <TaxInfo RPH="1" Total="9080">
        <Taxes>
          <Tax TaxCode="SW" Amount="2460">
            <Text>PASSENGER SERVICE FACILITIES CHARGE  INTERNATIONAL</Text>
          </Tax>
          <Tax TaxCode="OI" Amount="550">
            <Text>PASSENGER SECURITY SERVICE CHARGE</Text>
          </Tax>
          <Tax TaxCode="HK" Amount="2300">
            <Text>AIR PASSENGER DEPARTURE TAX</Text>
          </Tax>
          <Tax TaxCode="G3" Amount="1720">
            <Text>AIRPORT CONSTRUCTION FEE</Text>
          </Tax>
          <Tax TaxCode="I5" Amount="1050">
            <Text>AIRPORT PASSENGER SECURITY CHARGE</Text>
          </Tax>
          <Tax TaxCode="TK" Amount="1000">
            <Text>INTERNATIONAL TOURIST TAX</Text>
          </Tax>
        </Taxes>
        <TaxDetails>
          <Tax TaxCode="YRI" Type="F" Amount="0" Currency="JPY" PublishedAmount="0.00" PublishedCurrency="USD" Station="NRT" AirlineCode="CX" Text="SERVICE FEE - CARRIER-IMPOSED MISC" />
          <Tax TaxCode="YRI" Type="F" Amount="0" Currency="JPY" PublishedAmount="0.00" PublishedCurrency="USD" Station="HKG" AirlineCode="CX" Text="SERVICE FEE - CARRIER-IMPOSED MISC" />
          <Tax TaxCode="G3" Type="F" Amount="1720" Currency="JPY" PublishedAmount="90" PublishedCurrency="HKD" Station="HKG" CountryCode="HK" AirlineCode="CX" Text="AIRPORT CONSTRUCTION FEE" />
          <Tax TaxCode="HK" Type="F" Amount="2300" Currency="JPY" PublishedAmount="120" PublishedCurrency="HKD" Station="HKG" CountryCode="HK" AirlineCode="CX" Text="AIR PASSENGER DEPARTURE TAX" />
          <Tax TaxCode="I5" Type="F" Amount="1050" Currency="JPY" PublishedAmount="55" PublishedCurrency="HKD" Station="HKG" CountryCode="HK" AirlineCode="CX" Text="AIRPORT PASSENGER SECURITY CHARGE" />
          <Tax TaxCode="OI" Type="F" Amount="550" Currency="JPY" PublishedAmount="550" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="PASSENGER SECURITY SERVICE CHARGE" />
          <Tax TaxCode="SW" Type="F" Amount="2460" Currency="JPY" PublishedAmount="2460" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="PASSENGER SERVICE FACILITIES CHARGE  INTERNATIONAL" />
          <Tax TaxCode="TK" Type="F" Amount="1000" Currency="JPY" PublishedAmount="1000" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="INTERNATIONAL TOURIST TAX" />
        </TaxDetails>
      </TaxInfo>
    </ItineraryInfo>
    <ItineraryInfo RPH="2">
      <PTC_FareBreakdown>
        <PassengerType Quantity="1" Code="CNN" Age="10" Total="5560" />
      </PTC_FareBreakdown>
      <TaxInfo RPH="2" Total="5560">
        <Taxes>
          <Tax TaxCode="SW" Amount="1240">
            <Text>PASSENGER SERVICE FACILITIES CHARGE  INTERNATIONAL</Text>
          </Tax>
          <Tax TaxCode="OI" Amount="550">
            <Text>PASSENGER SECURITY SERVICE CHARGE</Text>
          </Tax>
          <Tax TaxCode="G3" Amount="1720">
            <Text>AIRPORT CONSTRUCTION FEE</Text>
          </Tax>
          <Tax TaxCode="I5" Amount="1050">
            <Text>AIRPORT PASSENGER SECURITY CHARGE</Text>
          </Tax>
          <Tax TaxCode="TK" Amount="1000">
            <Text>INTERNATIONAL TOURIST TAX</Text>
          </Tax>
        </Taxes>
        <TaxDetails>
          <Tax TaxCode="YRI" Type="F" Amount="0" Currency="JPY" PublishedAmount="0.00" PublishedCurrency="USD" Station="NRT" AirlineCode="CX" Text="SERVICE FEE - CARRIER-IMPOSED MISC" />
          <Tax TaxCode="YRI" Type="F" Amount="0" Currency="JPY" PublishedAmount="0.00" PublishedCurrency="USD" Station="HKG" AirlineCode="CX" Text="SERVICE FEE - CARRIER-IMPOSED MISC" />
          <Tax TaxCode="G3" Type="F" Amount="1720" Currency="JPY" PublishedAmount="90" PublishedCurrency="HKD" Station="HKG" CountryCode="HK" AirlineCode="CX" Text="AIRPORT CONSTRUCTION FEE" />
          <Tax TaxCode="HK" Type="F" Amount="0" Currency="JPY" PublishedAmount="0" PublishedCurrency="HKD" Station="HKG" CountryCode="HK" AirlineCode="CX" Text="AIR PASSENGER DEPARTURE TAX" />
          <Tax TaxCode="I5" Type="F" Amount="1050" Currency="JPY" PublishedAmount="55" PublishedCurrency="HKD" Station="HKG" CountryCode="HK" AirlineCode="CX" Text="AIRPORT PASSENGER SECURITY CHARGE" />
          <Tax TaxCode="OI" Type="F" Amount="550" Currency="JPY" PublishedAmount="550" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="PASSENGER SECURITY SERVICE CHARGE" />
          <Tax TaxCode="SW" Type="F" Amount="1240" Currency="JPY" PublishedAmount="1240" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="PASSENGER SERVICE FACILITIES CHARGE  INTERNATIONAL" />
          <Tax TaxCode="TK" Type="F" Amount="1000" Currency="JPY" PublishedAmount="1000" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="INTERNATIONAL TOURIST TAX" />
        </TaxDetails>
      </TaxInfo>
    </ItineraryInfo>
    <ItineraryInfo RPH="3">
      <PTC_FareBreakdown>
        <PassengerType Quantity="1" Code="INF" Age="1" Total="2770" />
      </PTC_FareBreakdown>
      <TaxInfo RPH="3" Total="2770">
        <Taxes>
          <Tax TaxCode="G3" Amount="1720">
            <Text>AIRPORT CONSTRUCTION FEE</Text>
          </Tax>
          <Tax TaxCode="I5" Amount="1050">
            <Text>AIRPORT PASSENGER SECURITY CHARGE</Text>
          </Tax>
        </Taxes>
        <TaxDetails>
          <Tax TaxCode="YRI" Type="F" Amount="0" Currency="JPY" PublishedAmount="0.00" PublishedCurrency="USD" Station="NRT" AirlineCode="CX" Text="SERVICE FEE - CARRIER-IMPOSED MISC" />
          <Tax TaxCode="YRI" Type="F" Amount="0" Currency="JPY" PublishedAmount="0.00" PublishedCurrency="USD" Station="HKG" AirlineCode="CX" Text="SERVICE FEE - CARRIER-IMPOSED MISC" />
          <Tax TaxCode="G3" Type="F" Amount="1720" Currency="JPY" PublishedAmount="90" PublishedCurrency="HKD" Station="HKG" CountryCode="HK" AirlineCode="CX" Text="AIRPORT CONSTRUCTION FEE" />
          <Tax TaxCode="HK" Type="F" Amount="0" Currency="JPY" PublishedAmount="0" PublishedCurrency="HKD" Station="HKG" CountryCode="HK" AirlineCode="CX" Text="AIR PASSENGER DEPARTURE TAX" />
          <Tax TaxCode="I5" Type="F" Amount="1050" Currency="JPY" PublishedAmount="55" PublishedCurrency="HKD" Station="HKG" CountryCode="HK" AirlineCode="CX" Text="AIRPORT PASSENGER SECURITY CHARGE" />
          <Tax TaxCode="HJ" Type="F" Amount="0" Currency="JPY" PublishedAmount="0" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="PASSENGER FACILITY CHARGE  DOMESTIC DEPARTURES" />
          <Tax TaxCode="HJ2" Type="F" Amount="0" Currency="JPY" PublishedAmount="0" PublishedCurrency="JPY" Station="HKG" CountryCode="JP" AirlineCode="CX" Text="PASSENGER FACILITY CHARGE DOMESTIC ARRIVALS" />
          <Tax TaxCode="JP" Type="P" Amount="0" Currency="JPY" PublishedAmount="0" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="CONSUMPTION TAX" />
          <Tax TaxCode="OI" Type="F" Amount="0" Currency="JPY" PublishedAmount="0" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="PASSENGER SECURITY SERVICE CHARGE" />
          <Tax TaxCode="SW" Type="F" Amount="0" Currency="JPY" PublishedAmount="0" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="PASSENGER SERVICE FACILITIES CHARGE  INTERNATIONAL" />
          <Tax TaxCode="TK" Type="F" Amount="0" Currency="JPY" PublishedAmount="0" PublishedCurrency="JPY" Station="NRT" CountryCode="JP" AirlineCode="CX" Text="INTERNATIONAL TOURIST TAX" />
        </TaxDetails>
      </TaxInfo>
    </ItineraryInfo>
  </ItineraryInfos>
</AirTaxRS>
 

XMLタグ定義書

XMLスキーマ

【注意点】
各種XMLスキーマは、Sabre社提供のオリジナル版となるため、「XMLタグ定義書」の記載上、
利用不可の情報が含まれております。
スキーマを利用してアプリケーションを構築される場合の各タグの利用可否は、
必ず「XMLタグ定義書」にてご確認ください。

※弊社にて「XMLタグ定義書」を作成する際、各タグの利用可否確認を行っております。