VATCalculatorWS


Вычисление НДС входящего в стоимость масок билета

Формальное определение вызоыов функций см. в WSDL

Общее описание процесса вычисления НДС с использованием данного Вэб Сервиса.

Обращаем Ваше внимание на то, что внесение элементов в бронирование с вычисленным НДС ложится полностью на разработчиков использующих данный Вэб Сервис.

Перед началом разработки скачайте XSD схему по следующей ссылке.

По схеме сгенерируйте XML документ и преобразуйте его в кодировку BASE64.

Пример документа сгенерированного по схеме:

<tsts>
                <officeid>MOWR20000</officeid>
                <tst id="7">
                               <segments id="3-4">
                                               <segment id="3">
                                                               <airline>SU</airline>
                                                               <operating>SU</operating>
                                                               <origincity>MOW</origincity>
                                                               <originairport>SVO</originairport>
                                                               <origincountry>RU</origincountry>
                                                               <destinationcity>VVO</destinationcity>
                                                               <destinationairport>VVO</destinationairport>
                                                               <destinationcountry>RU</destinationcountry>
                                               </segment>
                                               <segment id="4">
                                                               <airline>SU</airline>
                                                               <operating>SU</operating>
                                                               <origincity>VVO</origincity>
                                                               <originairport>VVO</originairport>
                                                               <origincountry>RU</origincountry>
                                                               <destinationcity>MOW</destinationcity>
                                                               <destinationairport>SVO</destinationairport>
                                                               <destinationcountry>RU</destinationcountry>
                                               </segment>
                               </segments>
                               <paxes id="1, 2"></paxes>
                               <taxes>
                                               <tax id="1">
                                                               <currency>RUB</currency>
                                                               <amount>4000</amount>
                                                               <type>X</type>
                                                               <code>YQ</code>
                                                               <extcode>AC</extcode>
                                               </tax>
                                               <tax id="2">
                                                               <currency>RUB</currency>
                                                               <amount>416</amount>
                                                               <type>X</type>
                                                               <code>YR</code>
                                                               <extcode>VB</extcode>
                                               </tax>
                               </taxes>
                               <validatingcarrier digit="555">SU</validatingcarrier>
                               <fare type="F" currency="RUB">14000</fare>
                               <total currency="RUB">18416</total>
                               <exchangerate>1.0</exchangerate>
                </tst>
                <tst id="8" type="INF">
                               <segments id="3-4">
                                               <segment id="3">
                                                               <airline>SU</airline>
                                                               <operating>SU</operating>
                                                               <origincity>MOW</origincity>
                                                               <originairport>SVO</originairport>
                                                               <origincountry>RU</origincountry>
                                                               <destinationcity>VVO</destinationcity>
                                                               <destinationairport>VVO</destinationairport>
                                                               <destinationcountry>RU</destinationcountry>
                                               </segment>
                                               <segment id="4">
                                                               <airline>SU</airline>
                                                               <operating>SU</operating>
                                                               <origincity>VVO</origincity>
                                                               <originairport>VVO</originairport>
                                                               <origincountry>RU</origincountry>
                                                               <destinationcity>MOW</destinationcity>
                                                               <destinationairport>SVO</destinationairport>
                                                               <destinationcountry>RU</destinationcountry>
                                               </segment>
                               </segments>
                               <paxes id="3, 4" type="INF"></paxes>
                               <taxes/>
                               <validatingcarrier digit="555">SU</validatingcarrier>
                               <fare type="F" currency="RUB">0</fare>
                               <total currency="RUB">0</total>
                               <exchangerate>1.0</exchangerate>
                </tst>
</tsts>

Пример документа в кодировке BASE64:

