Difference between revisions of "Integrations/Xero"

From Emersion
Jump to: navigation, search
m (minor update to formatting)
 
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Xero Integration =
+
=This Content Has Moved House=
  
Emersion integrates seamlessly with the Xero Billing Platform found at www.xero.com.
+
This article has been moved to our new home for documentation and help content, the new Emersion Knowledge Base.
  
Emersion and Xero features:
+
We are sorry for the untidiness while we are shifting locations and we appreciate your patience during the transition to our new home.
* Linking Emersion Accounts with Xero Contacts
 
* Synchronizing invoices created in Emersion with Xero.
 
* Breaking down of ledger card lines within Emersion by ledger code
 
* Receiving payments and credit notes from Xero and reflecting them in Emersion
 
* Pushing payments received in Emersion to Xero
 
<br />
 
  
Before you can configure the Xero Emersion integration, you are required to have the feature enabled on your service provider account. Please contact [mailto:sales@emersion.com.au sales@emersion.com.au] if you are interested in this feature.
+
[https://resources.emersion.com/display/EKB/Xero Take me to the new articles]
  
You will know when the Xero integration is enabled when you have access to '''Admin > Xero'''. Please also ensure you follow the First Time Setup guidelines below.
+
[[file:new_home_sm.jpg|900px]]
 
 
Note: Only a single Xero Company can be linked to the Emersion platform.
 
 
 
== First Time Setup ==
 
You have had the Xero Integration module activated and would like to know how to initially configure Emersion to integrate with Xero. Apart from watching the short video below, the basic steps for you to now complete are as follows:
 
 
 
* ('''1''') Navigate to <span style="text-decoration:underline;">Admin > Xero</span>
 
- (''Mandatory'') Link your Xero company to Emersion by clicking on the Connect to Xero button and following the login prompts
 
 
 
* ('''2''') Navigate to <span style="text-decoration:underline;">Admin > Xero > Xero Payments (tab)</span>
 
- (''Mandatory'') Set a default Bank Account <br />
 
- (''Optional'') Create a payment mapping between alternate (Xero) bank accounts and (Emersion) payment methods
 
 
 
* ('''3''') Navigate to <span style="text-decoration:underline;">Admin > Ledger Mapping</span>
 
- (''Optional'') Map various (Emersion) ledger codes to (Xero) account codes <br />
 
- (Note: un-mapped codes will map to Xero's default revenue code 200 "Sales" so do not archive or delete it)
 
 
 
* ('''4''') Navigate to a <span style="text-decoration:underline;">Customer > Detail > Xero Integration</span>
 
- (''Mandatory'') Click Edit and select a Xero Account Name (Xero Contact) from the list <br />. You must have already created a contact in Xero
 
- (''Optional'') When you Create New Customer you can select the Xero Contact to link to. We suggest doing this as a matter of account creation process from now on.
 
 
 
== Credits ==
 
Do not use the [[Credits|Credit]] feature in Emersion to create a credit if your service provider subscribes to this module. Emersion only supports pulling credit notes from Xero into Emersion. Credit notes in Xero are saved as credits in Emersion. However this synchronisation is one-way. If an Emersion credit ''and'' a Xero credit is created for the same transaction, users will see two credits appearing in Emersion.
 
 
 
Additionally, De-allocating a credit from an invoice in Xero will not change anything in Emersion. This is also true if you then Void the credit note in Xero. Performing these actions will most likely cause your Xero account & linked Emersion account to not balance.
 
 
 
== Configuration of Xero and Emersion ==
 
Watch the training video to:
 
 
 
* Learn how to connect to Xero from Emersion
 
* Set your default payment method to go to your nominated bank accounts in Xero
 
* Map Ledger codes against Xero accounts
 
* Associate Emersion 'accounts' with Xero 'contacts'
 
 
 
<mediaplayer MWPlayerConfig="MyCustomConfig" height="400" width="600">http://wiki.emersion.com.au/wiki/media/xero-integration.mp4</mediaplayer>
 
<br />
 
 
 
== Synchronization with Accounts ==
 
 
 
Customer accounts in Emersion need to be linked to contacts in Xero. We do not currently support creating a Xero contact through integration.
 
 
 
You can ''link'' an Emersion Account to a Xero Contact by utilizing one of the following methods;
 
 
 
=== Creating a new Customer ===
 
When you create a new customer in Emersion, first screen in the wizard includes a '''Xero Account Name''' field. Use the drop-down to select which account to link to this new customer. This will perform an integration request to your Xero instance and pull a list of active contacts. The contact you wish to link to must already have been created in Xero. As of release version [[ReleaseNotes#Release_Notes_3.88.00_-_19_July_2016|3.88]], the ''Xero Account Name'' drop-down select list is now sorted alphabetically to make linking more efficient.
 
 
 
[[File:xero-create-customer.png|border|The Create Customer Wizard showing Xero fields]]
 
 
 
=== Updating Existing Account ===
 
 
 
To update the ''linked'' Xero Contact for an existing Emersion Account, or to ''link'' a Xero Contact to an Emersion Account created before you set up the Xero integration follow the steps below;
 
 
 
'''NAV: Customers > Customer List'''
 
 
 
Find a customer and open their account by clicking on the account ID.
 
 
 
Click the '''Details''' tab then click the '''Xero Integration''' sub tab.
 
 
 
To change the Xero Contact ''link'' for the customer:
 
 
 
# click '''Edit''' to enter edit mode on the page.
 
# Select the Xero account from the list available.
 
# '''Save''' the settings.
 
<br />
 
 
 
== Mapping Ledger Codes ==
 
 
 
An important aspect of integration to accounting platforms like Xero is the ability to map Emersion ledger codes to Xero ledger codes so as to keep your accounting as simple or as complex as you like and to ensure both systems reflect how you receive revenue from your customers.
 
 
 
All Emersion card lines (line items) are broken down into ledger codes. These codes are designed to categorize charges into granular groups and break up different forms of revenue.
 
 
 
Where Emersion integrates with various accounting platforms, we allow the mapping of our ledger codes with those setup within your Xero account.
 
 
 
To begin mapping ledger codes, you need to log into the Emersion system and then follow the steps below:
 
 
 
# Navigate to Admin > Xero > Xero Ledger Map (''tab'')
 
# Once the page has loaded, you will see a list of ledger codes that are currently available to you under your Emersion account.
 
# Click on the name of the Emersion ledger code
 
# Select a ledger code from the drop down list of available ledger codes that have been retrieved from your Xero account.
 
# You may enter a description of this mapping (''optional'')
 
# Click the Save Mapping button
 
 
 
It is possible to map multiple different Emersion ledger codes to a single Xero ledger code, or you may choose to be very granular and have an individual Emersion <> Xero ledger code mapping for every single code.
 
 
 
{| class="wikitable"
 
|-
 
| Emersion also have a bulk import tool available for you to import & map multiple Xero ledger codes. See [[Data_Import/Xero_Ledger_Code_Mapping|Xero Ledger Code Mapping - Bulk Import]]
 
|}
 
<br />
 
 
 
== Default Xero Ledger Code (200) ==
 
 
 
A very important note on Emersion <> Xero ledger code mapping relates to the scenario where an individual card line whose Emersion ledger code has not been mapped to a Xero ledger code needs to ''fall back'' to a default ledger code.
 
 
 
When we attempt to push (approved) invoice card lines across to your Xero account, we will assign these card lines to default Xero revenue code 200.
 
 
 
* If this code does not exist, has been delete or archived, or has been changed to an account type other than revenue, invoice card lines will fail to push to Xero and you may continue to see an invoice in Xero as $0 & in a Draft status.
 
 
 
In a brand new setup of Xero, there is a default revenue account code '''200''' with the name '''Sales'''.
 
 
 
'''Please do not delete, archive, or make this account code anything other than type revenue. This is the default fallback for un-mapped ledger codes.'''
 
 
 
[[File:Xero-revenue-200.png|border|Xero Default Revenue Account Code 200 - Sales]]
 
 
 
Further information on how to configure you Chart of Accounts in Xero can be found at https://help.xero.com/au/Settings_ChartofAccounts
 
 
 
<br />
 
 
 
== Important Information ==
 
 
 
=== Xero Pollers ===
 
* There are 4 ''pollers'' that handle Xero integration automatically. The frequency of these pollers are as follows;
 
{| class="wikitable"
 
|-
 
! Poller !! Action(s) !! Schedule !! Notes
 
|-
 
| Push Completed Invoices || When an Emersion invoice is Approved, this poller will attempt to send all the card lines to the linked Xero invoice - and further mark it Authorised (and ready for payment) || Every 15 minutes || Must not have already been pushed. Must be ''Approved''. Xero invoice must still be in ''Draft'' status and exist. Card lines will need to either have ledger codes mapped, or the [[#Default_Xero_Ledger_Code_.28200.29|default Xero account code ''200'']] must exist as a fallback. Total invoice amount must be greater than $0 (zero) dollars. Whilst an initial invoice may be reserved in Xero, we will not push a credit invoice.
 
|-
 
| Check For Credit Notes || Credit notes created in Xero, will be pulled across and processed as a credit in the ledger || Every 15 minutes || No greater than 30 days ago. Must not already exist in Emersion. Must be attached to an existing (linked) invoice. Must be status ''Paid''.
 
|-
 
| Push New Payments || Payments made in Emersion will be pushed and applied to the linked invoice in Xero || Every 1 Hour || Must be made against linked invoice(s). Must not have already been processed. Only payments against invoices are supported. (ie. Not Ledger Credits or Debits)
 
|-
 
| Check For Payments || Payments created in Xero against linked Emersion invoices will be pulled across and applied to the invoice in Emersion || Every 1 Hour || No greater than 30 days ago. Must not already exist in Emersion. Must be attached to an existing (linked) invoice. Must be ''Authorised''. Payment amount must be less than the invoice outstanding amount.
 
|}
 
 
 
* Only transactions that are payments against existing invoices will be pushed to Xero. No '''credit''' or '''debit''' ledger transactions will be pushed.
 
 
 
* Only credit notes that are allocated to linked invoices will be pulled from Xero. The credit note must also be in status AUTHORISED.
 
 
 
* If a payment made in Xero ends up as an '''over-payment''', then we will not pull the over-payment from Xero - only the payment amount.
 
 
 
== Xero / Emersion Ledger Transaction ==
 
 
 
The following screenshots represent an Approved invoice that has been pushed to Xero (and set to status 'Awaiting Payment'). <br/>
 
 
 
For the purpose of showing an example between Emersion & Xero, the following numbers represent different methods of individual transactions:<br/>
 
 
 
* <u>('''1''') Represents a payment made in Xero and applied to the linked invoice.</u> <br/>
 
 
 
Our '''Check For Payments''' poller has then picked this up and ''pulled this payment into Emersion'' and allocated the amount to the linked invoice. <br/>
 
 
 
In the screenshots below, you can see this payment represented in both the Payments tab, as well as the Transactions tab of a customer account. <br/>
 
 
 
Note the ''Transaction Reference'' on the Payment tab and the ''Reference'' on the Transaction tab represent the Xero [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID] of the the payment transaction within Xero. Once logged into Xero, you can view the direct payment by modifying the URL. For example: <nowiki>https://go.xero.com/Bank/ViewTransaction.aspx?bankTransactionID=21abb5e5-e978-4de7-b44e-83d686749ba5</nowiki> - where ''21abb5e5-e978-4de7-b44e-83d686749ba5'' is the reference taken from either the Payment or Transaction tab in Emersion.
 
 
 
* <u>('''2''') Represents a Payment made in Emersion and applied to the linked invoice.</u> <br/>
 
 
 
Our '''Push New Payments''' poller has picked this up and pushed it to Xero and allocated it to the linked invoice. <br/>
 
 
 
This particular payment in Emersion will have a reference as entered by you when creating the payment (''this is sometimes a system generated reference in the case of automated payments via a payment gateway'') and will push to Xero with a payment reference that references both the (Emersion) Payment ID and the (Emersion) journal ID of the '''unallocateUnallocatedPayment''' transaction type in the customer ledger journal (''Transactions''). For example: ''Payment received in Emersion [Journal #9100699, Payment #2081312]''
 
 
 
* <u>('''3''') Represents a '''Credit Note''' that has been created in Xero and applied to the linked invoice.</u> <br/>
 
 
 
(Whilst Emersion does not have a concept of a Credit Note per se, we support a '''Credit''' transaction type.) <br/>
 
 
 
Our '''Check For Credit Notes Poller''' has picked up the Credit Note from Xero and applied it to the linked invoice & the customer account in Emersion. This is not a payment, but will be represented as a '''credit''' transaction type in the ledger journal (''Transactions''). <br/>
 
 
 
Note the ''Reference'' on the Transaction tab represent the Xero [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID] of the the credit note within Xero. Just like payments, you can view the direct credit note by modifying the URL. For example: <nowiki>https://go.xero.com/AccountsReceivable/ViewCreditNote.aspx?creditNoteID=e2c84d1f-6f2d-4809-a8f4-1e94e7910718</nowiki> - where ''e2c84d1f-6f2d-4809-a8f4-1e94e7910718'' is the reference taken from the credit transaction in the customer ledger journal (''Transactions'') in Emersion.
 
<!--
 
[[File:Xero sample 001.png|thumbnail|Xero Invoice View]] <br/>
 
[[File:Xero_sample_002.png|thumbnail|Emersion Transactions View]] <br/>
 
[[File:Xero_sample_003.png|thumbnail|Emersion Payments View]]
 
-->
 
 
 
<gallery>
 
File:Xero_sample_001.png|Xero Invoice View
 
File:Xero_sample_002.png|Emersion Transactions View
 
File:Xero_sample_003.png|Emersion Payments View
 
</gallery>
 
 
 
=See Also=
 
* [[Integrations/Xero/Troubleshooting|Toubleshooting Issues with Xero Integration]]
 

Latest revision as of 13:21, 14 May 2018

This Content Has Moved House

This article has been moved to our new home for documentation and help content, the new Emersion Knowledge Base.

We are sorry for the untidiness while we are shifting locations and we appreciate your patience during the transition to our new home.

Take me to the new articles

New home sm.jpg