Service


Click here for a complete list of operations.

RetrieveVoucherData

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
sXML:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /pi_public_v2/service.asmx HTTP/1.1
Host: pipreprod.fintrax.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://yes.fintrax.com/piserver/v2/RetrieveVoucherData"

<?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>
    <RetrieveVoucherData xmlns="http://yes.fintrax.com/piserver/v2/">
      <sXML>string</sXML>
    </RetrieveVoucherData>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?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>
    <RetrieveVoucherDataResponse xmlns="http://yes.fintrax.com/piserver/v2/">
      <RetrieveVoucherDataResult xmlns="">
        <xml_message_type>bytes</xml_message_type>
        <version>
          <xml_version>bytes</xml_version>
        </version>
        <merchant_data>
          <merchant_country_code>unsignedShort</merchant_country_code>
          <merchant_currency_code>unsignedShort</merchant_currency_code>
          <merchant_storename>string</merchant_storename>
          <merchant_customer_storeid>string</merchant_customer_storeid>
          <merchant_addressline_one>string</merchant_addressline_one>
          <merchant_addressline_two>string</merchant_addressline_two>
          <merchant_addressline_three>string</merchant_addressline_three>
          <merchant_addressline_four>string</merchant_addressline_four>
          <merchant_addressline_five>string</merchant_addressline_five>
          <merchant_addressline_six>string</merchant_addressline_six>
        </merchant_data>
        <operator_info>
          <operator_id>string</operator_id>
          <operator_title>string</operator_title>
          <operator_first_name>string</operator_first_name>
          <operator_last_name>string</operator_last_name>
          <operator_PartnerCode>string</operator_PartnerCode>
        </operator_info>
        <invoices>
          <invoice>
            <operator_info xsi:nil="true" />
            <transaction_header xsi:nil="true" />
            <invoice_line_items xsi:nil="true" />
            <transaction_totals xsi:nil="true" />
            <payment_method_details xsi:nil="true" />
          </invoice>
          <invoice>
            <operator_info xsi:nil="true" />
            <transaction_header xsi:nil="true" />
            <invoice_line_items xsi:nil="true" />
            <transaction_totals xsi:nil="true" />
            <payment_method_details xsi:nil="true" />
          </invoice>
        </invoices>
        <customer_data>
          <customer_id>string</customer_id>
          <customer_name>
            <customer_title>string</customer_title>
            <customer_first_name>string</customer_first_name>
            <customer_last_name>string</customer_last_name>
          </customer_name>
          <customer_address>
            <customer_address_line_one>string</customer_address_line_one>
            <customer_address_line_two>string</customer_address_line_two>
            <customer_address_line_three>string</customer_address_line_three>
            <customer_address_line_four>string</customer_address_line_four>
            <customer_address_line_five>string</customer_address_line_five>
            <customer_address_line_six>string</customer_address_line_six>
          </customer_address>
          <zip_code>string</zip_code>
          <gender>Male or Female</gender>
          <mobile_no>string</mobile_no>
          <premier_pass_id>long</premier_pass_id>
          <passport_number>string</passport_number>
          <issued_by_government>string</issued_by_government>
          <country_of_origin>string</country_of_origin>
          <iso_country_of_origin>int</iso_country_of_origin>
          <email>string</email>
          <arrival_date>date</arrival_date>
          <departure_date>date</departure_date>
          <final_destination>string</final_destination>
          <allow_marketing>unsignedByte</allow_marketing>
          <date_of_birth>date</date_of_birth>
          <city_of_birth>string</city_of_birth>
          <country_of_birth>string</country_of_birth>
          <iso_country_of_birth>int</iso_country_of_birth>
          <fiscal_code>string</fiscal_code>
          <age>unsignedByte</age>
          <nearest_store>string</nearest_store>
          <nationality>int</nationality>
          <diplomat_card>string</diplomat_card>
          <visa>string</visa>
          <tourist_document>string</tourist_document>
          <customer_gender>string</customer_gender>
          <exit_point>string</exit_point>
          <flight_number>string</flight_number>
          <contact_prior_to_flight>boolean</contact_prior_to_flight>
          <loyalty>
            <customer_loyalty_number>string</customer_loyalty_number>
          </loyalty>
          <visiting_address>
            <line_one>string</line_one>
            <line_two>string</line_two>
            <line_three>string</line_three>
            <line_four>string</line_four>
            <line_five>string</line_five>
            <line_six>string</line_six>
            <accommodation_id>string</accommodation_id>
          </visiting_address>
          <passport_expiration_date>date</passport_expiration_date>
        </customer_data>
        <accumulation_data>
          <accumulation_number>string</accumulation_number>
          <ac_number_of_invoices>unsignedByte</ac_number_of_invoices>
          <ac_invoice_barcode>
            <ac_barcode_data>string</ac_barcode_data>
          </ac_invoice_barcode>
          <ac_price_incl_vat>string</ac_price_incl_vat>
          <ac_price_excl_vat>string</ac_price_excl_vat>
          <ac_vat_eligible_amount>string</ac_vat_eligible_amount>
          <ac_vat_amount>string</ac_vat_amount>
          <ac_admin_fee>string</ac_admin_fee>
          <ac_refund_amount>string</ac_refund_amount>
          <ac_topos_amount>string</ac_topos_amount>
          <accumulation_time>string</accumulation_time>
          <accumulation_date>date</accumulation_date>
        </accumulation_data>
        <voucher_data>
          <application_type>string</application_type>
          <CardTypeText>string</CardTypeText>
          <POLContingency>boolean</POLContingency>
          <voucher_number>string</voucher_number>
          <vo_number_of_invoices>unsignedByte</vo_number_of_invoices>
          <vo_voucher_barcode>string</vo_voucher_barcode>
          <vo_guide_id>int</vo_guide_id>
          <vo_invoice_info>
            <invoice_data xsi:nil="true" />
            <invoice_data xsi:nil="true" />
          </vo_invoice_info>
          <vo_price_incl_vat>string</vo_price_incl_vat>
          <vo_price_excl_vat>string</vo_price_excl_vat>
          <vo_vat_eligible_amount>string</vo_vat_eligible_amount>
          <vo_vat_amount>string</vo_vat_amount>
          <vo_admin_fee>string</vo_admin_fee>
          <vo_refund_amount>string</vo_refund_amount>
          <vo_voucher_formula>string</vo_voucher_formula>
          <vo_topos_amount>string</vo_topos_amount>
          <vo_voucher_time>string</vo_voucher_time>
          <vo_voucher_date>date</vo_voucher_date>
          <vo_voucher_voided_date>date</vo_voucher_voided_date>
          <vo_sales_date>date</vo_sales_date>
          <vo_refund_option>unsignedShort</vo_refund_option>
          <vo_refund_option_code>string</vo_refund_option_code>
          <vo_refund_option_description>string</vo_refund_option_description>
          <vo_voucher_status>
            <isVoidedPI>boolean</isVoidedPI>
            <voidedPIDate>date</voidedPIDate>
            <isVoidedBO>boolean</isVoidedBO>
            <voidedBODate>date</voidedBODate>
            <isConfirmed>boolean</isConfirmed>
            <confirmedDate>date</confirmedDate>
            <isReimbursed>boolean</isReimbursed>
            <reimbursedDate>date</reimbursedDate>
            <isDebited>boolean</isDebited>
            <debitedDate>date</debitedDate>
            <isRejected>boolean</isRejected>
            <rejectedDate>date</rejectedDate>
            <errorMessage>string</errorMessage>
            <customsStampDate>date</customsStampDate>
          </vo_voucher_status>
          <refund_details>
            <card_details xsi:nil="true" />
            <loyalty_card_details xsi:nil="true" />
            <cheque xsi:nil="true" />
            <alternative_refund_person xsi:nil="true" />
            <bank_details xsi:nil="true" />
            <mobile_no>string</mobile_no>
            <vatoff_service_fee>double</vatoff_service_fee>
          </refund_details>
          <vo_error>string</vo_error>
        </voucher_data>
        <agent_guide_data>
          <agency_id>int</agency_id>
          <guide_id>int</guide_id>
          <agent_iso_country_code>unsignedShort</agent_iso_country_code>
          <antenne_id>int</antenne_id>
        </agent_guide_data>
        <client_update_available>string</client_update_available>
        <ExceptionMessage>string</ExceptionMessage>
      </RetrieveVoucherDataResult>
    </RetrieveVoucherDataResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /pi_public_v2/service.asmx HTTP/1.1
