Difference between revisions of "Integrations/Xero"
(added note about reconcile auto payment) |
|||
Line 167: | Line 167: | ||
* If an overpayment amount in Xero is then allocated to an outstanding invoice, we will NOT pull this information in to Emersion | * If an overpayment amount in Xero is then allocated to an outstanding invoice, we will NOT pull this information in to Emersion | ||
+ | |||
+ | * If a Xero created payment is applied to a Xero invoice as a result of an "[https://help.xero.com/au/BankAccounts-Reconciliation-AcceptMatch automatic reconcile match]" before a matching payment from Emersion has been pushed, the Emersion payment will continue to attempt to push to Xero and will never complete (<span title="Failed pushing payment allocated against Invoice #123456 to Xero due to: Validation Error (Payments can only be made against Authorised documents, Payment amount exceeds the amount outstanding on this document)">''hover over me for sample error''</span>). <br /> | ||
+ | Emersion recommend you do not allow automatic reconciliation matches against invoices unless an Emersion initiated payment is the target of the match (as indicated by by [https://go.xero.com/common/images/icon-banktransfer-a3df40bc03255229137fe3ba3ef04b0f.gif double arrow icon]). | ||
=== Xero Bulk Actions === | === Xero Bulk Actions === | ||
Line 222: | Line 225: | ||
= Related Reports = | = Related Reports = | ||
− | The report '''Xero Integration Errors''' (id: 1063) is included with this module. It can be found under '''Report > List > Finance''' | + | The report '''Xero Integration Errors''' (id: 1063) is included with this module. It can be found under '''Report > List > Finance'''. It is advised you run this report on a regular basis to confirm the transactions are successfully syncing. <br /> |
+ | Further info on this report: [[Integrations/Xero/Troubleshooting#Xero_Integration_Errors_Report Xero Integration Errors Report]] | ||
=See Also= | =See Also= | ||
* [[Integrations/Xero/Troubleshooting|Toubleshooting Issues with Xero Integration]] | * [[Integrations/Xero/Troubleshooting|Toubleshooting Issues with Xero Integration]] |
Revision as of 16:25, 23 January 2018
Contents
- 1 Overview
- 2 Related Reports
- 3 See Also
Overview
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:
Nav: Admin > Xero
On this page, link your Xero company to Emersion by clicking on the Connect to Xero button and following the on-screen prompts. With a connection is established, users can add the default bank account.
Nav: Admin > Xero > Xero Payments
On this page:
- Set a default Bank Account
- If appropriate, create a payment mapping between alternate Xero bank accounts and Emersion's payment methods. Once this is done, the user can move into mapping Emersion's ledger codes with Xero's account codes.
Nav: Admin > Ledger Mapping
On this page, users can map Emersion ledger codes to Xero account codes. This step is optional.
! IMPORTANT ! By default, Emersion's ledger codes will map to Xero's default revenue code 200 "Sales". For this reason, Emersion strongly advises not to archive or delete this code.
4. Assign the Xero Account to the Customer's account in Emersion.
To do this;
Nav: Customer > Detail > Xero Integration. Click the link to go to this page's help page.
Overview of Supported 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 prior 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...
Synchronisation 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.
Updating Existing Account
To do this; Nav: Customer > Detail > Xero Integration. Click the link to go to this page's help page.
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.
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.
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
- If a Xero created payment is applied to a Xero invoice as a result of an "automatic reconcile match" before a matching payment from Emersion has been pushed, the Emersion payment will continue to attempt to push to Xero and will never complete (hover over me for sample error).
Emersion recommend you do not allow automatic reconciliation matches against invoices unless an Emersion initiated payment is the target of the match (as indicated by by double arrow icon).
Xero Bulk Actions
You may wish to bring forward one or more of the "poller" processes manually rather than wait for the scheduled processing time.
- Nav: Admin > Xero > Xero Bulk Actions
- Simply click on the appropriate process you wish to action. You may choose from;
- Push Pending Payments to Xero (the page will dynamically determine of any invoices are valid and can be pushed)
- Pull Payments from Xero
- Pull Credits from Xero
- Push Completed Invoices to Xero (the page will dynamically determine of any payments are valid and can be pushed)
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.
Related Reports
The report Xero Integration Errors (id: 1063) is included with this module. It can be found under Report > List > Finance. It is advised you run this report on a regular basis to confirm the transactions are successfully syncing.
Further info on this report: Integrations/Xero/Troubleshooting#Xero_Integration_Errors_Report Xero Integration Errors Report