Skip to main content
All topics 47

Accounting

Xero integration

Invoices out · Payments back

Connect Beagle to Xero to send your invoices and credit notes to your Xero ledger, and to bring payments recorded in Xero back to the Beagle invoice. Beagle stays the place you do the work; Xero stays the accounts.

Connect Xero

  1. Open Organisation Settings and choose the Connected apps card.
  2. In the Xero panel, click Connect Xero and sign in to Xero to approve access.
  3. If your Xero login has more than one organisation, choose the one to sync with and click Use this one.
  4. Set the mapping, described next. Nothing syncs until it is saved.

Only an Admin can connect Xero, change the mapping or disconnect. One Xero organisation can be connected to one Beagle organisation at a time.

Set the mapping

Xero needs an account code on every line, and a tax code rather than a rate. In the Mapping section of the Xero panel:

  • Choose the Default revenue account that invoice lines are posted to.
  • Under VAT treatment to Xero tax rate, choose the Xero tax rate for each VAT treatment you use in Beagle.
  • Click Save mappings.

The panel reads Ready to sync when everything needed is set. If the lists are empty, or you have added an account or tax rate in Xero since connecting, click Refresh from Xero.

What is sent to Xero

  • Invoices are sent automatically when they are sent to the customer. Drafts are never sent.
  • Credit notes are sent automatically when they are issued.
  • Customers are sent as Xero contacts when their first document goes across. Beagle uses an existing Xero contact only when the email or the name matches exactly; otherwise it creates one.

The Beagle invoice number becomes the Xero invoice number, so the two can be matched by eye. Only documents issued after you connect are sent automatically. Cancelled, voided and written-off documents are not sent.

Payments come back from Xero

Beagle does not send payments to Xero. Once an hour it reads the payments recorded in Xero against invoices it has sent, and adds any it does not already have to the Beagle invoice.

It only ever adds payments. It never edits or deletes a payment in Beagle. If a payment would take an invoice past what is owed, or the invoice has been voided or deleted in Xero, Beagle does not apply it and marks the invoice Needs review for a person to decide.

The Xero badge

Once Xero is connected, each invoice and credit note shows a Xero badge, and the invoice and credit note lists gain a Xero column.

  • Synced — it is in Xero. Open in Xero takes you to it.
  • Queued — waiting to be sent.
  • Not synced — not sent yet.
  • Failed — Xero refused it; the reason is shown beneath the badge.
  • Needs setup — the mapping is incomplete.
  • Needs review — a payment could not be applied safely.
  • Not sent — the document was voided, cancelled or written off before it reached Xero.
  • Reconnect required — see below.

Send or retry by hand

On an invoice or credit note, Admins and Agents can click Send to Xero to send it now, for example one issued before you connected. After a failure the button reads Retry sync: fix what the message names, then click it.

Sending twice is safe. Beagle remembers what it has already sent, so a retry does not create a second invoice in Xero. If Xero already holds a different invoice with the same number, the sync fails and is not retried automatically.

Reconnect or disconnect

If the panel's status reads Reconnect required, Xero has rejected the stored access and syncing is paused. An Admin clicks Reconnect and approves access again; nothing already sent is lost.

Disconnect revokes Beagle's access at Xero immediately. Documents already in Xero stay there. If Xero cannot be reached to revoke access, nothing is disconnected and you are asked to try again.