Table of Contents
Overview
Prerequisites
Xero web app
ResPax Financial integration
ResPax Organisations contacts
ResPax Tour products
Financial Exporting
Overview
The ResPax-to-Xero integration provides the ability to directly export payment details from ResPax to Xero, including configuring an account, mapping fields, scheduling timing and reviewing logs.
Prerequisites
The Tour Operator must have an existing valid Xero Organisation Account.
The Tour Operator must be able to authenticate with a Xero user that has permissions in their Xero Account. This is to add a web-app via the Xero Developer Tools Module. This requires the Xero “Advisor” role.
The ResPax Tour Operator must request from our Support Team (support@respax.com) to enable the Xero tabs in the web application. By default the Xero tab is not enabled in Financials, Organisations or Tours
Xero web app Instructions
Connect to Xero in your web browser : https://developer.xero.com/
Login with credentials that have access to make changes to the Xero Account configuration
Click on the My Apps tab, and click the New app button, or the Xero Wizard may suggest a New app.
(a) Set the App name to : ResPax
(b) Set the Integration type to : Web App
(c) Set the Company or application URL to : https://app.respax.com/admin/[org-code]
(d) Set the Redirect URI to : https://app.respax.com/api/common/oauth/provision/callback
Your org-code is your ResPax Organisations Code.
eg. org-code STD would be : https://app.respax.com/admin/std
The org-code is chosen when signing the contract, and is used as your unique identifier within the ResPax environments and ResPax Operator Network (RON).
Traditionally, it is the first organisation code created in your ResPax database and represents the database owner. It will be (or one of) the Organisations with a status of ‘Owner’. see below
The org-code is also used in your public booking links. eg https://app.respax.com/public/std/
Read and agree to the T&C
Click on the Create app button
Click on the Configuration menu item on the left
Click on Generate a secret
6. Copy and paste both the Client id and the Client secret 1 somewhere safe for future use in ResPax
IMPORTANT - Do not leave this page until you have copied the secret, as it cannot be seen or copied again.
(ResPax recommend the use of a secure Password Keeper. There are many web apps for this)
You may logout of Xero and follow the next steps called ResPax Instructions from step 1.
If you lose the client secret, then you must generate a new one and save it somewhere safe!
8. The integration into ResPax will need to be re-connected, (don’t worry, no data is ever lost) see below.
9. Delete the first secret that you no longer have the password for.
Click on the trash bin of secret 1
Confirm the Deletion
ResPax Financial Integration
Step-by-step guide to connecting ResPax to the Xero API for exporting Payments
Connect to Xero (Quick Ref : (Navigation: Tools / Financials )
Email support@respax.com requesting to “Enable the Xero Feature Flag” for Financials, Organisations and Tours. This is so ResPax staff can configure Xero as your default Financial Archive and Integration Partner.
(Currently Xero, MYOB, SAP, and Attaché are supported)
Once your access is enabled, the related Xero tabs will become enabled in each relevant pageFrom the main menu, click Tools
Click the Financials menu
Select the Financial Settings tab
Enter the credentials (client id and client secret) you previously generated in Step 6 of the Xero Configuration screen into the fields below.
Select Save.
Click on Connect
This launches the Xero Integration App.
Select an Organisation from your dropdown list.
(ResPax supports only one Xero Organisation to connect to)
Select Allow accessThe callback URL will load and this will return you to the ResPax Financials page.
The currently logged in user will now be listed as the Linked Account.Select a Xero Organisation from the dropdown list.
Select Save.
ResPax Organisation contacts
From the main menu, click Settings
Click Organisations
Click the edit button on an existing Organisation
Click the Financials tab
Start typing any part of a Xero contact to search for a match
Select the matching contact from the list, and
Click on the Add buttonA confirmation message will be displayed for a few seconds in the top right of screen
The saved Contact will be displayed below the search field.
The search field and the add button are disabled (greyed out) when there is a saved contact.
The saved contact must be deleted (use trash bin icon) before the search and add button are re-enabled.
ResPax Tour products
From the main menu, click Tours
Click Tour Maintenance
Click the edit button on an existing Tour
Click the Advanced tab
Start typing the Xero product code and the list will search and filter.
The search starts after the first 2 characters/numbers are entered, and searches by code only, not Name.
The search is case sensitive so must match exactly what the Xero product codes are.
Select the matching product code for the ResPax Tour you are updating.
Click on the Add buttonThe successfully mapped Xero Product will be listed below the Search area
FYI - The Product Codes used for ResPax Tours are configured in Xero Products and services
Financial Exporting
(Navigation: Tools / Financials)
From the main menu, click Tools
Click the Financials menu
Select the Xero tab
Refer to the image below for the 4 exporting steps
Step 1 - Choose your Export Criteria
Choose a FROM date (these are travel dates, not booked dates)
Choose a TO date (these are travel dates, not booked dates)
Choose a Financial Entity (Booking Owner)
Click on the Apply Filters button
Step 2/3 - QA each booking that is correct and ready for exporting
Select each booking as QA’d by selecting the switch next to each booking or
Select all bookings as QA’d
Step 4 - Click the Export button
Important : There are 4 different status of Bookings on the Export page
Status Icon | Status Description |
---|---|
If the booking contains a Ticket level Tour or an Extra, that is not connected to a Xero Product Code, then this ‘Product not Mapped’ icon is displayed. | |
If the booking was made by an Agent that is not connected to a Xero Organisation Contact, then this ‘Agent not Mapped’ icon is displayed. | |
If the booking contains a Tour or Extra that is connected, and the Agent making the booking is connected, then this ‘ready to Export’ icon is displayed. | |
If the booking has already been exported to Xero, then this ‘Exported’ icon is displayed. |
After selecting Export, a confirmation message is displayed.
Click on the Export button
The export page will display a processing message.
On refreshing the export page, the status of the exported bookings will change from Ready to Export to Exported
The above example is Booking #12437 listed as Exported in the ResPax Export page
Switch to your Xero web application (go.xero.com)
Login and locate invoice #12437
Open the Invoice and confirm that the Tour value and the extras value are correctly recorded as revenue line items.