Host: pipreprod.fintrax.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RetrieveVoucherData xmlns="http://yes.fintrax.com/piserver/v2/">
      <sXML>string</sXML>
    </RetrieveVoucherData>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RetrieveVoucherDataResponse xmlns="http://yes.fintrax.com/piserver/v2/">
      <RetrieveVoucherDataResult xmlns="">
        <xml_message_type>bytes</xml_message_type>
        <version>
          <xml_version>bytes</xml_version>
        </version>
        <merchant_data>
          <merchant_country_code>unsignedShort</merchant_country_code>
          <merchant_currency_code>unsignedShort</merchant_currency_code>
          <merchant_storename>string</merchant_storename>
          <merchant_customer_storeid>string</merchant_customer_storeid>
          <merchant_addressline_one>string</merchant_addressline_one>
          <merchant_addressline_two>string</merchant_addressline_two>
          <merchant_addressline_three>string</merchant_addressline_three>
          <merchant_addressline_four>string</merchant_addressline_four>
          <merchant_addressline_five>string</merchant_addressline_five>
          <merchant_addressline_six>string</merchant_addressline_six>
        </merchant_data>
        <operator_info>
          <operator_id>string</operator_id>
          <operator_title>string</operator_title>
          <operator_first_name>string</operator_first_name>
          <operator_last_name>string</operator_last_name>
          <operator_PartnerCode>string</operator_PartnerCode>
        </operator_info>
        <invoices>
          <invoice>
            <operator_info xsi:nil="true" />
            <transaction_header xsi:nil="true" />
            <invoice_line_items xsi:nil="true" />
            <transaction_totals xsi:nil="true" />
            <payment_method_details xsi:nil="true" />
          </invoice>
          <invoice>
            <operator_info xsi:nil="true" />
            <transaction_header xsi:nil="true" />
            <invoice_line_items xsi:nil="true" />
            <transaction_totals xsi:nil="true" />
            <payment_method_details xsi:nil="true" />
          </invoice>
        </invoices>
        <customer_data>
          <customer_id>string</customer_id>
          <customer_name>
            <customer_title>string</customer_title>
            <customer_first_name>string</customer_first_name>
            <customer_last_name>string</customer_last_name>
          </customer_name>
          <customer_address>
            <customer_address_line_one>string</customer_address_line_one>
            <customer_address_line_two>string</customer_address_line_two>
            <customer_address_line_three>string</customer_address_line_three>
            <customer_address_line_four>string</customer_address_line_four>
            <customer_address_line_five>string</customer_address_line_five>
            <customer_address_line_six>string</customer_address_line_six>
          </customer_address>
          <zip_code>string</zip_code>
          <gender>Male or Female</gender>
          <mobile_no>string</mobile_no>
          <premier_pass_id>long</premier_pass_id>
          <passport_number>string</passport_number>
          <issued_by_government>string</issued_by_government>
          <country_of_origin>string</country_of_origin>
          <iso_country_of_origin>int</iso_country_of_origin>
          <email>string</email>
          <arrival_date>date</arrival_date>
          <departure_date>date</departure_date>
          <final_destination>string</final_destination>
          <allow_marketing>unsignedByte</allow_marketing>
          <date_of_birth>date</date_of_birth>
          <city_of_birth>string</city_of_birth>
          <country_of_birth>string</country_of_birth>
          <iso_country_of_birth>int</iso_country_of_birth>
          <fiscal_code>string</fiscal_code>
          <age>unsignedByte</age>
          <nearest_store>string</nearest_store>
          <nationality>int</nationality>
          <diplomat_card>string</diplomat_card>
          <visa>string</visa>
          <tourist_document>string</tourist_document>
          <customer_gender>string</customer_gender>
          <exit_point>string</exit_point>
          <flight_number>string</flight_number>
          <contact_prior_to_flight>boolean</contact_prior_to_flight>
          <loyalty>
            <customer_loyalty_number>string</customer_loyalty_number>
          </loyalty>
          <visiting_address>
            <line_one>string</line_one>
            <line_two>string</line_two>
            <line_three>string</line_three>
            <line_four>string</line_four>
            <line_five>string</line_five>
            <line_six>string</line_six>
            <accommodation_id>string</accommodation_id>
          </visiting_address>
          <passport_expiration_date>date</passport_expiration_date>
        </customer_data>
        <accumulation_data>
          <accumulation_number>string</accumulation_number>
          <ac_number_of_invoices>unsignedByte</ac_number_of_invoices>
          <ac_invoice_barcode>
            <ac_barcode_data>string</ac_barcode_data>
          </ac_invoice_barcode>
          <ac_price_incl_vat>string</ac_price_incl_vat>
          <ac_price_excl_vat>string</ac_price_excl_vat>
          <ac_vat_eligible_amount>string</ac_vat_eligible_amount>
          <ac_vat_amount>string</ac_vat_amount>
          <ac_admin_fee>string</ac_admin_fee>
          <ac_refund_amount>string</ac_refund_amount>
          <ac_topos_amount>string</ac_topos_amount>
          <accumulation_time>string</accumulation_time>
          <accumulation_date>date</accumulation_date>
        </accumulation_data>
        <voucher_data>
          <application_type>string</application_type>
          <CardTypeText>string</CardTypeText>
          <POLContingency>boolean</POLContingency>
          <voucher_number>string</voucher_number>
          <vo_number_of_invoices>unsignedByte</vo_number_of_invoices>
          <vo_voucher_barcode>string</vo_voucher_barcode>
          <vo_guide_id>int</vo_guide_id>
          <vo_invoice_info>
            <invoice_data xsi:nil="true" />
            <invoice_data xsi:nil="true" />
          </vo_invoice_info>
          <vo_price_incl_vat>string</vo_price_incl_vat>
          <vo_price_excl_vat>string</vo_price_excl_vat>
          <vo_vat_eligible_amount>string</vo_vat_eligible_amount>
          <vo_vat_amount>string</vo_vat_amount>
          <vo_admin_fee>string</vo_admin_fee>
          <vo_refund_amount>string</vo_refund_amount>
          <vo_voucher_formula>string</vo_voucher_formula>
          <vo_topos_amount>string</vo_topos_amount>
          <vo_voucher_time>string</vo_voucher_time>
          <vo_voucher_date>date</vo_voucher_date>
          <vo_voucher_voided_date>date</vo_voucher_voided_date>
          <vo_sales_date>date</vo_sales_date>
          <vo_refund_option>unsignedShort</vo_refund_option>
          <vo_refund_option_code>string</vo_refund_option_code>
          <vo_refund_option_description>string</vo_refund_option_description>
          <vo_voucher_status>
            <isVoidedPI>boolean</isVoidedPI>
            <voidedPIDate>date</voidedPIDate>
            <isVoidedBO>boolean</isVoidedBO>
            <voidedBODate>date</voidedBODate>
            <isConfirmed>boolean</isConfirmed>
            <confirmedDate>date</confirmedDate>
            <isReimbursed>boolean</isReimbursed>
            <reimbursedDate>date</reimbursedDate>
            <isDebited>boolean</isDebited>
            <debitedDate>date</debitedDate>
            <isRejected>boolean</isRejected>
            <rejectedDate>date</rejectedDate>
            <errorMessage>string</errorMessage>
            <customsStampDate>date</customsStampDate>
          </vo_voucher_status>
          <refund_details>
            <card_details xsi:nil="true" />
            <loyalty_card_details xsi:nil="true" />
            <cheque xsi:nil="true" />
            <alternative_refund_person xsi:nil="true" />
            <bank_details xsi:nil="true" />
            <mobile_no>string</mobile_no>
            <vatoff_service_fee>double</vatoff_service_fee>
          </refund_details>
          <vo_error>string</vo_error>
        </voucher_data>
        <agent_guide_data>
          <agency_id>int</agency_id>
          <guide_id>int</guide_id>
          <agent_iso_country_code>unsignedShort</agent_iso_country_code>
          <antenne_id>int</antenne_id>
        </agent_guide_data>
        <client_update_available>string</client_update_available>
        <ExceptionMessage>string</ExceptionMessage>
      </RetrieveVoucherDataResult>
    </RetrieveVoucherDataResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /pi_public_v2/service.asmx/RetrieveVoucherData?sXML=string HTTP/1.1
