Rail Segments
Trams will interface rail segments with the release of version 4.11.00.049 of the TRAMS Download utility (Download.exe). Rail segments must be entered exactly as prescribed by Travelport:
0TUR2VBK(passengers)(departure city/station)(departure date)-(return date)/(full name of rail operator)/(departure station code)(arrival station code)/(departure date)-LV-(departure time)/AR-(arrival time)/AD-(arrival date)/MG(rail operator vendor code)-(record locator)/NA-(departure train station name)-(train number)/SI-(class of service)/(fare)(currency code)
IMPORTANT: Rail segments must be entered using the two-character code “2V” (Amtrak). Segments that use other codes, such as “ZR” (generic rail), or those of other rail companies, will not interface with segment details.
Accounting Elements for Rail Tickets
Trams uses specially coded free-text remarks for accounting information related to rail bookings. Accounting remarks begin with the prefix DI.FT-MS. Each element is separated by an asterisk (“*”), except the “submit-to”, which immediately follows the pseudo segment number. The order in which lines and descriptor codes are entered do not affect interface.
Mandatory accounting elements
Element | Descriptor codes | Example |
---|---|---|
Prefix and pseudo segment number | Accounting information lines begin with “DI.FT-MS(pseudo segment number) | DI.FT-MS50 |
Booking submit-to option. |
A = ARC/BSP S = Supplier C = Commission tracking |
S |
Vendor ID |
VC (Supplier/Comm Track) AL (ARC/BSP) |
*VC2V *AL2V |
Confirmation/Ticket Number |
CF (Supplier/Comm Track) TK (ARC/BSP) |
*CF1234567890 *TK1234567890 |
Travel type number or name | TT | *TT6 *TTRAIL |
Total Fare | TF | *TF112.00 |
Taxes | TX |
*TX15.75 *TXXT6.75*TXRG10.00 |
Commission |
CMA: Commission ($ amount) CM: Commission rate (%) |
*CM10 *CMA10.00 |
Segment Association |
SG (all segments) SG ## ## ## (specific segments) |
*SG *SG 01 03 05 |
Passenger Name | Passenger name (Last/First) | *PNSMITH/JANE |
Optional accounting elements
Element | Descriptor codes | Example |
---|---|---|
Record locator | RL | *RLABC123 |
Fare savings information | FJ = Fare justification code FF = High fare amount LF = Low fare amount |
*FJA*FF219.00*LF89.00 |
Fare Basis | FB | *FBQXR435 |
Form of Payment Override (if not the PNR’s FOP) | FP Add *XP for credit card expiration date |
*FPVI444433332222111*XP1231 |
Accounting line prefix and pseudo segment number
Trams reads accounting information using coded free-text remarks. All accounting remarks begin with DI.FT-MS followed by the pseudo segment number.
Each ticket/booking must be assigned a unique “pseudo segment” number. It can be any number between 10 and 99, though I usually stick with the range from 50-99. The same pseudo segment number is used for all remarks line associated to the same booking. Because all accounting information may not fit into a single remarks line, repeat the prefix for all lines associated with the booking.
Increment the pseudo segment number if there is more than one booking in the record. For example, you may use pseudo segment “51” for lines related to the first booking, “52” for the second booking, “53” for the third booking, and so on.
Trams “Submit To”
There are three types of bookings in Trams: ARC/BSP, Supplier, and Commission Tracking (CommTrack). For rail tickets, agents are most likely to use “Supplier” for non-ARC/BSP rail tickets.
The submit-to indicator immediately follows the pseudo segment number on the first remarks line for the booking. You do not need to repeat it for subsequent remarks lines related to the same pseudo segment.
Note that codes used for vendor ID and ticket/confirmation number depend on whether the booking is ARC/BSP, Supplier, or commission tracking.
Vendor ID (VC/AL)
Links the booking to the Trams vendor profile. Use VC for supplier and commission tracking bookings, and AL for ARC/BSP bookings. For Amtrak, the vendor code is “2V”.
Example:
*VC2V (supplier or commission tracking)
*AL2V (ARC/BSP)
Confirmation/Ticket Number (CF/TK)
Use CF for supplier and commission tracking. Use AL for ARC/BSP. ARC/BSP ticket numbers must be 10-digits.
Example:
*CF1234567890 (supplier or commission tracking)
*TK1234567890 (ARC/BSP)
Trams Travel Type (TT)
Use code TT followed by the Trams travel type number or name. Travel types are set up under Utilities > Setup > Travel Types. If using name, it must match the travel type name exactly.
Example:
TT6
TTRAIL
Total Fare (TF)
Use code TF followed by the total fare including taxes. The total fare must be in the agency’s currency.
Example:
*TF112.00
Taxes (TX)
Use code TX followed by the total taxes for the booking. If the code is not included, no tax will interface. You can include multiple taxes with specific codes by entering the code immediately following TX followed by the amount.
Example:
*TX19.00
*TXXT8.00*TXRG11.00
Commission (CM)
Use code CM followed by the commission rate, or CMA followed by the dollar amount. If using the rate, Trams will calculate the commission on the base fare (total fare less taxes).
Example:
*CM10 (10%)
*CMA10.00 ($10.00)
Segment Association (SG)
Use code SG to associate the accounting line with PNR segment details. Enter SG alone to capture all segments, or specify specific segments following SG.
Example:
*SG (all segments)
*SG 01 03 05 (segments 1, 3, and 5)
Passenger Name (PN)
Use code PN to specify the passenger’s name, using the format LAST/FIRST MIDDLE
Example:
*PNSMITH/JOHN
*PNSMITH/JANE MARIE
Examples
DI.FT-MS51S*TT6*VC2V*CF1234567890*TF110.00*TX11.00*CM0*SG
DI.FT-MS51*PNSMITH/JOHN
DI.FT-MS51S*TT6*VC2V*CF1234567890*TF110.00*TX11.00*CM0*SG
DI.FT-MS51*PNSMITH/JANE ADAMS
Revision History
Date | Editor | Summary |
---|---|---|
2024-10-14 | TM | Document Created |
2024-10-17 | TM | Added rail segment format information and minor edits to body. |