amabnl / amadeus-ws-client

PHP Amadeus SOAP Web Service client library
Apache License 2.0
178 stars 191 forks source link

Applying Tax Exemption with Fare_PricePNRWithBookingClass #311

Open hmngwy opened 5 years ago

hmngwy commented 5 years ago

Hello,

So in Fare_PricePNRWithBookingClass, we can apply tax exemption for a specific tax code:

/pricingOptionGroup/pricingOptionKey/pricingOptionKey = ET
/pricingOptionGroup/taxInformation/taxType/isoCountry = ZV

This applies the tax exemption for the tax code ZV to everyone in the itinerary.

But say the shape of the passengers in the PNR is:

1 ADT + 1 ADT + 1 CH

Is it possible to apply the tax exemption to just the first adult? And since there are two adults, does it matter whether which one I apply it to (e.g. passenger[0] or passenger[1])?

I have tried setting the below:

/pricingOptionGroup/paxSegTstReference/referenceDetails/type = PA
/pricingOptionGroup/paxSegTstReference/referenceDetails/value = 1

But I am getting INVALID ATTRIBUTE FOR OPTION: ET when using paxSegTstReference with pricingOptionKey/pricingOptionKey = ET.


If this isn't possible, does this mean I have to make a separate booking for the one tax exempted individual, and just have a separate PNR for the two that will have no tax exemptions?

DerMika commented 5 years ago

I don't know. Amadeus Support should be able to answer your question...

bimusiek commented 4 years ago

@hmngwy Did you have any luck solving the issue with Amadeus?