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 7-9 Customer Export
Element Name | Element Type | Description | Notes |
---|---|---|---|
customers |
Complex Element |
Root element |
NA |
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 |
NA |
internal_id |
Attribute |
Name_ID of the Profile |
NA |
customer_type |
Element |
Type of the Profile |
NA |
name |
Element |
Full name of the Profile |
NA |
legal_name |
Element |
Legal name of the Profile |
NA |
tax_id1 |
Element |
Tax id1 of this Profile. Usually issued by a government agency. |
NA |
tax_id2 |
Element |
Tax id2 of this Profile. Usually issued by a government agency. |
NA |
corporate_id |
Element |
The unique key of this name stores IATA#, Company # etc. |
NA |
passport_no |
Element |
Passport Number of the Profile |
NA |
nationality |
Element |
Nationality of the Profile |
NA |
address_info |
Complex Element |
Repeats for each distinct address |
NA |
address1 |
Element |
The first line of street address. |
NA |
city |
Element |
City of this address |
NA |
country |
Element |
Country of this address |
NA |
country_name |
Element |
Full Country name of this address |
NA |
zip_code |
Element |
The postal code of this address. |
NA |
address2 |
Element |
The second line of street address. |
NA |
address3 |
Element |
The third line of street address. |
NA |
address4 |
Element |
The fourth line of street address. |
NA |
state |
Element |
The state of this address. |
NA |
communication_info |
Complex Element |
Repeats for each distinct communication info |
NA |
|
Element |
Email ID of the Profile |
NA |
phone |
Element |
Phone Number of the Profile |
NA |
Generated export for Generic XML Back Office - Customer
<?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>
Parent topic: Generic XML Back Office Export-Specifications