PHRzdHM+CiAgICAgICAgICAgICAgICA8b2ZmaWNlaWQ+TU9XUjIwMDAwPC9vZmZpY2VpZD4KICAgICAgICAgICAgICAgIDx0c3QgaWQ9IjciPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNlZ21lbnRzIGlkPSIzLTQiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzZWdtZW50IGlkPSIzIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFpcmxpbmU+U1U8L2FpcmxpbmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYXRpbmc+U1U8L29wZXJhdGluZz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNpdHk+TU9XPC9vcmlnaW5jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luYWlycG9ydD5TVk88L29yaWdpbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5jb3VudHJ5PlJVPC9vcmlnaW5jb3VudHJ5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jaXR5PlZWTzwvZGVzdGluYXRpb25jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25haXJwb3J0PlZWTzwvZGVzdGluYXRpb25haXJwb3J0PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jb3VudHJ5PlJVPC9kZXN0aW5hdGlvbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWdtZW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzZWdtZW50IGlkPSI0Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFpcmxpbmU+U1U8L2FpcmxpbmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYXRpbmc+U1U8L29wZXJhdGluZz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNpdHk+VlZPPC9vcmlnaW5jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luYWlycG9ydD5WVk88L29yaWdpbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5jb3VudHJ5PlJVPC9vcmlnaW5jb3VudHJ5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jaXR5Pk1PVzwvZGVzdGluYXRpb25jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25haXJwb3J0PlNWTzwvZGVzdGluYXRpb25haXJwb3J0PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jb3VudHJ5PlJVPC9kZXN0aW5hdGlvbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWdtZW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWdtZW50cz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXhlcyBpZD0iMSwgMiI+PC9wYXhlcz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0YXhlcz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGF4IGlkPSIxIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGN1cnJlbmN5PlJVQjwvY3VycmVuY3k+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhbW91bnQ+NDAwMDwvYW1vdW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHlwZT5YPC90eXBlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8Y29kZT5ZUTwvY29kZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGV4dGNvZGU+QUM8L2V4dGNvZGU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90YXg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRheCBpZD0iMiI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxjdXJyZW5jeT5SVUI8L2N1cnJlbmN5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YW1vdW50PjQxNjwvYW1vdW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHlwZT5YPC90eXBlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8Y29kZT5ZUjwvY29kZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGV4dGNvZGU+VkI8L2V4dGNvZGU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90YXg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RheGVzPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHZhbGlkYXRpbmdjYXJyaWVyIGRpZ2l0PSI1NTUiPlNVPC92YWxpZGF0aW5nY2Fycmllcj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxmYXJlIHR5cGU9IkYiIGN1cnJlbmN5PSJSVUIiPjE0MDAwPC9mYXJlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRvdGFsIGN1cnJlbmN5PSJSVUIiPjE4NDE2PC90b3RhbD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxleGNoYW5nZXJhdGU+MS4wPC9leGNoYW5nZXJhdGU+CiAgICAgICAgICAgICAgICA8L3RzdD4KICAgICAgICAgICAgICAgIDx0c3QgaWQ9IjgiIHR5cGU9IklORiI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c2VnbWVudHMgaWQ9IjMtNCI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNlZ21lbnQgaWQ9IjMiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YWlybGluZT5TVTwvYWlybGluZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9wZXJhdGluZz5TVTwvb3BlcmF0aW5nPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luY2l0eT5NT1c8L29yaWdpbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5haXJwb3J0PlNWTzwvb3JpZ2luYWlycG9ydD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNvdW50cnk+UlU8L29yaWdpbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNpdHk+VlZPPC9kZXN0aW5hdGlvbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmFpcnBvcnQ+VlZPPC9kZXN0aW5hdGlvbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNvdW50cnk+UlU8L2Rlc3RpbmF0aW9uY291bnRyeT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NlZ21lbnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNlZ21lbnQgaWQ9IjQiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YWlybGluZT5TVTwvYWlybGluZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9wZXJhdGluZz5TVTwvb3BlcmF0aW5nPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luY2l0eT5WVk88L29yaWdpbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5haXJwb3J0PlZWTzwvb3JpZ2luYWlycG9ydD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNvdW50cnk+UlU8L29yaWdpbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNpdHk+TU9XPC9kZXN0aW5hdGlvbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmFpcnBvcnQ+U1ZPPC9kZXN0aW5hdGlvbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNvdW50cnk+UlU8L2Rlc3RpbmF0aW9uY291bnRyeT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NlZ21lbnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NlZ21lbnRzPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBheGVzIGlkPSIzLCA0IiB0eXBlPSJJTkYiPjwvcGF4ZXM+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGF4ZXMvPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHZhbGlkYXRpbmdjYXJyaWVyIGRpZ2l0PSI1NTUiPlNVPC92YWxpZGF0aW5nY2Fycmllcj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxmYXJlIHR5cGU9IkYiIGN1cnJlbmN5PSJSVUIiPjA8L2ZhcmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dG90YWwgY3VycmVuY3k9IlJVQiI+MDwvdG90YWw+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZXhjaGFuZ2VyYXRlPjEuMDwvZXhjaGFuZ2VyYXRlPgogICAgICAgICAgICAgICAgPC90c3Q+CjwvdHN0cz4=

