Skip to main content

Vendor — Custom Fields

The extension adds 6 fields to the standard Vendor table. These fields are used to classify travel vendors (hotels, car rental companies) and enable automatic vendor matching during AIR booking processing.

Field Reference

Field IDField NameData TypeDescription
51300Vendor TypeEnumClassifies the vendor. Values: (blank) (default), Hotel, Car Rental
51301Hotel Chain CodeCode[10]The Amadeus hotel chain code (e.g., QI = Best Western, BW = Best Western, SH = Scandic, HI = Holiday Inn). Used for automatic vendor matching
51302Car Rental Company CodeCode[10]The supplier code from the booking system (e.g., EP = Europcar, SX = Sixt, ZI = Avis). Used for automatic vendor matching
51303Voucher EmailText[80]Email address for sending vouchers/confirmations. If blank, the system falls back to the standard E-Mail field on the vendor card
51304Hotel Property CodeCode[20]Composite hotel identifier in format ChainCode+DestinationCode+PropertyID. Used for precise property-level vendor matching
51305Is SubcontractorBooleanFlags this vendor as a subcontractor. Affects voucher handling rules

Vendor Matching Logic

When an AIR booking is processed, the system tries to match hotel and car rental segments to existing vendors using a priority-based matching algorithm:

Hotel Vendor Matching (highest to lowest priority)

  1. Property Code match — Looks for a vendor where Hotel Property Code matches the composite code from the booking (ChainCode + DestinationCode + PropertyID)
  2. Chain Code match — Falls back to matching by Hotel Chain Code only

Car Rental Vendor Matching

  1. Company Code match — Matches by Car Rental Company Code from the booking

What Happens When No Vendor Is Found

If no vendor match is found, the booking is placed in the Missing Vendor queue with status "Pending". A user must then either:

  • Create a new vendor with the correct codes and reprocess
  • Manually assign a vendor to the booking

Config Package Mapping

When building a config package, include these fields from the Vendor table (table ID 23):

Include in PackageField IDNotes
Yes51300Must be set for all hotel and car rental vendors
Yes51301Required for hotel vendors — get chain codes from Amadeus documentation
Yes51302Required for car rental vendors — get codes from booking system
Yes51303Optional — only needed if voucher email differs from standard email
Yes51304Optional but recommended — enables property-level matching for hotel chains with multiple locations
Yes51305Only set to Yes for actual subcontractors

Common Hotel Chain Codes

These are examples of frequently used Amadeus hotel chain codes:

CodeChain
BWBest Western
SHScandic Hotels
HIHoliday Inn
HYHyatt
MCMarriott
SISheraton
RTRadisson
CIComfort Inn
tip

The complete list of chain codes is maintained by Amadeus/IATA. Consult the customer's booking system for the exact codes used in their bookings.

Common Car Rental Company Codes

CodeCompany
EPEuropcar
SXSixt
ZIAvis
ZEHertz
ETEnterprise
ZRBudget
ZTThrifty
ALAlamo
tip

Get the actual codes from the customer's existing booking data or Amadeus documentation to ensure correct matching.