Integrations
Budget integration
Import Budget reservations, changes and cancellations from the files Budget puts on an SFTP server: set-up, mappings, prepaid vouchers, and what to check when a file is not imported.
Last updated
With the Budget integration, Budget delivers every reservation message (a new reservation, a change or a cancellation) as an XML file into a folder on an SFTP server. About every 46 minutes Renteon reads the files in that folder, creates, updates or cancels the matching bookings, and moves each handled file into a subfolder of a "processed" folder.
The integration works in one direction: from Budget into Renteon. Renteon does not send anything back to Budget.
Budget files have the same structure as Avis files, so the two integrations work almost the same way. This guide describes Budget completely; the differences from Avis are in how a prepaid reservation is recognised, which price is used, that delivery and collection addresses are imported, and that no e-mail address is imported.
What you need from Budget
- The SFTP server details: address, port, username and password, the folder where Budget puts new files, and the folder for processed files. Renteon connects with username and password only.
- Budget codes: the station codes for your pick-up and return locations, the car group codes, the equipment codes (extras such as child seats or additional driver) and the insurance indicators Budget sends.
Warning: The processed folder must contain two subfolders called "valid" and "invalid". Renteon moves each handled file into one of them and does not create them. If they are missing, files cannot be moved, stay in the incoming folder and are read again at every run: a new reservation is then reported as "already imported" each time, and a change is applied to the booking again each time.
Prepare the partner and its pricelists
Every Budget reservation is booked for one partner from your address book. On that partner's address book card, tab Pricelists, the partner needs two active car pricelists:
- one with Agency pricelist ticked, used for prepaid reservations (the partner is the Agency on the booking);
- one without it, used for pay-on-arrival reservations (the partner is the Commissioner).
Renteon treats a Budget reservation as prepaid when the file contains paperless voucher details (PVA). A reservation without them is pay on arrival.
Without the partner mapping or without both pricelists, the Budget import does not run at all. If the partner has more than one pricelist of a kind, Renteon takes the first one it finds, so link only one of each. See Pricelists.
Switch the integration on
- Go to Administration → Code book → Settings, tab Integration, and click Edit.
- Tick Enable Integrations Module if it is not on yet (the panels of the integrations then appear), then tick the checkbox in the header of the Budget panel.
- Fill in the options below and tick Import reservations job enabled.
- Click Confirm. Administration → Integration → Budget appears in the menu.
The options in the Budget panel:
- Import reservations job enabled: the import runs only while this is ticked.
- Use duration measuring unit for price entry, Disable price increase caused by calculation (shown once the first one is ticked), Use fixed (imported) price for prepaid reservation and Booking amount warning threshold: how the Budget price is entered on the booking. See the section on prices below.
- Validation errors e-mail: the address that receives the import report.
- Notify booking changes: has no effect for Budget. Renteon does not send booking changes to Budget.
- Delete old imported items and Keep imported items (months): remove old entries of the import log. See Integration menu and mappings.
- FTP Address, FTP port, FTP Username, FTP Password: the SFTP server. Although the labels say FTP, Renteon always connects over SFTP. Fill in the port; without it the import cannot start.
- FTP Folder: the folder Budget writes new files into.
- FTP Folder processed: the folder with the "valid" and "invalid" subfolders.
Map partner, car categories, offices and services
Open Administration → Integration → Budget and click Edit. On every tab you type the Budget codes yourself, and you save each tab with its own Save button.
- Partner: pick the Budget partner and click Save.
- Car categories: enter the Budget car group code next to each car category. The double-arrow button copies your SIPP code into the field.
- Offices: enter the Budget station code next to each office or meet-and-greet location. For return places that are not offices, map the code to a drop-off location and choose its Select Office IN.
- Services: enter the Budget equipment code next to each matching extra. Map the additional driver equipment to your additional driver service. For insurances, use pattern masks, described below.
There is no Pricelists tab; the pricelist comes from the partner.
Budget sends the insurance as one code made of several indicator characters. Next to each of your insurances you enter a pattern mask in which # means "any character", for example "##Y#". How Renteon matches the masks, which one wins when several match, and which codes mean "no insurance" is explained, together with the tabs in general, in Integration menu and mappings.
What each Budget file does
Renteon reads every file ending in .xml in the incoming folder, sorted by the last 13 characters of the file name before ".xml". The action code in the file decides what happens:
- CR or RC: a new reservation. If a booking for the same Budget reservation already exists and is not cancelled, the file is rejected as "already imported".
- MR: a change. The booking is updated with the data in the file: dates, offices, category, client, drivers and extras are replaced, so changes you made by hand in Renteon are overwritten.
- DR: a change that can switch the payment. If the existing booking is pay on arrival and the file is prepaid, Renteon cancels the existing booking and creates a new prepaid one. Otherwise it updates the booking like MR.
- XR or XL: a cancellation. The booking is cancelled.
- RR: ignored. The file is moved to "valid" without any change.
- Any other code: rejected as an undefined action.
A change or a cancellation can only be applied to a reservation. If the booking is already a contract, is cancelled or does not exist, the file is rejected with a fatal error such as "Booking with Id = … is a contract and cannot be canceled."
After each file:
- Imported: the file is moved to "valid".
- Can never be imported (a fatal error): the file is moved to "invalid".
- Failed for a reason that can be fixed (for example, a missing mapping): the file stays in the incoming folder and is read again at the next run, as often as it takes. A change or cancellation of that same reservation in the same run waits for it instead of being rejected.
Warning: There is no limit on retries. A file with a missing mapping is reported in the validation errors e-mail at every run, about every 46 minutes, until you fix the mapping.
How the imported booking looks
- A reservation, created in the background by the system.
- Order reference number: the Budget confirmation number (CNF). Renteon uses it, together with the partner, to find the booking for later changes and cancellations.
- Voucher number: the number in the credit code (CID) after its TE, FE, RE, T, F or R marker. If there is none, the Budget confirmation number.
- Agency or Commissioner: the Budget partner, with the prepaid or the pay-on-arrival pricelist.
- Pick-up and return office, dates and times (read as your local time), car category, flight number.
- Client: the company name when the file has one; otherwise the renter's name, age, date of birth and driving licence. Also the local contact phone and the address, with the country taken from the last two characters of the address. Renteon does not import an e-mail address from Budget files.
- Driver: the renter is always added as the main driver, with age, date of birth and driving licence. A mapped additional driver equipment adds placeholder additional drivers.
- Delivery and collection: when the file has a delivery or collection address, the booking gets delivery or collection with that address and its remarks.
- The equipment, the matching insurance, and the one-way fee (see prices).
- Integration remark: the credit code, the booking source Budget reports, Budget remarks and the file name without ".xml", in the form "Credit Id: …;Booking Source: …;Remarks: …;File: …;", plus any notes of the import.
Prices
Renteon takes the price from the paperless voucher (PVA) when the voucher contains an amount in EUR, for example "EUR 245.50". Otherwise it uses the approximate total of the reservation (APT). Renteon treats the price as including VAT, converts it to a net amount with the VAT rate of the rental service valid on the day of the import and enters it as a manual price of the rental service. The currency in the file must be a currency known in Renteon; otherwise the reservation stops with "Missing mapping for currency code …".
- One-way fee: when the file contains a one-way fee, Renteon selects your one-way fee service, if the booking offers it, at the Budget amount and takes the same amount off the rental price. The one-way fee needs no mapping. If your own price for the fee differs, the warning "Imported amount for service … does not match the automatically calculated amount …" is reported.
- Equipment and insurance carry no price in the import: they are priced by your pricelist.
- The price options of the panel (Use duration measuring unit for price entry, Disable price increase caused by calculation, Use fixed (imported) price for prepaid reservation and Booking amount warning threshold) work as described in Integration menu and mappings. Without the first three, the rental price is one fixed amount for the whole rental. Whatever the options, every difference between the calculated rental price and the Budget price is noted in Integration remark.
Errors and common problems
Every run that had something to report sends an e-mail with the subject "BUDGET reservations import log". You can also check Car control → Reports → Audit, report Integration bookings log (filter Integration = Budget; Integration - Number is the file name without ".xml"), and Actions → Open booking source data on an imported booking.
The most frequent problems:
- Nothing is imported. Check Enable Integrations Module, the Budget panel, Import reservations job enabled, the SFTP details including the port, and that a partner with both pricelists is mapped.
- The same file is reported again and again. It has an error that can be fixed, usually "Missing mapping for office code …", "Missing mapping for car category code …", "No maching insurance package for isnurance indicators …", or "Missing mapping for service code …" together with "Service code … is not mapped". Map the code; the next run imports the file.
- A prepaid reservation arrives as pay on arrival (or the other way round): Renteon decides only by the paperless voucher (PVA). Check the file with Open booking source data.
- "Missing car rent service Id for car category id …": the mapped car category has no rental service.
- "… does not exist and cannot be modified" or "… cannot be canceled": Budget sent a change or cancellation for a reservation that never reached Renteon. The file is moved to "invalid"; handle the booking by hand.
- Files are imported but stay in the incoming folder: the "valid" and "invalid" subfolders are missing or Renteon cannot write to them.