Для вычисления НДС по TST маске вызовите функцию CalculateVAT (предварительно замените PIN код с 0000000000 на PIN код Вашего офиса указанного в tsts/officeid - получить PIN код для офиса Вы можете на сайте MyAmadeus).

Пример SOAP:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CalculateVAT xmlns="http://amadeus.ru/">
      <PINCode>0000000000</PINCode>
      <TSTMasks>PHRzdHM+CiAgICAgICAgICAgICAgICA8b2ZmaWNlaWQ+TU9XUjIwMDAwPC9vZmZpY2VpZD4KICAgICAgICAgICAgICAgIDx0c3QgaWQ9IjciPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNlZ21lbnRzIGlkPSIzLTQiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzZWdtZW50IGlkPSIzIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFpcmxpbmU+U1U8L2FpcmxpbmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYXRpbmc+U1U8L29wZXJhdGluZz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNpdHk+TU9XPC9vcmlnaW5jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luYWlycG9ydD5TVk88L29yaWdpbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5jb3VudHJ5PlJVPC9vcmlnaW5jb3VudHJ5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jaXR5PlZWTzwvZGVzdGluYXRpb25jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25haXJwb3J0PlZWTzwvZGVzdGluYXRpb25haXJwb3J0PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jb3VudHJ5PlJVPC9kZXN0aW5hdGlvbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWdtZW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzZWdtZW50IGlkPSI0Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFpcmxpbmU+U1U8L2FpcmxpbmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYXRpbmc+U1U8L29wZXJhdGluZz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNpdHk+VlZPPC9vcmlnaW5jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luYWlycG9ydD5WVk88L29yaWdpbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5jb3VudHJ5PlJVPC9vcmlnaW5jb3VudHJ5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jaXR5Pk1PVzwvZGVzdGluYXRpb25jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25haXJwb3J0PlNWTzwvZGVzdGluYXRpb25haXJwb3J0PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jb3VudHJ5PlJVPC9kZXN0aW5hdGlvbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWdtZW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWdtZW50cz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXhlcyBpZD0iMSwgMiI+PC9wYXhlcz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0YXhlcz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGF4IGlkPSIxIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGN1cnJlbmN5PlJVQjwvY3VycmVuY3k+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhbW91bnQ+NDAwMDwvYW1vdW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHlwZT5YPC90eXBlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8Y29kZT5ZUTwvY29kZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGV4dGNvZGU+QUM8L2V4dGNvZGU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90YXg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRheCBpZD0iMiI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxjdXJyZW5jeT5SVUI8L2N1cnJlbmN5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YW1vdW50PjQxNjwvYW1vdW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHlwZT5YPC90eXBlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8Y29kZT5ZUjwvY29kZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGV4dGNvZGU+VkI8L2V4dGNvZGU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90YXg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RheGVzPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHZhbGlkYXRpbmdjYXJyaWVyIGRpZ2l0PSI1NTUiPlNVPC92YWxpZGF0aW5nY2Fycmllcj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxmYXJlIHR5cGU9IkYiIGN1cnJlbmN5PSJSVUIiPjE0MDAwPC9mYXJlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRvdGFsIGN1cnJlbmN5PSJSVUIiPjE4NDE2PC90b3RhbD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxleGNoYW5nZXJhdGU+MS4wPC9leGNoYW5nZXJhdGU+CiAgICAgICAgICAgICAgICA8L3RzdD4KICAgICAgICAgICAgICAgIDx0c3QgaWQ9IjgiIHR5cGU9IklORiI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c2VnbWVudHMgaWQ9IjMtNCI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNlZ21lbnQgaWQ9IjMiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YWlybGluZT5TVTwvYWlybGluZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9wZXJhdGluZz5TVTwvb3BlcmF0aW5nPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luY2l0eT5NT1c8L29yaWdpbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5haXJwb3J0PlNWTzwvb3JpZ2luYWlycG9ydD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNvdW50cnk+UlU8L29yaWdpbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNpdHk+VlZPPC9kZXN0aW5hdGlvbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmFpcnBvcnQ+VlZPPC9kZXN0aW5hdGlvbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNvdW50cnk+UlU8L2Rlc3RpbmF0aW9uY291bnRyeT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NlZ21lbnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNlZ21lbnQgaWQ9IjQiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YWlybGluZT5TVTwvYWlybGluZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9wZXJhdGluZz5TVTwvb3BlcmF0aW5nPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luY2l0eT5WVk88L29yaWdpbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5haXJwb3J0PlZWTzwvb3JpZ2luYWlycG9ydD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNvdW50cnk+UlU8L29yaWdpbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNpdHk+TU9XPC9kZXN0aW5hdGlvbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmFpcnBvcnQ+U1ZPPC9kZXN0aW5hdGlvbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNvdW50cnk+UlU8L2Rlc3RpbmF0aW9uY291bnRyeT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NlZ21lbnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NlZ21lbnRzPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBheGVzIGlkPSIzLCA0IiB0eXBlPSJJTkYiPjwvcGF4ZXM+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGF4ZXMvPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHZhbGlkYXRpbmdjYXJyaWVyIGRpZ2l0PSI1NTUiPlNVPC92YWxpZGF0aW5nY2Fycmllcj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxmYXJlIHR5cGU9IkYiIGN1cnJlbmN5PSJSVUIiPjA8L2ZhcmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dG90YWwgY3VycmVuY3k9IlJVQiI+MDwvdG90YWw+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZXhjaGFuZ2VyYXRlPjEuMDwvZXhjaGFuZ2VyYXRlPgogICAgICAgICAgICAgICAgPC90c3Q+CjwvdHN0cz4=
