Integrations/Xero

From Emersion
Revision as of 12:18, 22 June 2017 by Rlusher (talk) (Overview of Support and Non Supported Transactions)
Jump to: navigation, search

Xero Integration

Emersion integrates seamlessly with the Xero Billing Platform found at www.xero.com.

Emersion and Xero features:

  • 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


Before you can configure the Xero Emersion integration, you are required to have the feature enabled on your service provider account. Please contact sales@emersion.com.au if you are interested in this feature.

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.

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 Admin > Xero

- (Mandatory) Link your Xero company to Emersion by clicking on the Connect to Xero button and following the login prompts

  • (2) Navigate to Admin > Xero > Xero Payments (tab)

- (Mandatory) Set a default Bank Account
- (Optional) Create a payment mapping between alternate (Xero) bank accounts and (Emersion) payment methods

  • (3) Navigate to Admin > Ledger Mapping

- (Optional) Map various (Emersion) ledger codes to (Xero) account codes
- (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 Customer > Detail > Xero Integration

- (Mandatory) Click Edit and select a Xero Account Name (Xero Contact) from the list
. 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.

Overview of Support and Non Supported Transactions

Supported Transactions
a) We only push across payments once allocated to an invoice, and positive balance invoices to Xero.
b) We only pull payments and credits from Xero to Emersion, provided they apply to invoices that have come across from Emersion to Xero in the first instance.

Non Supported Transactions a) Refunds do not go from Emersion to Xero.
b) Debit Write offs and normal Write Offs do not go from Emersion to Xero.
c) Credits applied to invoices in Emersion do not go across to Xero (Note: Credits coming from the other direction - Xero to Emersion will work).
d) Invoices in credit balance do not go across to Xero, however, once the credit is converted to a payment and applied to the next invoice, the resulting Payment will go to Xero.
f) Transactions reversing or voiding Payments in Xero are not reflected in Emersion.
g) Transactions reversing or voiding Credits are not reflected in Emersion.
h) Any kind of general credit or debit adjustment made in Xero does not go across to Emersion.
i) Deleting or modifying any invoice or payment does not go across to from Xero to Emersion.
Additionally, transactions are only synced as far as a month in terms of transactions going to Xero or from Xero.

Credits

Do not use the 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'

The media player is loading...

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 3.88, the Xero Account Name drop-down select list is now sorted alphabetically to make linking more efficient.

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:

  1. click Edit to enter edit mode on the page.
  2. Select the Xero account from the list available.
  3. Save the settings.


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:

  1. Navigate to Admin > Xero > Xero Ledger Map (tab)
  2. Once the page has loaded, you will see a list of ledger codes that are currently available to you under your Emersion account.
  3. Click on the name of the Emersion ledger code
  4. Select a ledger code from the drop down list of available ledger codes that have been retrieved from your Xero account.
  5. You may enter a description of this mapping (optional)
  6. 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.

Emersion also have a bulk import tool available for you to import & map multiple Xero ledger codes. See Xero Ledger Code Mapping - Bulk Import


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.

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


Important Information

Xero Pollers

  • There are 4 pollers that handle Xero integration automatically. The frequency of these pollers are as follows;
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 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 any cardlines for an invoice that totals less than $0 (ie. 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 have allocated amounts against already linked invoices will be pulled from Xero. The credit note must also be in status Paid.
  • If a payment made in Xero also creates an overpayment, then we will not pull the overpayment amount from Xero - only the allocated payment amount against an already linked invoice.
  • If an overpayment amount in Xero is then allocated to an outstanding invoice, we will NOT pull this information in to Emersion

Xero / Emersion Ledger Transaction

The following screenshots represent an Approved invoice that has been pushed to Xero (and set to status 'Awaiting Payment').

For the purpose of showing an example between Emersion & Xero, the following numbers represent different methods of individual transactions:

  • (1) Represents a payment made in Xero and applied to the linked invoice.

Our Check For Payments poller has then picked this up and pulled this payment into Emersion and allocated the amount to the linked invoice.

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.

Note the Transaction Reference on the Payment tab and the Reference on the Transaction tab represent the Xero GUID of the the payment transaction within Xero. Once logged into Xero, you can view the direct payment by modifying the URL. For example: https://go.xero.com/Bank/ViewTransaction.aspx?bankTransactionID=21abb5e5-e978-4de7-b44e-83d686749ba5 - where 21abb5e5-e978-4de7-b44e-83d686749ba5 is the reference taken from either the Payment or Transaction tab in Emersion.

  • (2) Represents a Payment made in Emersion and applied to the linked invoice.

Our Push New Payments poller has picked this up and pushed it to Xero and allocated it to the linked invoice.

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]

  • (3) Represents a Credit Note that has been created in Xero and applied to the linked invoice.

(Whilst Emersion does not have a concept of a Credit Note per se, we support a Credit transaction type.)

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).

Note the Reference on the Transaction tab represent the Xero GUID of the the credit note within Xero. Just like payments, you can view the direct credit note by modifying the URL. For example: https://go.xero.com/AccountsReceivable/ViewCreditNote.aspx?creditNoteID=e2c84d1f-6f2d-4809-a8f4-1e94e7910718 - where e2c84d1f-6f2d-4809-a8f4-1e94e7910718 is the reference taken from the credit transaction in the customer ledger journal (Transactions) in Emersion.

See Also