- Previous: GET /priceDetails v1
- Up: Offers API
- Next: GET /ticket-conditions
GET /tax-breakdown
GET /tax-breakdown
The TaxBreakdown endpoint provides the tax breakdown that applies to a specific flight product.
HOW TO USE?
Use case flow can be followed by the consumer by requesting the GET method supplied as HATEOAS link in the response body of AvailableOffers & UpsellOffers.
HEADERS TO USE FOR REQUESTS
Parameter |
Value |
Authorization |
Bearer {{token}} |
Content-Type |
application/json |
Accept |
application/hal+json;charset=utf8 |
Accept-Language |
{{language}}-{{country}} |
AFKL-TRAVEL-Host |
KL or AF |
AFKL-TRAVEL-Country |
Country (overrides Accept-Language country) |
GET
GET https://api.klm.com/travel/offers/v1/flight-products/{id}/tax-breakdown
QUERY PARAMETERS
n/a (use HATEOAS link)
RESPONSE PARAMETERS
Level | Name | Type | Multiplicity | Description |
1 | price | Object | 1 | Price specification for the product. |
2 | currency | String | 1 | The currency used for prices in response. Three letter currency code according to ISO 4217. |
2 | pricePerPassengerTypes | Array of Objects | 1-4 | Price specification per passenger type. |
3 | passengerType | String | 1 | Type of the passenger. ADT, C14, CHD, INF, YTH, YCD |
3 | fare | Number | 1 | Amount of the fare |
3 | taxes | Array of Objects | 1 | List of taxes that apply to the flight product for the passenger type. |
4 | code | String | 1 | Code of the type of tax. |
4 | amount | Number | 1 | Amount applicable to the tax. |
4 | name | String | 1 | Name of the type of tax in the language as specified in ContentLanguage header. |
1 | warning | Object | 0-99 | Warning details |
2 | .code | Number | 1 | Functional warning codes (1000-1999) |
2 | .name | String | 1 |
Name of the warning. Ex :OFA/FUNCTIONAL/INVALID_VALUE - logger/Typology/name |
2 | .description | String | 1 | Description of the warning |
2 | errorinInputPath | String | 1 |
Description of the input Path where the warning occurred |
1 | errors | Object |
0-1 | Error details |
2 | .code | Number |
1 | Functional error codes (1000-1999) Technical error codes (2000-2999) Internal error codes (3000-3999) |
2 | .name | String | 1 |
Name of the error . Ex :OFA/TECHNICAL/INVALID_VALUE - logger/Typology/name |
2 | .description | String |
1 |
Description of the error. |
2 | errorinInputhPath | String | 1 |
Description of the input Path where the error occurred |
HTTP STATUS CODE
HTTP status |
Type |
200 | OK |
500 |
INTERNAL_SERVER_ERROR |
SIMPLE RESPONSE
{
"price": {
"pricesPerPassengerType": [
{
"passengerType": "INF",
"taxes": [
{
"code": "YC",
"amount": 4.89,
"name": "US customs user fee"
},
{
"code": "US",
"amount": 31.42,
"name": "Internationale vervoersbelasting VS"
},
{
"code": "XA",
"amount": 4.44,
"name": "Animal and Plant Health Inspection Service (APHIS)-belasting VS"
},
{
"code": "XY",
"amount": 6.22,
"name": "Immigration and Naturalization Services (INS)-gebruikersbelasting VS"
},
{
"code": "AY",
"amount": 4.97,
"name": "Veiligheidsservicetoeslag passagiers burgerluchtvaart VS"
}
]
},
{
"passengerType": "ADT",
"taxes": [
{
"code": "YQ",
"amount": 233,
"name": "Internationale toeslag van de luchtvaartmaatschappij"
},
{
"code": "RN",
"amount": 14.38,
"name": "Luchthaven Passagiersservicetoeslag"
},
{
"code": "VV",
"amount": 0.5,
"name": "Geluidstoeslag"
},
{
"code": "CJ",
"amount": 12.17,
"name": "Veiligheidstoeslag"
},
{
"code": "YC",
"amount": 4.89,
"name": "US customs user fee"
},
{
"code": "US",
"amount": 31.42,
"name": "Internationale vervoersbelasting VS"
},
{
"code": "XA",
"amount": 4.44,
"name": "Animal and Plant Health Inspection Service (APHIS)-belasting VS"
},
{
"code": "XY",
"amount": 6.22,
"name": "Immigration and Naturalization Services (INS)-gebruikersbelasting VS"
},
{
"code": "AY",
"amount": 4.97,
"name": "Veiligheidsservicetoeslag passagiers burgerluchtvaart VS"
},
{
"code": "QX",
"amount": 7.3,
"name": "Luchthaven Passagiersservicetoeslag internationaal"
},
{
"code": "FR",
"amount": 10.35,
"name": "Franse luchthavenbelasting"
},
{
"code": "XF",
"amount": 4,
"name": "Toeslag passagiersvoorzieningen VS"
}
]
},
{
"passengerType": "CHD",
"taxes": [
{
"code": "YQ",
"amount": 233,
"name": "Internationale toeslag van de luchtvaartmaatschappij"
},
{
"code": "RN",
"amount": 14.38,
"name": "Luchthaven Passagiersservicetoeslag"
},
{
"code": "VV",
"amount": 0.5,
"name": "Geluidstoeslag"
},
{
"code": "CJ",
"amount": 12.17,
"name": "Veiligheidstoeslag"
},
{
"code": "YC",
"amount": 4.89,
"name": "US customs user fee"
},
{
"code": "US",
"amount": 31.42,
"name": "Internationale vervoersbelasting VS"
},
{
"code": "XA",
"amount": 4.44,
"name": "Animal and Plant Health Inspection Service (APHIS)-belasting VS"
},
{
"code": "XY",
"amount": 6.22,
"name": "Immigration and Naturalization Services (INS)-gebruikersbelasting VS"
},
{
"code": "AY",
"amount": 4.97,
"name": "Veiligheidsservicetoeslag passagiers burgerluchtvaart VS"
},
{
"code": "QX",
"amount": 7.3,
"name": "Luchthaven Passagiersservicetoeslag internationaal"
},
{
"code": "FR",
"amount": 10.35,
"name": "Franse luchthavenbelasting"
},
{
"code": "XF",
"amount": 4,
"name": "Toeslag passagiersvoorzieningen VS"
}
]
}
],
"currency": "EUR"
}
}
- Previous: GET /priceDetails v1
- Up: Offers API
- Next: GET /ticket-conditions
Docs Navigation
- Air France-KLM Documentation
- Open Data
- Baggage allowance API Process flow - Pre-booking (inspiration) context
- Introduction
- Data scope
- Quick peak
- How to use
- Services overview
- Header
- GET All Allowances without Loyalty
- V1- All Allowances without Loyalty- Request
- V1- All Allowances without Loyalty- Response
- GET Base Allowances
- V1- Base Allowance - Request
- V1- Base Allowance - Response
- GET Loyalty Allowances
- V1- Loyalty Allowance - Request
- V1- Loyalty Allowance - Response
- GET Paid Options with Loyalty
- V1- GET Paid Options with Loyalty - Request
- V1- GET Paid Options with Loyalty - Response
- GET Paid Options without Loyalty
- V1- GET Paid Options without Loyalty - Request
- V1- GET Paid Options without Loyalty - Response
- GET All Allowances with Loyalty
- V1- All Allowances with Loyalty- Request
- V1- All Allowances with Loyalty- Response
- Get Started
- Offers API
- GET /reference-data v1
- GET /reference-data/deals v1
- GET /search-context v1
- POST /lowest-fare-offers v1
- GET /lowest-fare-offers v1
- POST /available-offers v1
- GET /available-offers v1
- GET /flightDetails
- POST /upsell-offers v1
- GET /upsell-offers v1
- GET /priceDetails v1
- GET /tax-breakdown
- GET /ticket-conditions
- GET /ticket-conditions with Reservation ID
- GET /ticket-conditions with Trip Parameters
- POST /shopping-carts
- GET /related-products
- POST /related-products/shopping-carts
- POST /mail-my-search
- POST /flights-availability v1
- POST /best-fare-offers v1
- POST/ bestOffers/feed
- Errors Code
- POST /available-offers/all v1
- POST /best-fare-offers/all-deals v1
- Inspire API / Amenities
- Flight Status API
- Network and Schedule API
- Baggage allowance API Process flow - Pre-booking (inspiration) context
- Metasearch API
- Cargo API
- All Other APIS