</TSTMasks>
    </CalculateVAT>
  </soap:Body>
</soap:Envelope>

Пример ответа системы на запрос:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<soap:Body>
		<CalculateVATResponse xmlns="http://amadeus.ru/">
			<CalculateVATResult>
				<VATCalculationData>
					<TSTVATCalculationResult> <- первая маска
						<VATTSTsID>7</VATTSTsID> <- номер маски
						<VATPAXexID>1, 2</VATPAXexID> <- номер пассажира
						<VATSegmentsID>3-4</VATSegmentsID> <- номер полётного сегмента
						<VATCurrency>RUB</VATCurrency> <- код валюты
						<VATValue>1699.83</VATValue> <- вычисленный НДС по маске
						<VATFareValue>1272.73</VATFareValue> <- НДС от тарифа по маске
						<VATTaxValue>427.09999999999997</VATTaxValue> <- НДС от такс по маске
						<sVATValue>1699.83 RUB</sVATValue> <- НДС по маске в виде текста
						<sVATFareValue>1272.73 RUB</sVATFareValue> <- НДС от тарифа в виде текста
						<sVATTaxValue>427.10 RUB</sVATTaxValue> <- НДС от такс в виде текста
					</TSTVATCalculationResult>
					<TSTVATCalculationResult> <- вторая маска
						<VATTSTsID>8</VATTSTsID>
						<VATPAXexID>3, 4</VATPAXexID>
						<VATSegmentsID>3-4</VATSegmentsID>
						<VATCurrency>RUB</VATCurrency>
						<VATValue>0</VATValue>
						<VATFareValue>0</VATFareValue>
						<VATTaxValue>0</VATTaxValue>
						<sVATValue>0.00 RUB</sVATValue>
						<sVATFareValue>0.00 RUB</sVATFareValue>
						<sVATTaxValue>0.00 RUB</sVATTaxValue>
					</TSTVATCalculationResult>
				</VATCalculationData>
			</CalculateVATResult>
		</CalculateVATResponse>
	</soap:Body>
</soap:Envelope>

Для вычисления НДС по каждой позиции в TST маске вызовите функцию CalculateDetailVAT (предварительно замените PIN код с 0000000000 на PIN код Вашего офиса указанного в tsts/officeid - получить PIN код для офиса Вы можете на сайте MyAmadeus).

