Customer Export
The Customers file contains one record for each profile with a bill generated on that day.
Provides more detail on the customer profile. Note that Passport field will be masked unless delivery is done via secure method (SFTP).
Table 8-13 Customer Export
Element Name | Element Type | Description | Notes |
---|---|---|---|
customers |
Complex Element |
Root element |
|
hotel_code |
Attribute |
Identifies the property exporting data |
Only one property is exported per file |
date |
Attribute |
Identifies the date of the export |
Only one day is exported per file |
customer |
Complex Element |
Repeats for each distinct customer |
|
internal_id |
Attribute |
Name_ID of the Profile |
|
customer_type |
Element |
Type of the Profile |
|
name |
Element |
Full name of the Profile |
|
legal_name |
Element |
Legal name of the Profile |
|
tax_id1 |
Element |
Tax id1 of this Profile. Usually issued by a government agency. |
|
tax_id2 |
Element |
Tax id2 of this Profile. Usually issued by a government agency. |
|
corporate_id |
Element |
The unique key of this name stores IATA#, Company # etc. |
|
passport_no |
Element |
Passport Number of the Profile |
|
nationality |
Element |
Nationality of the Profile |
|
address_info |
Complex Element |
Repeats for each distinct address |
|
address1 |
Element |
The first line of street address. |
|
city |
Element |
City of this address |
|
country |
Element |
Country of this address |
|
country_name |
Element |
Full Country name of this address |
|
zip_code |
Element |
The postal code of this address. |
|
address2 |
Element |
The second line of street address. |
|
address3 |
Element |
The third line of street address. |
|
address4 |
Element |
The fourth line of street address. |
|
state |
Element |
The state of this address. |
|
communication_info |
Complex Element |
Repeats for each distinct communication info |
|
|
Element |
Email ID of the Profile |
|
phone |
Element |
Phone Number of the Profile |
Generated export for Generic XML Back Office - Customer
<?xml version="1.0" encoding= <?xml version="1.0" encoding="UTF-8"?>
<customers hotel_code="DEMOHOTEL" date="2017-02-23">
<customer internal_id="947957">
<customer_type>INDIVIDUAL</customer_type>
<name>Name, Guest</name>
<nationality>XX</nationality>
<address_info>
<address1>Demo Address 1</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<address4>Demo Address 4</address4>
<city>Demo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<email>abc@xyz.com</email>
<phone>0000000000</phone>
</communication_info>
</customer>
<customer internal_id="947959">
<customer_type>COMPANY</customer_type>
<name>Demo Company Private Limited</name>
<legal_name>ABC Knowledge Park</legal_name>
<address_info>
<address1>Demo Address 1</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<addrDemo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<phone>0000000000</phone>
</communication_info>
</customer>
<customer internal_id="947973">
<customer_type>INDIVIDUAL</customer_type>
<name>Name, Guest</name>
<nationality>XX</nationality>
<address_info>
<address1>Demo Address 1</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<address4>Demo Address 4</address4>
<city>Demo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<email>xyz@abc.com</email>
<phone>0000000000</phone>
</communication_info>
</customer>
<customer internal_id="947975">
<customer_type>COMPANY</customer_type>
<name>Demo Hospitality</name>
<legal_name>Demo Knowledge Park</legal_name>
<address_info>
<address1>Demo Address 1</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<address4>Demo Address 4</address4>
<city>Demo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<phone>0000000000</phone>
</communication_info>
</customer>
<customer internal_id="947989">
<customer_type>INDIVIDUAL</customer_type>
<name>Name, Guest</name>
<nationality>XX</nationality>
<address_info>
<address1>Demo Knowledge Park</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<address4>Demo Address 4</address4>
<city>Demo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<email>abc@abc.com</email>
<phone>0000000000</phone>
</communication_info>
</customer>
<customer internal_id="947991">
<customer_type>INDIVIDUAL</customer_type>
<name>Name, Guest</name>
<nationality>XX</nationality>
<address_info>
<address1>Demo Address1</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<address4>Demo Address 4</address4>
<city>Demo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<email>xyz@xyz.com</email>
<phone>0000000000</phone>
</communication_info>
</customer>
<customer internal_id="947993">
<customer_type>INDIVIDUAL</customer_type>
<name>Name, Guest</name>
<nationality>XX</nationality>
<address_info>
<address1>Demo Address1</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<address4>Demo Address 4</address4>
<city>Demo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<email>demo@demo.com</email>
<phone>0000000000</phone>
</communication_info>
</customer>
<customer internal_id="947995">
<customer_type>INDIVIDUAL</customer_type>
<name>Name, Guest</name>
<nationality>XX</nationality>
<address_info>
<address1>Demo Address1</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<address4>Demo Address 4</address4>
<city>Demo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<email>demo@demo.com</email>
<phone>0000000000</phone>
</communication_info>
</customer>
<customer internal_id="947997">
<customer_type>INDIVIDUAL</customer_type>
<name>Name, Guest</name>
<nationality>XX</nationality>
<address_info>
<address1>Demo Address1</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<address4>Demo Address 4</address4>
<city>Demo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<email>demo@demo.com</email>
<phone>0000000000</phone>
</communication_info>
</customer>
</customers> "UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<customers hotel_code="DEMOHOTEL" date="2017-02-23">
<customer internal_id="947957">
<customer_type>INDIVIDUAL</customer_type>
<name>Name, Guest</name>
<nationality>XX</nationality>
<address_info>
<address1>Demo Address 1</address1>
<address2>Demo Address 2</address2>
<address3>Demo Address 3</address3>
<address4>Demo Address 4</address4>
<city>Demo City</city>
<zip_code>000000</zip_code>
<state>XX</state>
<country>XX</country>
<country_name>Demo Country Name</country_name>
</address_info>
<communication_info>
<email>abc@xyz.com</email>
<phone>0000000000</phone>
</communication_info>
</customer>
</customers>
Parent topic: Generic XML Back Office Export-Specifications