Document types and page types

The documents that you use in TravelDocs are simplified versions of typical travel-related documents that might be submitted with an employee expense report.

These documents include car rental receipts, hotel receipts, and air tickets. The document types and page types are summarized in the following table.

Table 1. Document types and page types in TravelDocs
Document type Page types
Car Rental

Rental Agreement

Optional Insurance

Hotel

Room Receipt

Meals

Other Charges

Flight Air Ticket    

To consider each document type, you need to look at the sample images that are installed in \datacap\traveldocs\images folder.

Car Rental

The car rental documents have one required page and one optional page. Initially, the application supports documents from three car rental companies: Car Rental #1, Car Rental #2, and Car Rental #3.

The three sample rental agreement pages in the \datacap\traveldocs\images folder are Car1.tiff, Car3.tiff, and Car5.tiff. The fields include the data that you want to extract. These fields are common to all pages, although the position of each field is different for each page.
Vendor: Car Rental #1
Pickup Date: Mon, Oct 4, 2010
Pickup Location: New York (JFK)
Return Date: Fri, Oct 8, 2010
Return Location: New York (JFK)
Car Type: Full size
GPS ▪	Child Seat □	Fuel Service ▪ 
Total Cost: $582.77
Vendor: Car Rental #2
Pickup Date: Sun, Aug 1, 2010
Pickup Location: Los Angeles (LAX)
Return Date: Fri, Aug 6, 2010
Return Location: Los Angeles (LAX)
Car Type: Luxury
GPS ▪	Child Seat ▪	Fuel Service ▪ 
Total Cost: $503.39
Vendor: Car Rental #3
Pickup Date: Sun, Oct 24, 2010
Pickup Location: Chicago (ORD)
Return Date: Fri, Fri, Oct 29, 2010
Return Location: Chicago (ORD)
Car Type: Compact
GPS □	Child Seat □	Fuel Service □ 
Total Cost: $535.18
The three sample optional insurance pages in the \datacap\traveldocs\images folder are Car2.tif, Car4.tif, and Car6.tif. The fields, for which you want to extract the data, are shown in these examples
Vendor: Car Rental #1
CDW: ▪ 
PAI: □	
PEP: □	
ELP: □	
Total Cost: $104.95
Vendor: Car Rental #2
CDW: □	  
PAI: □	
PEP: □	
ELP: □	
Total Cost: $0.00
Vendor: Car Rental #3
CDW: ▪	  
PAI: □	
PEP: □	
ELP: □	
Total Cost: $137.94

As with the rental agreement pages, the fields are common to all pages, but the position of each field is different for each variant.

Hotel

The hotel documents have one required page and two optional pages. Initially, the application supports documents from three hotel chains: Hotel #1, Hotel #2, and Hotel #3.

The three sample room receipts in the \datacap\traveldocs\images folder are Hotel1.tif, Hotel2.tif, and Hotel3.tif. As with the car rental pages, these fields are common to all pages, although the positions of the fields are different for each page.
Vendor: Hotel #1
Arrival Date: Sept 24, 2010
Departure Date: Sept 26, 2010
Total Cost: $215.33
Vendor: Hotel #2
Arrival Date: Oct 14, 2010
Departure Date: Oct 16, 2010
Total Cost: $282.51
Vendor: Hotel #3
Arrival Date: Sun, Oct 24, 2010
Departure Date: Tues, Oct 26, 2010
Total Cost: $256.83
The following samples are the optional hotel pages Hotel4.tif and Hotel5.tif.
Vendor: Hotel #3
Item
   Date: 10-24-10
   Description: Dinner
   Cost: $48.81
Item
   Date: 10-25-10
   Description: Breakfast
   Cost: $12.28
Item
   Date: 10-25-10
   Description: Dinner
   Cost: $46.41
Item
   Date: 10-26-10
   Description: Breakfast
   Cost: $12.28
Total Cost: $119.78
Vendor: Hotel #3
Item
   Date: 10-24-10
   Description: Internet
   Cost: $5.95
Item
   Date: 10-25-10
   Description: Laundry
   Cost: $14.00
Item
   Date: 10-25-10
   Description: Internet
   Cost: $5.95
Item
   Date: 10-26-10
   Description: Parking
   Cost: $52.35
Total Cost: $78.25

Flight

Flight documents have one required page and no optional pages. Initially, the application supports documents from three airlines: Airline #1, Airline #2, and Airline #3.

The three sample air ticket pages in the \datacap\traveldocs\images folder are Flight1.tif, Flight2.tif, and Flight3.tif. As with the other pages, these fields are common to all pages, although the positions of the fields are different for each page.
Vendor: Airline #1
Outbound From: New York/Newark (EWR)
Outbound To: San Francisco (SFO)
Outbound Date: 24JUL10
Return From: San Francisco (SFO)
Return To: New York/Newark (EWR)
Return Date: 28JUL10
Airfare: 760.27
Taxes: 64.56
Total Cost: 824.83
Vendor: Airline #2
Outbound From: Chicago (ORD)
Outbound To: Atlanta (ATL)
Outbound Date: MON OCT 25, 2010
Return From: Atlanta (ATL)
Return To: Chicago (ORD)
Return Date: WED OCT 27, 2010
Airfare: $385.27
Taxes: $44.76
Total Cost: $430.03
Vendor: Airline #3
Outbound From: ORD Chicago 
Outbound To: BOS Boston
Outbound Date: OCT 26, 2010
Return From: BOS Boston
Return To: ORD Chicago
Return Date: OCT 29, 2010
Airfare: 233.00 USD
Taxes: 21.40 USD
Total Cost: 254.40 USD