Пример SOAP:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CalculateDetailVAT xmlns="http://amadeus.ru/">
      <PINCode>0000000000</PINCode>
      <TSTMasks>PHRzdHM+CiAgICAgICAgICAgICAgICA8b2ZmaWNlaWQ+TU9XUjIwMDAwPC9vZmZpY2VpZD4KICAgICAgICAgICAgICAgIDx0c3QgaWQ9IjciPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNlZ21lbnRzIGlkPSIzLTQiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzZWdtZW50IGlkPSIzIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFpcmxpbmU+U1U8L2FpcmxpbmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYXRpbmc+U1U8L29wZXJhdGluZz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNpdHk+TU9XPC9vcmlnaW5jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luYWlycG9ydD5TVk88L29yaWdpbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5jb3VudHJ5PlJVPC9vcmlnaW5jb3VudHJ5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jaXR5PlZWTzwvZGVzdGluYXRpb25jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25haXJwb3J0PlZWTzwvZGVzdGluYXRpb25haXJwb3J0PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jb3VudHJ5PlJVPC9kZXN0aW5hdGlvbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWdtZW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzZWdtZW50IGlkPSI0Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFpcmxpbmU+U1U8L2FpcmxpbmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYXRpbmc+U1U8L29wZXJhdGluZz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNpdHk+VlZPPC9vcmlnaW5jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luYWlycG9ydD5WVk88L29yaWdpbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5jb3VudHJ5PlJVPC9vcmlnaW5jb3VudHJ5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jaXR5Pk1PVzwvZGVzdGluYXRpb25jaXR5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25haXJwb3J0PlNWTzwvZGVzdGluYXRpb25haXJwb3J0PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGVzdGluYXRpb25jb3VudHJ5PlJVPC9kZXN0aW5hdGlvbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWdtZW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWdtZW50cz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXhlcyBpZD0iMSwgMiI+PC9wYXhlcz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0YXhlcz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGF4IGlkPSIxIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGN1cnJlbmN5PlJVQjwvY3VycmVuY3k+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhbW91bnQ+NDAwMDwvYW1vdW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHlwZT5YPC90eXBlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8Y29kZT5ZUTwvY29kZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGV4dGNvZGU+QUM8L2V4dGNvZGU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90YXg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRheCBpZD0iMiI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxjdXJyZW5jeT5SVUI8L2N1cnJlbmN5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YW1vdW50PjQxNjwvYW1vdW50PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHlwZT5YPC90eXBlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8Y29kZT5ZUjwvY29kZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGV4dGNvZGU+VkI8L2V4dGNvZGU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90YXg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RheGVzPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHZhbGlkYXRpbmdjYXJyaWVyIGRpZ2l0PSI1NTUiPlNVPC92YWxpZGF0aW5nY2Fycmllcj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxmYXJlIHR5cGU9IkYiIGN1cnJlbmN5PSJSVUIiPjE0MDAwPC9mYXJlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRvdGFsIGN1cnJlbmN5PSJSVUIiPjE4NDE2PC90b3RhbD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxleGNoYW5nZXJhdGU+MS4wPC9leGNoYW5nZXJhdGU+CiAgICAgICAgICAgICAgICA8L3RzdD4KICAgICAgICAgICAgICAgIDx0c3QgaWQ9IjgiIHR5cGU9IklORiI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c2VnbWVudHMgaWQ9IjMtNCI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNlZ21lbnQgaWQ9IjMiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YWlybGluZT5TVTwvYWlybGluZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9wZXJhdGluZz5TVTwvb3BlcmF0aW5nPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luY2l0eT5NT1c8L29yaWdpbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5haXJwb3J0PlNWTzwvb3JpZ2luYWlycG9ydD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNvdW50cnk+UlU8L29yaWdpbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNpdHk+VlZPPC9kZXN0aW5hdGlvbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmFpcnBvcnQ+VlZPPC9kZXN0aW5hdGlvbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNvdW50cnk+UlU8L2Rlc3RpbmF0aW9uY291bnRyeT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NlZ21lbnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNlZ21lbnQgaWQ9IjQiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YWlybGluZT5TVTwvYWlybGluZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9wZXJhdGluZz5TVTwvb3BlcmF0aW5nPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3JpZ2luY2l0eT5WVk88L29yaWdpbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcmlnaW5haXJwb3J0PlZWTzwvb3JpZ2luYWlycG9ydD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9yaWdpbmNvdW50cnk+UlU8L29yaWdpbmNvdW50cnk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNpdHk+TU9XPC9kZXN0aW5hdGlvbmNpdHk+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmFpcnBvcnQ+U1ZPPC9kZXN0aW5hdGlvbmFpcnBvcnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkZXN0aW5hdGlvbmNvdW50cnk+UlU8L2Rlc3RpbmF0aW9uY291bnRyeT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NlZ21lbnQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NlZ21lbnRzPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBheGVzIGlkPSIzLCA0IiB0eXBlPSJJTkYiPjwvcGF4ZXM+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGF4ZXMvPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHZhbGlkYXRpbmdjYXJyaWVyIGRpZ2l0PSI1NTUiPlNVPC92YWxpZGF0aW5nY2Fycmllcj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxmYXJlIHR5cGU9IkYiIGN1cnJlbmN5PSJSVUIiPjA8L2ZhcmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dG90YWwgY3VycmVuY3k9IlJVQiI+MDwvdG90YWw+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZXhjaGFuZ2VyYXRlPjEuMDwvZXhjaGFuZ2VyYXRlPgogICAgICAgICAgICAgICAgPC90c3Q+CjwvdHN0cz4=