Host: pipreprod.fintrax.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<voucher_details>
  <xml_message_type>bytes</xml_message_type>
  <version>
    <xml_version>bytes</xml_version>
  </version>
  <merchant_data>
    <merchant_country_code>unsignedShort</merchant_country_code>
    <merchant_currency_code>unsignedShort</merchant_currency_code>
    <merchant_storename>string</merchant_storename>
    <merchant_customer_storeid>string</merchant_customer_storeid>
    <merchant_addressline_one>string</merchant_addressline_one>
    <merchant_addressline_two>string</merchant_addressline_two>
    <merchant_addressline_three>string</merchant_addressline_three>
    <merchant_addressline_four>string</merchant_addressline_four>
    <merchant_addressline_five>string</merchant_addressline_five>
    <merchant_addressline_six>string</merchant_addressline_six>
  </merchant_data>
  <operator_info>
    <operator_id>string</operator_id>
    <operator_title>string</operator_title>
    <operator_first_name>string</operator_first_name>
    <operator_last_name>string</operator_last_name>
    <operator_PartnerCode>string</operator_PartnerCode>
  </operator_info>
  <invoices>
    <invoice>
      <operator_info>
        <operator_id>string</operator_id>
        <operator_title>string</operator_title>
        <operator_first_name>string</operator_first_name>
        <operator_last_name>string</operator_last_name>
        <operator_PartnerCode>string</operator_PartnerCode>
      </operator_info>
      <transaction_header>
        <invoice_number>string</invoice_number>
        <barcode_data>string</barcode_data>
        <number_of_items>unsignedByte</number_of_items>
        <transaction_date>date</transaction_date>
        <transaction_time>string</transaction_time>
        <offline_invoice>boolean</offline_invoice>
        <trip_id>string</trip_id>
      </transaction_header>
      <invoice_line_items>
        <line_item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <line_item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </invoice_line_items>
      <transaction_totals>
        <transaction_net_amount>string</transaction_net_amount>
        <transaction_gross_amount>string</transaction_gross_amount>
        <transaction_vat_amount>string</transaction_vat_amount>
      </transaction_totals>
      <payment_method_details>
        <payment_method_detail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <payment_method_detail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </payment_method_details>
    </invoice>
    <invoice>
      <operator_info>
        <operator_id>string</operator_id>
        <operator_title>string</operator_title>
        <operator_first_name>string</operator_first_name>
        <operator_last_name>string</operator_last_name>
        <operator_PartnerCode>string</operator_PartnerCode>
      </operator_info>
      <transaction_header>
        <invoice_number>string</invoice_number>
        <barcode_data>string</barcode_data>
        <number_of_items>unsignedByte</number_of_items>
        <transaction_date>date</transaction_date>
        <transaction_time>string</transaction_time>
        <offline_invoice>boolean</offline_invoice>
        <trip_id>string</trip_id>
      </transaction_header>
      <invoice_line_items>
        <line_item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <line_item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </invoice_line_items>
      <transaction_totals>
        <transaction_net_amount>string</transaction_net_amount>
        <transaction_gross_amount>string</transaction_gross_amount>
        <transaction_vat_amount>string</transaction_vat_amount>
      </transaction_totals>
      <payment_method_details>
        <payment_method_detail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <payment_method_detail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </payment_method_details>
    </invoice>
  </invoices>
  <customer_data>
    <customer_id>string</customer_id>
    <customer_name>
      <customer_title>string</customer_title>
      <customer_first_name>string</customer_first_name>
      <customer_last_name>string</customer_last_name>
    </customer_name>
    <customer_address>
      <customer_address_line_one>string</customer_address_line_one>
      <customer_address_line_two>string</customer_address_line_two>
      <customer_address_line_three>string</customer_address_line_three>
      <customer_address_line_four>string</customer_address_line_four>
      <customer_address_line_five>string</customer_address_line_five>
      <customer_address_line_six>string</customer_address_line_six>
    </customer_address>
    <zip_code>string</zip_code>
    <gender>Male or Female</gender>
    <mobile_no>string</mobile_no>
    <premier_pass_id>long</premier_pass_id>
    <passport_number>string</passport_number>
    <issued_by_government>string</issued_by_government>
    <country_of_origin>string</country_of_origin>
    <iso_country_of_origin>int</iso_country_of_origin>
    <email>string</email>
    <arrival_date>date</arrival_date>
    <departure_date>date</departure_date>
    <final_destination>string</final_destination>
    <allow_marketing>unsignedByte</allow_marketing>
    <date_of_birth>date</date_of_birth>
    <city_of_birth>string</city_of_birth>
    <country_of_birth>string</country_of_birth>
    <iso_country_of_birth>int</iso_country_of_birth>
    <fiscal_code>string</fiscal_code>
    <age>unsignedByte</age>
    <nearest_store>string</nearest_store>
    <nationality>int</nationality>
    <diplomat_card>string</diplomat_card>
    <visa>string</visa>
    <tourist_document>string</tourist_document>
    <customer_gender>string</customer_gender>
    <exit_point>string</exit_point>
    <flight_number>string</flight_number>
    <contact_prior_to_flight>boolean</contact_prior_to_flight>
    <loyalty>
      <customer_loyalty_number>string</customer_loyalty_number>
    </loyalty>
    <visiting_address>
      <line_one>string</line_one>
      <line_two>string</line_two>
      <line_three>string</line_three>
      <line_four>string</line_four>
      <line_five>string</line_five>
      <line_six>string</line_six>
      <accommodation_id>string</accommodation_id>
    </visiting_address>
    <passport_expiration_date>date</passport_expiration_date>
  </customer_data>
  <accumulation_data>
    <accumulation_number>string</accumulation_number>
    <ac_number_of_invoices>unsignedByte</ac_number_of_invoices>
    <ac_invoice_barcode>
      <ac_barcode_data>string</ac_barcode_data>
    </ac_invoice_barcode>
    <ac_price_incl_vat>string</ac_price_incl_vat>
    <ac_price_excl_vat>string</ac_price_excl_vat>
    <ac_vat_eligible_amount>string</ac_vat_eligible_amount>
    <ac_vat_amount>string</ac_vat_amount>
    <ac_admin_fee>string</ac_admin_fee>
    <ac_refund_amount>string</ac_refund_amount>
    <ac_topos_amount>string</ac_topos_amount>
    <accumulation_time>string</accumulation_time>
    <accumulation_date>date</accumulation_date>
  </accumulation_data>
  <voucher_data>
    <application_type>string</application_type>
    <CardTypeText>string</CardTypeText>
    <POLContingency>boolean</POLContingency>
    <voucher_number>string</voucher_number>
    <vo_number_of_invoices>unsignedByte</vo_number_of_invoices>
    <vo_voucher_barcode>string</vo_voucher_barcode>
    <vo_guide_id>int</vo_guide_id>
    <vo_invoice_info>
      <invoice_data>
        <barcode_data>string</barcode_data>
        <invoice_number>string</invoice_number>
        <payment_method_id>string</payment_method_id>
        <merchant_store_id>string</merchant_store_id>
        <transaction_date>date</transaction_date>
        <transaction_time>string</transaction_time>
      </invoice_data>
      <invoice_data>
        <barcode_data>string</barcode_data>
        <invoice_number>string</invoice_number>
        <payment_method_id>string</payment_method_id>
        <merchant_store_id>string</merchant_store_id>
        <transaction_date>date</transaction_date>
        <transaction_time>string</transaction_time>
      </invoice_data>
    </vo_invoice_info>
    <vo_price_incl_vat>string</vo_price_incl_vat>
    <vo_price_excl_vat>string</vo_price_excl_vat>
    <vo_vat_eligible_amount>string</vo_vat_eligible_amount>
    <vo_vat_amount>string</vo_vat_amount>
    <vo_admin_fee>string</vo_admin_fee>
    <vo_refund_amount>string</vo_refund_amount>
    <vo_voucher_formula>string</vo_voucher_formula>
    <vo_topos_amount>string</vo_topos_amount>
    <vo_voucher_time>string</vo_voucher_time>
    <vo_voucher_date>date</vo_voucher_date>
    <vo_voucher_voided_date>date</vo_voucher_voided_date>
    <vo_sales_date>date</vo_sales_date>
    <vo_refund_option>unsignedShort</vo_refund_option>
    <vo_refund_option_code>string</vo_refund_option_code>
    <vo_refund_option_description>string</vo_refund_option_description>
    <vo_voucher_status>
      <isVoidedPI>boolean</isVoidedPI>
      <voidedPIDate>date</voidedPIDate>
      <isVoidedBO>boolean</isVoidedBO>
      <voidedBODate>date</voidedBODate>
      <isConfirmed>boolean</isConfirmed>
      <confirmedDate>date</confirmedDate>
      <isReimbursed>boolean</isReimbursed>
      <reimbursedDate>date</reimbursedDate>
      <isDebited>boolean</isDebited>
      <debitedDate>date</debitedDate>
      <isRejected>boolean</isRejected>
      <rejectedDate>date</rejectedDate>
      <errorMessage>string</errorMessage>
      <customsStampDate>date</customsStampDate>
    </vo_voucher_status>
    <refund_details>
      <card_details>
        <type>bytes</type>
        <brand>bytes</brand>
        <card_number>long</card_number>
        <card_number_encrypted>base64Binary</card_number_encrypted>
        <start_date>string</start_date>
        <expiry_date>string</expiry_date>
        <card_token>string</card_token>
        <card_token_provider>string</card_token_provider>
        <authorisation_code>string</authorisation_code>
        <card_number_masked>string</card_number_masked>
        <requester_location_id>string</requester_location_id>
        <card_additional_info d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </card_details>
      <loyalty_card_details>
        <holder_name>string</holder_name>
        <card_number>string</card_number>
        <expiry_date>string</expiry_date>
      </loyalty_card_details>
      <cheque>
        <currency>int</currency>
        <amount>string</amount>
      </cheque>
      <alternative_refund_person>
        <first_name>string</first_name>
        <last_name>string</last_name>
        <address_one>string</address_one>
        <address_two>string</address_two>
        <address_three>string</address_three>
        <postcode>string</postcode>
        <city>string</city>
        <country>int</country>
      </alternative_refund_person>
      <bank_details>
        <bank_name>string</bank_name>
        <bank_address>string</bank_address>
        <bic>string</bic>
        <branch_code>string</branch_code>
        <account_number>string</account_number>
        <key>string</key>
        <account_holder_name>string</account_holder_name>
        <iban>string</iban>
      </bank_details>
      <mobile_no>string</mobile_no>
      <vatoff_service_fee>double</vatoff_service_fee>
    </refund_details>
    <vo_error>string</vo_error>
  </voucher_data>
  <agent_guide_data>
    <agency_id>int</agency_id>
    <guide_id>int</guide_id>
    <agent_iso_country_code>unsignedShort</agent_iso_country_code>
    <antenne_id>int</antenne_id>
  </agent_guide_data>
  <client_update_available>string</client_update_available>
  <ExceptionMessage>string</ExceptionMessage>
