One of the biggest questions when deciding how to integrate Xero with Salesforce is choosing between an API Only App and a Native App.

The correct choice will depend on your business needs. We explain the difference between the two below.

Breadwinner-in-Salesforce

API Only Apps

An API-only app does not include any Salesforce objects, pages, or workflow. In fact, it isn’t installed into Salesforce at all but instead connects to Salesforce. This means that the API-only app will move data back and forth between Salesforce and Xero, but your users will not log in to the app or see anything different when using Salesforce. An API-only app will work in the background, constantly checking data in each system, and pushing data back and forth when triggered by certain events.

Some API-only apps are only capable of creating records, while others are capable of updating records.

Because API-only apps do not include any custom objects in Salesforce, they are usually configured to connect to standard Salesforce objects. So, it’s typical for a Salesforce opportunity or Salesforce quote to be synced to a specific Xero invoice, and for a Salesforce account to be synced with a specific Xero invoice. This is powerful as your users can continue working with the objects that they are familiar with.

However, this approach can cause problems. For instance, if you ever want to raise a second invoice on the same opportunity, or connect a second Xero contact to the same Salesforce account, you can’t do this. To get around this, some people will create their own custom objects in Salesforce and write custom mappings (or custom scripts) in the API app to push and pull data out of these custom objects.

One of the strengths of an API-only app is that it can connect to many things, not just Xero. So, for instance, when an opportunity is marked as closed-won, not only will an invoice and optionally a Xero contact be created, but an email might be sent via MailChimp and a note created in Evernote or Basecamp.

One of the challenges of an API-only app, at least if you write your own mapping and scripts, is that the data accuracy is ultimately up to you. So if you find that the data in one system is not what you want it to be, this might be the responsibility of you and your consultant, not the API app, as they executed your script correctly but it was the script itself that has errors.

API-vs-Native-App-Blog

Native Apps

A “native app” like Breadwinner is installed into Salesforce from the AppExchange. It includes Salesforce components (like objects, tabs, pages, and workflow) that come pre-built. Upon installation, you might find that everything is already built and mapped and that minimal effort is required to configure everything.

Because Xero has a fairly rigid structure, an invoice will always have the same fields, and the line items below that invoice will always have the same fields. A native app can take advantage of Xero’s rigid structure and replicate Xero data back into Salesforce.

“Connect for Salesforce”, “SFX”, and “Commercient SYNC” will replicate over, at a minimum, the invoices from Xero into Salesforce.

Because a native app lives inside of Salesforce, it can also provide more configuration within Salesforce, and often tighter data mapping than is possible with an API-only application. This comes at a slight cost, in that Native Apps will only connect just two things, in this case, Salesforce and Xero.

This deeper connection means that, for some apps, they will guarantee the accuracy and completeness of your data inside of Salesforce. These are two important concepts. Completeness means that all of your Xero invoices have been replicated back to Salesforce. And accuracy means that the numbers are all correct, or at least were at the time of the last sync (for most native apps, within the hour).

While native apps might replicate the Xero invoice over into Salesforce in a similar manner, many other things will be markedly different. The user interface and onboarding experience can be radically different. Support levels will vary. And not all will guarantee that your Xero invoice data will be replicated over to Salesforce perfectly. Some native apps might require you to use opportunity products, while others might require you to use quotes.

You can also read more about Salesforce and Xero integration alternatives to Breadwinner for Xero.

To find out more about how Breadwinner for Xero works in Salesforce, book a personalized demo with our friendly team.