</TSTMasks>
    </CalculateDetailVAT>
  </soap:Body>
</soap:Envelope>

Результат выполнения запроса к функции CalculateDetailVAT

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<soap:Body>
		<CalculateDetailVATResponse xmlns="http://amadeus.ru/">
			<CalculateDetailVATResult>
				<VATDetailCalculationData>
					<TSTVATDetailCalculationResult>
						<VATTSTsID>7</VATTSTsID> <- номер маски
						<VATPAXexID>1, 2</VATPAXexID> <- номер пассажира
						<VATSegmentsID>3-4</VATSegmentsID> <- номер полётного сегмента
						<VATDetailCalculationResult> <- компоненты входящие в НДС
							<VATItemDetailCalculationResult> <- компонента НДС
								<VATBaseType>TAX</VATBaseType> <- тип элемента TAX-такса/FARE-тариф
								<VATBaseCode>YQAC</VATBaseCode> <- код таксы или код вида тарифа
								<VATCurrency>RUB</VATCurrency> <- код валюты
								<VATBase>4000</VATBase> <- база от которой вычисляется НДС
								<VATRate>10</VATRate> <- ставка НДС
								<VATValue>363.64</VATValue> <- значение НДС
							</VATItemDetailCalculationResult>
							<VATItemDetailCalculationResult>
								<VATBaseType>TAX</VATBaseType>
								<VATBaseCode>YRVB</VATBaseCode>
								<VATCurrency>RUB</VATCurrency>
								<VATBase>416</VATBase>
								<VATRate>18</VATRate>
								<VATValue>63.46</VATValue>
							</VATItemDetailCalculationResult>
							<VATItemDetailCalculationResult>
								<VATBaseType>FARE</VATBaseType> <- тип элемента TAX-такса/FARE-тариф
								<VATBaseCode>F</VATBaseCode> <- код таксы или код вида тарифа
								<VATCurrency>RUB</VATCurrency>
								<VATBase>14000</VATBase>
								<VATRate>10</VATRate>
								<VATValue>1272.73</VATValue>
							</VATItemDetailCalculationResult>
						</VATDetailCalculationResult>
					</TSTVATDetailCalculationResult>
					<TSTVATDetailCalculationResult>
						<VATTSTsID>8</VATTSTsID>
						<VATPAXexID>3, 4</VATPAXexID>
						<VATSegmentsID>3-4</VATSegmentsID>
						<VATDetailCalculationResult>
							<VATItemDetailCalculationResult>
								<VATBaseType>FARE</VATBaseType>
								<VATBaseCode>F</VATBaseCode>
								<VATCurrency>RUB</VATCurrency>
								<VATBase>0</VATBase>
								<VATRate>10</VATRate>
								<VATValue>0</VATValue>
							</VATItemDetailCalculationResult>
						</VATDetailCalculationResult>
					</TSTVATDetailCalculationResult>
				</VATDetailCalculationData>
			</CalculateDetailVATResult>
		</CalculateDetailVATResponse>
	</soap:Body>
</soap:Envelope>

В случае введения дополнительных требований со стороны авиакомпаний которые повлекут изменение формата запроса/ответа функции CalculateVAT и CalculateDetailVAT останутся без изменений а для учёта требований будут введены новые функции.