</voucher_details>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /pi_public_v2/service.asmx/RetrieveVoucherData HTTP/1.1
Host: pipreprod.fintrax.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

sXML=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<voucher_details>
  <xml_message_type>bytes</xml_message_type>
  <version>
    <xml_version>bytes</xml_version>
  </version>
  <merchant_data>
    <merchant_country_code>unsignedShort</merchant_country_code>
    <merchant_currency_code>unsignedShort</merchant_currency_code>
    <merchant_storename>string</merchant_storename>
    <merchant_customer_storeid>string</merchant_customer_storeid>
    <merchant_addressline_one>string</merchant_addressline_one>
    <merchant_addressline_two>string</merchant_addressline_two>
    <merchant_addressline_three>string</merchant_addressline_three>
    <merchant_addressline_four>string</merchant_addressline_four>
    <merchant_addressline_five>string</merchant_addressline_five>
    <merchant_addressline_six>string</merchant_addressline_six>
  </merchant_data>
  <operator_info>
    <operator_id>string</operator_id>
    <operator_title>string</operator_title>
    <operator_first_name>string</operator_first_name>
    <operator_last_name>string</operator_last_name>
    <operator_PartnerCode>string</operator_PartnerCode>
  </operator_info>
  <invoices>
    <invoice>
      <operator_info>
        <operator_id>string</operator_id>
        <operator_title>string</operator_title>
        <operator_first_name>string</operator_first_name>
        <operator_last_name>string</operator_last_name>
        <operator_PartnerCode>string</operator_PartnerCode>
      </operator_info>
      <transaction_header>
        <invoice_number>string</invoice_number>
        <barcode_data>string</barcode_data>
        <number_of_items>unsignedByte</number_of_items>
        <transaction_date>date</transaction_date>
        <transaction_time>string</transaction_time>
        <offline_invoice>boolean</offline_invoice>
        <trip_id>string</trip_id>
      </transaction_header>
      <invoice_line_items>
        <line_item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <line_item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </invoice_line_items>
      <transaction_totals>
        <transaction_net_amount>string</transaction_net_amount>
        <transaction_gross_amount>string</transaction_gross_amount>
        <transaction_vat_amount>string</transaction_vat_amount>
      </transaction_totals>
      <payment_method_details>
        <payment_method_detail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <payment_method_detail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </payment_method_details>
    </invoice>
    <invoice>
      <operator_info>
        <operator_id>string</operator_id>
        <operator_title>string</operator_title>
        <operator_first_name>string</operator_first_name>
        <operator_last_name>string</operator_last_name>
        <operator_PartnerCode>string</operator_PartnerCode>
      </operator_info>
      <transaction_header>
        <invoice_number>string</invoice_number>
        <barcode_data>string</barcode_data>
        <number_of_items>unsignedByte</number_of_items>
        <transaction_date>date</transaction_date>
        <transaction_time>string</transaction_time>
        <offline_invoice>boolean</offline_invoice>
        <trip_id>string</trip_id>
      </transaction_header>
      <invoice_line_items>
        <line_item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <line_item d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </invoice_line_items>
      <transaction_totals>
        <transaction_net_amount>string</transaction_net_amount>
        <transaction_gross_amount>string</transaction_gross_amount>
        <transaction_vat_amount>string</transaction_vat_amount>
      </transaction_totals>
      <payment_method_details>
        <payment_method_detail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <payment_method_detail d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </payment_method_details>
    </invoice>
  </invoices>
  <customer_data>
    <customer_id>string</customer_id>
    <customer_name>
      <customer_title>string</customer_title>
      <customer_first_name>string</customer_first_name>
      <customer_last_name>string</customer_last_name>
    </customer_name>
    <customer_address>
      <customer_address_line_one>string</customer_address_line_one>
      <customer_address_line_two>string</customer_address_line_two>
      <customer_address_line_three>string</customer_address_line_three>
      <customer_address_line_four>string</customer_address_line_four>
      <customer_address_line_five>string</customer_address_line_five>
      <customer_address_line_six>string</customer_address_line_six>
    </customer_address>
    <zip_code>string</zip_code>
    <gender>Male or Female</gender>
    <mobile_no>string</mobile_no>
    <premier_pass_id>long</premier_pass_id>
    <passport_number>string</passport_number>
    <issued_by_government>string</issued_by_government>
    <country_of_origin>string</country_of_origin>
    <iso_country_of_origin>int</iso_country_of_origin>
    <email>string</email>
    <arrival_date>date</arrival_date>
    <departure_date>date</departure_date>
    <final_destination>string</final_destination>
    <allow_marketing>unsignedByte</allow_marketing>
    <date_of_birth>date</date_of_birth>
    <city_of_birth>string</city_of_birth>
    <country_of_birth>string</country_of_birth>
    <iso_country_of_birth>int</iso_country_of_birth>
    <fiscal_code>string</fiscal_code>
    <age>unsignedByte</age>
    <nearest_store>string</nearest_store>
    <nationality>int</nationality>
    <diplomat_card>string</diplomat_card>
    <visa>string</visa>
    <tourist_document>string</tourist_document>
    <customer_gender>string</customer_gender>
    <exit_point>string</exit_point>
    <flight_number>string</flight_number>
    <contact_prior_to_flight>boolean</contact_prior_to_flight>
    <loyalty>
      <customer_loyalty_number>string</customer_loyalty_number>
    </loyalty>
    <visiting_address>
      <line_one>string</line_one>
      <line_two>string</line_two>
      <line_three>string</line_three>
      <line_four>string</line_four>
      <line_five>string</line_five>
      <line_six>string</line_six>
      <accommodation_id>string</accommodation_id>
    </visiting_address>
    <passport_expiration_date>date</passport_expiration_date>
  </customer_data>
  <accumulation_data>
    <accumulation_number>string</accumulation_number>
    <ac_number_of_invoices>unsignedByte</ac_number_of_invoices>
    <ac_invoice_barcode>
      <ac_barcode_data>string</ac_barcode_data>
    </ac_invoice_barcode>
    <ac_price_incl_vat>string</ac_price_incl_vat>
    <ac_price_excl_vat>string</ac_price_excl_vat>
    <ac_vat_eligible_amount>string</ac_vat_eligible_amount>
    <ac_vat_amount>string</ac_vat_amount>
    <ac_admin_fee>string</ac_admin_fee>
    <ac_refund_amount>string</ac_refund_amount>
    <ac_topos_amount>string</ac_topos_amount>
    <accumulation_time>string</accumulation_time>
    <accumulation_date>date</accumulation_date>
  </accumulation_data>
  <voucher_data>
    <application_type>string</application_type>
    <CardTypeText>string</CardTypeText>
    <POLContingency>boolean</POLContingency>
    <voucher_number>string</voucher_number>
    <vo_number_of_invoices>unsignedByte</vo_number_of_invoices>
    <vo_voucher_barcode>string</vo_voucher_barcode>
    <vo_guide_id>int</vo_guide_id>
    <vo_invoice_info>
      <invoice_data>
        <barcode_data>string</barcode_data>
        <invoice_number>string</invoice_number>
        <payment_method_id>string</payment_method_id>
        <merchant_store_id>string</merchant_store_id>
        <transaction_date>date</transaction_date>
        <transaction_time>string</transaction_time>
      </invoice_data>
      <invoice_data>
        <barcode_data>string</barcode_data>
        <invoice_number>string</invoice_number>
        <payment_method_id>string</payment_method_id>
        <merchant_store_id>string</merchant_store_id>
        <transaction_date>date</transaction_date>
        <transaction_time>string</transaction_time>
      </invoice_data>
    </vo_invoice_info>
    <vo_price_incl_vat>string</vo_price_incl_vat>
    <vo_price_excl_vat>string</vo_price_excl_vat>
    <vo_vat_eligible_amount>string</vo_vat_eligible_amount>
    <vo_vat_amount>string</vo_vat_amount>
    <vo_admin_fee>string</vo_admin_fee>
    <vo_refund_amount>string</vo_refund_amount>
    <vo_voucher_formula>string</vo_voucher_formula>
    <vo_topos_amount>string</vo_topos_amount>
    <vo_voucher_time>string</vo_voucher_time>
    <vo_voucher_date>date</vo_voucher_date>
    <vo_voucher_voided_date>date</vo_voucher_voided_date>
    <vo_sales_date>date</vo_sales_date>
    <vo_refund_option>unsignedShort</vo_refund_option>
    <vo_refund_option_code>string</vo_refund_option_code>
    <vo_refund_option_description>string</vo_refund_option_description>
    <vo_voucher_status>
      <isVoidedPI>boolean</isVoidedPI>
      <voidedPIDate>date</voidedPIDate>
      <isVoidedBO>boolean</isVoidedBO>
      <voidedBODate>date</voidedBODate>
      <isConfirmed>boolean</isConfirmed>
      <confirmedDate>date</confirmedDate>
      <isReimbursed>boolean</isReimbursed>
      <reimbursedDate>date</reimbursedDate>
      <isDebited>boolean</isDebited>
      <debitedDate>date</debitedDate>
      <isRejected>boolean</isRejected>
      <rejectedDate>date</rejectedDate>
      <errorMessage>string</errorMessage>
      <customsStampDate>date</customsStampDate>
    </vo_voucher_status>
    <refund_details>
      <card_details>
        <type>bytes</type>
        <brand>bytes</brand>
        <card_number>long</card_number>
        <card_number_encrypted>base64Binary</card_number_encrypted>
        <start_date>string</start_date>
        <expiry_date>string</expiry_date>
        <card_token>string</card_token>
        <card_token_provider>string</card_token_provider>
        <authorisation_code>string</authorisation_code>
        <card_number_masked>string</card_number_masked>
        <requester_location_id>string</requester_location_id>
        <card_additional_info d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </card_details>
      <loyalty_card_details>
        <holder_name>string</holder_name>
        <card_number>string</card_number>
        <expiry_date>string</expiry_date>
      </loyalty_card_details>
      <cheque>
        <currency>int</currency>
        <amount>string</amount>
      </cheque>
      <alternative_refund_person>
        <first_name>string</first_name>
        <last_name>string</last_name>
        <address_one>string</address_one>
        <address_two>string</address_two>
        <address_three>string</address_three>
        <postcode>string</postcode>
        <city>string</city>
        <country>int</country>
      </alternative_refund_person>
      <bank_details>
        <bank_name>string</bank_name>
        <bank_address>string</bank_address>
        <bic>string</bic>
        <branch_code>string</branch_code>
        <account_number>string</account_number>
        <key>string</key>
        <account_holder_name>string</account_holder_name>
        <iban>string</iban>
      </bank_details>
      <mobile_no>string</mobile_no>
      <vatoff_service_fee>double</vatoff_service_fee>
    </refund_details>
    <vo_error>string</vo_error>
  </voucher_data>
  <agent_guide_data>
    <agency_id>int</agency_id>
    <guide_id>int</guide_id>
    <agent_iso_country_code>unsignedShort</agent_iso_country_code>
    <antenne_id>int</antenne_id>
  </agent_guide_data>
  <client_update_available>string</client_update_available>
  <ExceptionMessage>string</ExceptionMessage>
</voucher_details>