Difference between revisions of "Integrations/Xero/Troubleshooting"

From Emersion
Jump to: navigation, search
m (corrected link)
(Replaced content with "=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 unti...")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Troubleshooting Xero Integration}}
+
=This Content Has Moved House=
= Overview =
 
This article assists users troubleshoot and resolve issues with the integration between Xero and Emersion. It is expected that before raising a service request with the Emersion Customer Service team that you have stepped through this guide in order to resolve the most common Xero issues. If you are having trouble interpreting the results of the Xero Integration Errors report (below), or need some further assistance, please contact [https://support.emersion.com/servicedesk/customer/ Emersion Support].
 
  
== Automatic Xero Config Disable On Connection Error / Timeout ==
+
This article has been moved to our new home for documentation and help content, the new Emersion Knowledge Base.
Emersion's system actively monitors the attempts to process with Xero where there is no Xero connection and reports this to Emersion. In these cases, it is likely that access has been revoked or the session has timed out. To avoid our system making unnecessary frequent attempts to call the Xero platform in these instances, Emersion's system will conclude access is broken or otherwise disabled should we received 5 of these errors reports in the last hour.
 
  
In these cases, the system will:
+
We are sorry for the untidiness while we are shifting locations and we appreciate your patience during the transition to our new home.
* Disable the Xero configuration for your service provider account.
 
* Create a support ticket for the Emersion Customer Support team to follow up with you.
 
  
== I cannot see any Invoices or Payments in Xero ==
+
[https://resources.emersion.com/display/EKB/Troubleshooting+Xero+Issues Take me to the Emersion Knowledge Base article]
A very common scenario is such that a new customer is created in Emersion, an invoice is issued and a payment is then received in Emersion and allocated to this invoice. <br />
 
In Xero, there are no invoices nor payments for this same customer even though you have setup the Contact in Xero.
 
  
The likely answer is that you have forgotten to link the Emersion Account to the Xero Contact. This is a mandatory requirement and will most certainly prevent ANY invoices from ever being synced.
+
[[file:new_home_sm.jpg|900px]]
 
 
You will need to;
 
* A) Follow the instructions [[Integrations/Xero#Updating_Existing_Account|here]] to link the accounts
 
* B) Go back into each invoice and [[Integrations/Xero/Troubleshooting#Manually_Reserving_an_Emersion_Invoice_in_Xero|manually reserve in Xero]]
 
* C) Payment will push through automatically (providing they are allocated to a synced invoice)
 
 
 
== Xero Integration Errors Report==
 
To assist customers with identifying possible Xero Integration errors, a report called '''Xero Integration Errors''' exists. This report will detail any errors that have occurred during integration between Emersion and Xero.
 
 
 
"Objects" that fall into this report are re-processed '''12 hours''' from the time they first failed. This re-processing will continue indefinitely. If you repair the underlying cause of the error, there is every chance you won't need to do anything else and the problem will be resolved. Not having any entries in this report is the goal.
 
 
 
To find the report, Nav: '''Report > List > Finance'''
 
# Find the '''Xero Integration Errors''' report and click ''Generate Report''
 
# Click ''Search'' to see all integration errors.
 
 
 
At this time, the Xero Integration Errors report will only list failed integration requests where they relate to either an '''Invoice''', '''Payment''' or '''Ledger Journal Entry''' (of transaction type ''allocateUnallocatedPayment''. This is displayed in the ''object'' column.
 
 
 
{| class="wikitable"
 
|-
 
! Attempt time !! AccountID !! Account Name !! Object Name !! Object ID !! Object Date Type !! Object Date !! Amount !! Failure Reason
 
|- style="color: green;"
 
| The time the invoice or payment was attempted to be pushed to Xero, and failed. || The End User Account ID || The End User Account Name || Invoice (''Umbrella_AccountInvoice'') or Payment (''Umbrella_Payment'') or Ledger Journal (''Umbrella_LedgerJournal'') || Invoice ID / Payment ID / Ledger Journal ID || Invoice Start Date / Payment Date || Date as per preceding column || Invoice Total Amount (inc Tax) / Payment Total Amount (inc Tax) || Truncated Failure Response (''as stripped out of the Xero API Response'')
 
|-
 
|-
 
| 2016-01-05 02:10:00 || 1234567 || ABC Customer || Umbrella_AccountInvoice || 7654321 || InvoiceStart || 01/JAN/2016 || 570.93 || Failed pushing completed invoice to Xero due to: Validation Error (Invoice not of valid status for modification, This document cannot be edited as it has a payment or credit note allocated to it.)
 
|-
 
| 2016-02-01 02:20:05 || 1234567 || ABC Customer || Umbrella_Payment || 6543210 || PaymentDate || 28/JAN/2016 || 570.93 || Failed pushing payment allocated against Invoice #7654321 to Xero due to: Validation Error (Payments can only be made against Authorised documents, Payment amount exceeds the amount outstanding on this document)
 
|-
 
| 2016-06-24 13:32:21 || 1234567 || ABC Customer || Umbrella_LedgerJournal || 6996771 || AllocationDate || 24/JUN/2016 || 450 || Failed pushing payment allocated against Invoice #1659675 to Xero due to: Validation Error (Payments can only be made against Authorised documents, Payment amount exceeds the amount outstanding on this document)
 
|}
 
<!-- HIDING THIS FOR NOW - TODO MARK TRANSACTION AS MANUAL
 
***************************************************************************
 
=== Marking Payments Manually Processed in Xero ===
 
{| class="wikitable"
 
|-
 
! Scenario: !! Result:
 
|-
 
| You have manually created a payment in Xero against a (''Xero'') invoice
 
You have also created a payment in Emersion for the same (''linked'') invoice
 
|| Our system will not be able to push the (Emersion) payment to Xero as the invoice will already by in a Paid status.
 
|}
 
 
 
To correct this, and once you have confirmed the payment in Emersion does in fact match the payment in Xero, you can use the following steps to mark the Emersion payment as ''manually processed in Xero'' by utilizing a new button next to the transaction entry in the ledger - depending on the requirements below being met.
 
 
 
* You must have been sold and have enabled, the Xero Integration module.
 
* You have enabled the ''Can manually mark payment as processed in Xero'' Power Based Permission
 
* A payment has fallen into our object quarantine area
 
 
 
# Navigate to Finance > Accounts Receivable > Transactions('tab')
 
# Filter to the applicable payment by find the
 
# Click on the '''Manually Processed in Xero''' button
 
# Confirm you do in fact wish to mark this payment as manually processed in Xero buy pressing Yes in the confirmation dialog
 
 
 
From this point on, the payment itself will no longer attempt to be pushed to Xero.
 
 
 
[[NEW TRANSACTIONS PAGE MARK MANUALLY PROCESSED IN XERO]]
 
-->
 
 
 
== Manually Reserving an Emersion Invoice in Xero ==
 
If you are subscribed to Xero Integration, have successfully connected Emersion to your Xero instance & have a linked Emersion Account / Xero Contact, the system will automatically reserve an invoice in Xero once it has been generated.
 
 
 
The initial status of an invoice pushed to Xero is '''Draft'''.
 
 
 
Within 15 minutes, the [[Integrations/Xero#Xero_Pollers|Push Completed Invoices]] poller will push the cardlines to Xero, allocate to the correct invoice & mark that invoice '''Awaiting Payment''' status.
 
 
 
If an invoice has not been pushed to Xero and it is not found in the [[Integrations/Xero#Xero_Integration_Errors_Report|Xero Integration Errors Report]], you have the ability to manually reserve the invoice in Xero.
 
 
 
To do this:
 
 
 
# Nav: '''Finance > Accounts Receivable > Invoices
 
# search for your invoice. Click on the ID to open it.
 
# Click '''Manage'''
 
# Click the '''Reserve in Xero''' button [[File:Invoice_xero_reserve_006.png]]
 
# You will see a new notification indicating we will attempt to reserve this invoice in Xero [[File:Invoice_xero_reserve_004.png]]
 
 
 
'''If you are certain an invoice has not pushed across to Xero, and do not see the Reserve in Xero button via Manage Invoice, please contact [https://support.emersion.com/servicedesk/customer/ Emersion Support]'''
 
 
 
== Marking Invoices Manually Processed in Xero ==
 
 
 
{| class="wikitable"
 
|-
 
! Scenario: !! Result:
 
|-
 
| You have reserved an Emersion invoice in Xero either automatically or manually.
 
You have manually modified the Xero invoice that is ''linked'' to the Emersion invoice. For example, manually added card lines, marked Paid, etc.
 
You have approved the invoice.
 
|| Our system will not be able to push the (Emersion) invoice card lines (''or update the Xero invoice status to Authorised'') as the Xero invoice is no longer in the Draft status.
 
|}
 
 
 
If you are confident you have manually synchronised the invoices between Emersion Account(s) and Xero Contact(s), you can use the below procedure to manually mark the Emersion invoices as ''already processed in Xero''.
 
 
 
# Navigate to Finance > Accounts Receivable > Invoices (''tab'') > [''filter by invoice''] > Click Manage
 
## (or alternatively via Customer > Customer List > [''filter by customer''] > Invoices (''tab'') > [''filter by invoice''] > Click Manage)
 
# Click on '''Mark Invoice as Submitted to Xero''' [[File:Xero invoice manually processed 001.png| Mark Invoice as Submitted to Xero]]
 
# Confirm you do in fact wish to mark this invoice as manually processed in Xero by clicking Yes
 
# You will receive a successful notification once this has been completed [[File:Xero invoice manually processed 003.png| This invoice has been marked as submitted to Xero]]
 
 
 
From this point on the invoice will no longer attempt to be pushed to Xero.
 
 
 
== Xero GUID ==
 
 
 
A Xero GUID is a 32 character alphanumeric string used in place of what Emersion generally refer to as "ID's".
 
They are unique and will only ever represent a single object. Emersion use these GUID's to uniquely identify objects like payments, contacts and invoices that have been pushed to or retrieved from your Xero company.
 
 
 
The way Xero is used in the cloud, along with the consistent use of the GUID in Xero's use of their URL structure mean you can leverage this consistency to view data in Xero where Emersion provide you a GUID.
 
 
 
For example; When Emersion staff refer to a "Xero" payment we are in fact referring to Xero's GUID of a Xero Bank Transaction.
 
You can view a Xero payment directly by changing the GUID after the equals (=) sign in the following example URL: https://go.xero.com/Bank/ViewTransaction.aspx?bankTransactionID=7c3becf8-da67-4e88-868e-a08ae6bb3a7c
 
 
 
A list of known URL's you can modify to enable you to directly view data that Emersion references are as follows:
 
 
 
{| class="wikitable"
 
! style="font-weight: bold;" | Item/Object
 
! style="font-weight: bold;" | URL
 
! style="font-weight: bold;" | Notes
 
|-
 
| Contact
 
| https://go.xero.com/Contacts/View/1b7042ba-42a2-4796-aeea-ec48af474e0d
 
|
 
|-
 
| Payment
 
| https://go.xero.com/Bank/ViewTransaction.aspx?bankTransactionID=7c3becf8-da67-4e88-868e-a08ae6bb3a7c
 
| This may be an Emersion initiated payment or a Xero initiated payment
 
|-
 
| Invoice
 
| hhttps://go.xero.com/AccountsReceivable/View.aspx?invoiceID=6e75ba8c-fd37-44b5-93e9-52e82d28a10b
 
| This can only ever originate from Xero at this time. We do not support "pulling" credit notes <em>from</em> Xero
 
|-
 
| Credit Note
 
| https://go.xero.com/AccountsReceivable/ViewCreditNote.aspx?creditNoteID=90c25028-0c5d-4d59-a578-29ee04729fa0
 
| This can only ever originate from Xero at this time. We do not support "pushing" credit notes <em>to</em> Xero
 
|}
 
 
 
Not all Xero GUID's will be visible in the Cumulus interface at this time, although you may [https://support.emersion.com/servicedesk/customer/ request this data from the support team]
 
 
 
From time to time, the Emersion Support team may work with you to correct Xero integration issues and may "generate" these above links for you based on data provided to us via the Xero API. We cannot see any data in your Xero company, nor do we have access to "log in". The above links are generic across all Xero accounts - except for the unique "GUID" of course.
 
 
 
==Payment Surcharges==
 
 
 
If you are taking payment surcharges from your customers at the time of taking an actual payment, you will not see the surcharge component pushed to Xero straight away. You will only see the '''allocated''' component(s) being pushed across. Whilst a payment in Emersion may represent allocations across multi invoices, a payment allocation that is pushed to Xero will always only ever be for a single invoice.
 
 
 
Further information on this can be read at the following article --> [[Take_Payment]]
 
 
 
= See Also =
 
* [[Integrations/Xero|Xero Integration]]
 

Latest revision as of 13:19, 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 Emersion Knowledge Base article

New home sm.jpg