Integrations
Softgate integration
Import Softgate booking PDFs from a mailbox into Renteon: set up a Softgate connector, map stations, car groups, extras and product codes, and handle bookings that cannot be imported.
Last updated
Softgate sends you each booking as a PDF document attached to an e-mail: a new booking, a changed booking or a cancellation. With the Softgate integration, Renteon reads these e-mails from a mailbox, reads the PDF and creates, updates or cancels the matching booking by itself.
You set up the integration as one or more connectors. Each connector reads one mailbox and books everything it imports for one partner.
The integration works in one direction, from Softgate into Renteon. Nothing is sent back to Softgate. How the mapping screen works in general is explained in Integration menu and mappings.
How the import works
About every 44 minutes Renteon logs in to each connector's mailbox, takes the attachments of every message in the inbox, moves the message to a folder (or deletes it) and imports the PDF.
Renteon reads from the PDF what kind of document it is:
- the booking status under "Last Change" is CANCELLED: a cancellation;
- a date of the last change is printed next to "Last Change": a change of an existing booking;
- otherwise: a new booking.
The Softgate booking number (the number next to "Reservation" in the PDF) is the number Renteon uses to recognise the booking later.
What you need
- A mailbox that receives only the Softgate booking e-mails, reachable over IMAP with SSL/TLS (usually port 993): host, port, username and password.
- The partner the Softgate bookings are booked for, in Sales → Address book → Search.
- Car pricelists for the Softgate product codes, see "Product codes and pricelists" below, and Pricelists.
Warning: Use a mailbox dedicated to Softgate. Renteon reads every message in the inbox, takes every attachment and then moves or deletes the message. An attachment that is not a Softgate PDF cannot be read: it appears once in the import e-mail as a fatal error ("Import booking identity value is undefined") and is not tried again.
Add a connector
- Go to Administration → Code book → Settings, tab Integration, and click Edit. You need the Application settings management role.
- Tick Enable Integrations Module if it is not ticked yet, then tick the checkbox in the header of the Softgate panel.
- Click Add in the Softgate panel and fill in the connector row (see the next section).
- Leave Import reservations job enabled unticked for now and click Confirm.
- Refresh the page. The connector appears under Administration → Integration with its name. Map the partner, car categories, offices, services and pricelists there.
- Back in the settings, tick Import reservations job enabled on the row and click Confirm.
Confirm stays disabled while a row misses a required field. Two Softgate connectors cannot have the same name or code. To remove a connector, click the bin button on its row and Confirm; a connector that already has mappings or imported bookings is kept in the background as inactive and disappears from the menu.
Warning: Tick Import reservations job enabled only after the partner is mapped and the mailbox details are complete. A connector without a partner, or with a mailbox Renteon cannot log in to, fails at every run, and this can hold up the other Softgate connectors in the same run.
Connector options
- Name and Code: the name shown in the menu, and a short unique code that appears in capitals in the subject of the connector's e-mails (for example "SG1 reservations import log").
- Import reservations job enabled: the connector imports 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, Booking amount warning threshold: how the Softgate price is entered on the booking, see Integration menu and mappings.
- Disable deliveries and collections: the pick-up and drop-off addresses from the PDF are not copied to the booking as delivery and collection.
- Validation errors e-mail: receives the import reports and the "import it manually" messages. Fill it in.
- Host, Port, Username, Password: the IMAP access to the mailbox.
- Delete after fetch: delete each message after taking its attachments. When not ticked, Move to folder is required: the folder where handled messages are moved. Renteon creates the folder if it does not exist.
- Young driver default age and Old driver default age: when a booking contains an extra mapped to your young driver or senior driver service, Renteon records the main driver's age as this value, because the import does not take the date of birth from the PDF.
- Max items count in one job execution: how many e-mails the connector reads in one run (at most 1000, which is also the value when the field is empty).
- Mark imported bookings as On Request: every booking the connector creates is saved as on request, see On request bookings. A change from Softgate puts the booking back on request, even when staff had already confirmed it.
- Notify booking changes: has no effect for Softgate. Renteon does not send booking changes to Softgate.
- Delete old imported items and Keep imported items (months): clean-up, see the last section.
Map partner, car categories, offices and services
Open Administration → Integration → (the connector's name) and click Edit. You type the Softgate values yourself, exactly as they appear in the PDF, including upper and lower case. Each tab saves with its own Save button.
- Partner: pick the partner every Softgate booking of this connector is booked for. Without it, the connector imports nothing.
- Car categories: the car group codes. The PDF names the group charged and the car group; both must be mapped. The charged group is the billing category and the car group is the issued category.
- Offices: the stations printed as "Station" in the pick-up and drop-off details.
- Services: the names of the items in the insurance, seats, accessories and charges boxes of the PDF. Renteon reads these items: "CDW", "P.AI.", "T.H.W.", "S.T.H.W.", "S.C.D.W.", "Add. Drivers", "Baby Seats", "Child Seats", "Infant Seats", "Todler Seats", "GPS", "SKI Rack", "Lug. Rack", "Snow Chains", "Del Fee", "Col Fee", "One Way Fee", "Night Fee", "Misc" and "Fuel". Type the name exactly like this next to your matching service. An item that a booking uses (it has a quantity or a price, or is marked as included) must be mapped; otherwise the booking is not imported until you map it. Map "Add. Drivers" to your additional driver service; Renteon then adds the additional drivers as "ADDITIONAL DRIVER 1" and so on.
- Pricelists: see the next section.
Product codes and pricelists
Each Softgate PDF carries a product code. On the Pricelists tab, you type the product code next to the car pricelist it stands for. The kind of pricelist decides the partner's role:
- mapped to an agency pricelist (Agency pricelist ticked): the booking is prepaid and the partner is the Agency;
- mapped to another pricelist: the booking is paid on arrival and the partner is the Commissioner.
So if Softgate uses one product code for prepaid bookings and another for pay-on-arrival bookings, map each to a pricelist of the right kind. Map each product code to one pricelist only: if it is mapped to several, Renteon uses the first one it finds. A product code that is not mapped stops the booking with "Missing mapping for pricelist code …".
How Softgate bookings look in Renteon
- Order reference number: the Softgate booking number. Voucher number: the voucher number from the PDF, or the booking number when there is none.
- The driver as client, with phone number, and the pick-up flight number. Softgate prints the surname first; Renteon takes the first word as the surname and the rest as the first name.
- Pick-up and return date and time, the mapped offices and both car categories.
- The excess as excess and theft excess, and the deposit from the PDF.
- The pick-up and drop-off places as delivery and collection locations (unless Disable deliveries and collections is ticked).
- The mapped extras with Softgate's prices. Items marked as included get the price 0. The rental price is the Softgate total minus the extras. When the PDF shows a voucher value, Renteon compares it with the agency part it calculated and reports a difference larger than Booking amount warning threshold as a warning.
- Integration remark: Softgate's remark, the file name and the booking number, and a note when Renteon's calculated total differs from Softgate's total.
- In the import e-mail, warnings when an extra has a different price in the PDF than in your pricelist (the PDF price is used), and when an extra in the PDF has a price but your pricelist does not offer that service, so its price is not imported as a separate item.
If Softgate charges an out-of-hours fee and the booking gets more than one out-of-hours service in Renteon, the fee is split evenly between them.
A change updates the booking while it is still a reservation; a change for a booking Renteon does not have is imported as a new booking, with a warning. A cancellation cancels the booking with the reason Other. Bookings that are already contracts are not changed by Softgate; the attempt is reported as a fatal error and you handle it by hand.
If you enter a Softgate booking by hand, put the Softgate booking number in Order reference number and choose the Softgate partner. A later change or cancellation then finds your booking.
Errors and where to see them
- Import report ("CODE reservations import log"): sent to the Validation errors e-mail after each run with something to report, with fatal errors (not retried), errors and warnings.
- Retries: a PDF that cannot be imported, for example because a code is not mapped, is tried again in the next runs, 20 times in all. After the last attempt Renteon sends "Renteon was unable to automatically import this reservation after 20 attempts…", with the PDF attached, so that you can enter the booking by hand. Fix mapping errors before the attempts run out.
- Fatal errors: an attachment from which Renteon cannot read a booking number is reported once ("Import booking identity value is undefined") and not tried again. The same goes for a change or cancellation of a booking that is already a contract or already cancelled.
- Integration bookings log: in Car control → Reports → Audit (role Reports - audit), filter by the connector under Integration. For Softgate, Integration - Number holds Renteon's own number of the stored PDF, not the Softgate booking number. On a booking, Actions → Open booking source data shows the data read from the PDF.
Clean-up of old e-mails
With Delete old imported items ticked, stored PDFs and import log entries are deleted as described in Integration menu and mappings: once they are older than Keep imported items (months) and their booking is closed or cancelled, or no booking was made. PDFs of open bookings are kept.