Skip to main content

Xero

Connect StartProto to Xero, map your accounts and item codes, and push orders, invoices and purchase orders across.

Written by Tyler Williams

Connect StartProto to Xero so sales orders, invoices and purchase orders created in StartProto can be pushed to your books in Xero, without entering them twice.

Before you start

  • You can sign in to Xero with a sign-in that is allowed to connect apps to your organization.

  • You are an Owner in StartProto.

  • Decide what you will push. Either push sales orders (Xero creates its invoice from the order), or create invoices in StartProto and push those. Do not do both for the same order, or the customer is billed twice. For an order that ships in several parts, the usual choice is to push invoices, one for each shipment.

Connect

1. Go to Settings → Business Setup → Integrations and click the blue Connect button on the Xero card.

2. Click the blue Connect to Xero button. You are taken to the Xero website.

3. Sign in, select your organization, and allow access.

4. The Xero Integration page in StartProto opens again. The label beside the title reads Connected.

The Connect to Xero page

Connect to Xero sends you to the Xero website to allow access.

Map your accounts

The Xero Integration page has six tabs. Start with Account Mapping. It tells StartProto which of your Xero accounts to use.

1. Income / Revenue Account: used for the revenue on invoice lines. It must be a Revenue account in Xero.

2. Cost of Goods Sold (COGS) Account: used for cost of goods on invoices. It must be an Expense account.

3. Inventory Asset Account: tracks the value of your stock.

4. Payment Account: used when an invoice payment is recorded. It must have payments enabled in Xero (a bank or clearing account).

5. Scroll to the bottom and click Save Settings.

The Account Mapping tab of the Xero Integration page

Account Mapping. The page shows Disconnected here because this demo shop is not connected to Xero.

Under Xero Sync Visibility, four switches hide the Xero button on pages your shop never pushes from: Hide Sales Order sync, Hide Invoice sync, Hide Bill sync and Hide Purchase Order sync.

Map your item codes

Xero assigns each line of an invoice or purchase order to an item code. On Item Mapping, pick the Xero item code to use for each kind of line. The codes must already exist in your Xero items list.

  • Under Sales Orders (maps to Invoices in Xero): Production Item Code (make items), Purchased Item Code (purchased parts), Misc Charge Item Code (charges such as freight) and Fallback Item Code (any other line). Click Save Settings.

  • Under Purchase Orders: the same four, plus Outside Service Item Code for outside processing lines. Click Save Settings.

  • Under Invoice Number: Use Sales Order number as Xero invoice number. When it is on, a Xero invoice created from a sales order uses the order's number. When it is off, Xero assigns the next number in Xero's own sequence. Leave it off if your tax rules require invoice numbers in an unbroken sequence.

The Item Mapping tab of the Xero Integration page

Item Mapping: one default Xero item code for each kind of line.

Link your customers and vendors

On Contacts, the Customers and Vendors tabs list each StartProto company beside the Xero contact it is linked to.

1. A row that reads New Contact in Xero is not linked. Pushing an order for that company creates a new contact in Xero.

2. To link it to a contact that is already in Xero, click Edit Link on the row and pick the contact. Edit All Customers Links opens every row at once.

The Contacts tab of the Xero Integration page

Contacts: StartProto customers on the left, the Xero contact each is linked to on the right.

Link your existing customers and vendors before the first push. Otherwise Xero has two contacts for the same company.

Push records to Xero

The Sales Orders, Invoices and Purchase Orders tabs each list your records with their state in Xero.

1. Find the record. Not Synced means it is not in Xero yet.

2. Click Push to Xero on its row.

The Sales Orders tab of the Xero Integration page

Sales Orders: each order with its state in Xero and a Push to Xero button.

You can also push from the record itself. A sales order, invoice or purchase order has a Xero status button near the top: Not in Xero, or Synced with Xero. Click it to see the Xero record it is linked to and when it was last synced, and to use Open in Xero and Unlink.

Nothing is pushed automatically. You choose when a record is sent to your books.

If it goes wrong

  • The label beside the title is not Connected. Disconnected, Authorization Error or Organization Revoked mean the sign-in is no longer valid. Connect again. Pending Tenant Selection means you have not selected which Xero organization to use. The small circular arrow beside the label checks the status again.

  • A push fails. Read the message. The usual causes are an account or item code that is not mapped yet, or a contact that was archived in Xero. Fix it, then push again. If the message is unclear, message support with the record number and the full message.

  • A second invoice for the same order will not push. The order was already pushed as a whole. Push invoices or push orders, not both.

  • Dates or the invoice number are not what you expect in Xero. Check the Invoice Number switch on Item Mapping, and the default due date in your Xero settings.

Good to know

  • Paid status is not sent back to StartProto. A payment recorded in Xero does not mark the StartProto invoice paid. To show payments in StartProto's list, record them in StartProto too: see Record a customer payment.

  • Invoice numbers. If invoices are also created directly in Xero, the two sequences no longer match. Create invoices in one place.

  • Freight. Add freight as a charge on the sales order before you push, so it reaches Xero with the order.

  • Test first. Push one invoice for $0 to a made-up customer and check what arrives in Xero before you push real invoices.

  • The invoice your customer receives is the Xero one. StartProto's own invoice is your working copy.

  • Disconnect at the top right ends the connection. Your records in both systems are kept, but a full setup is needed to connect again.

  • Saving an invoice in StartProto pushes nothing. It reaches Xero only when you push it.

Related

Did this answer your question?