Skip to content
Dsposal
PaperworkPaperworkAdvanced

Connect Xero

Connect Paperwork to Xero, map your nominal codes and tax rates, authorise invoices into Xero, and fix invoices that fail to sync

9 min readUpdated 2026-10-31xeroaccounting

Once Xero is connected, Xero is the home of your invoices. Authorising an invoice or credit note in Paperwork always creates it in Xero, Xero gives it its number, and invoices are marked as paid in Paperwork when Xero shows them paid. For that to work, Paperwork has to know which Xero account and tax type each of your nominal codes and tax rates corresponds to. That is the mappings step, and it is where most problems come from.

Only organisation Owners can connect, disconnect and map. Open Settings under Admin in the sidebar and click Integrations.

Connect to Xero

Click Connect to Xero

On the Xero card, click Connect to Xero. Your browser goes to Xero to sign in and approve access.

Choose the Xero organisation

If your Xero login covers more than one organisation, Paperwork asks Which Xero organisation? Pick the one this workspace invoices from and click Use this organisation. With only one, it connects straight away.

Check the card

You will see Xero connected. The card shows a Connected badge, the Xero organisation's name, and who connected it and when.

If Xero is not set up on the server you are using, the card says "Xero is not available on this server yet." and Connect to Xero is greyed out. Email [email protected].

If the sign-in does not complete, Paperwork shows one of these on return:

  • "Xero sign-in was cancelled or denied. Nothing was connected."
  • "That Xero sign-in link had expired. Please connect again."
  • "Xero rejected the sign-in. Please try again."
  • "Your Xero login has no organisations to connect."

If the card shows Expired, Xero has withdrawn access ("Xero disconnected us. Reconnect to resume syncing invoices."). Click Reconnect.

Map your nominal codes and tax rates

The Xero mappings section has a badge at the top right. It reads N unmapped — the number of active nominal codes and tax rates that have no Xero equivalent — or All mapped. Archived rows are not counted.

Set the two defaults

Under Defaults, choose a Default sales account and a Tax type for zero-VAT lines. They are used when an invoice line has no nominal code or no tax rate. Without a default sales account, a line with no nominal code fails. Without a zero-VAT tax type, a line with no tax rate fails.

Map nominal codes to Xero accounts

In Nominal codes → Xero accounts, each row shows your Code and Name. Choose the matching account in Xero account.

Map tax rates to Xero tax types

In Tax rates → Xero tax types, each row shows your Rate and Name. Choose the matching tax type in Xero tax type.

Click Save mappings

You will see Xero mappings saved. The button is greyed out until you change something.

Paperwork pre-fills what it is confident about and marks it Suggested: a Xero account with the same code as your nominal code, a Xero tax type if exactly one has the same percentage as your tax rate, and ZERORATEDOUTPUT for zero-VAT lines. A suggestion is only a pre-fill. Nothing is stored until you click Save mappings.

If you add accounts or tax types in Xero afterwards, click Refresh from Xero to load them. It does not discard anything you have not saved.

Authorise an invoice into Xero

With Xero connected, Authorise always sends the invoice or credit note to Xero. There is no tick box. The dialog says "Authorising sends this invoice to Xero." The same is stated on the Xero card in Settings.

The dialog offers two ways to get the document into Xero:

What stops you authorising

Paperwork checks that Xero can take the document when you open the dialog, and lists anything outstanding. Authorise stays greyed out until the list is clear:

  • Xero is not connected properly. If the card shows Expired, click Reconnect in Integrations settings.
  • The customer is not linked to a Xero contact. Paperwork tries to match one automatically by account number, then by an exact name. If it cannot, click Link customer to choose or create one. The dialog stays open and checks again.
  • A nominal code or tax rate is not mapped, or a default is missing. The list names each one and links to the mappings. A line with no nominal code uses your default sales account.

Authorising locks the invoice's lines, so clear these first.

One invoice number: Xero's

Paperwork does not give a connected invoice a number of its own. Until Xero numbers it, the invoice keeps its draft reference (such as DRAFT-0012) and shows an Awaiting Xero number badge. When Xero's number arrives, it becomes the invoice number everywhere: the invoice, the PDF, the list, search, emails and the customer portal. Credit notes work the same way.

Invoices and credit notes you authorised before Xero was connected, or before this change, keep their Paperwork numbers.

What goes to Xero

  • Reference. Xero's Reference holds the customer's purchase order number or numbers from the invoice lines (several are separated by commas). It is blank if there are none. A credit note's Reference is the number of the invoice it corrects.
  • Go to Paperwork. Each invoice created in Xero has a link back to the invoice in Paperwork. In Xero it appears as Go to Paperwork.

What customers receive

Customers always get Paperwork's own PDF, showing Xero's invoice number. If Xero has an online payment link for the invoice, the Payment details block on the PDF shows Pay online with the link and a QR code. Credit notes have no payment link. While an invoice is awaiting its number, the PDF you preview says "Xero number pending".

To put the same payment link in an invoice email, add {{OnlineInvoiceUrl}} to your template under Finance settings. It is left blank when there is no link.

If Xero's number is already used

Occasionally Xero numbers an invoice with a number Paperwork already holds on an older invoice, because both use the same prefix. The new invoice stays unnumbered and shows in Needs attention as Xero number clashes. Nothing is sent to the customer.

Change the number in Xero

Open the invoice in Xero and give it a number that is not used in Paperwork.

Click Check number

Back on the invoice in Paperwork, on the Accounting card, click Check number. Paperwork reads the number from Xero and uses it. If it still clashes, the card says so.

Link customer in the authorise dialog, and Choose Xero contact on a stuck invoice, open Link (customer name) to a Xero contact. Under Suggested you will see contacts with a matching account number (Account number match) or the same name (Same name). Click the link button next to the right one.

If the contact is not suggested, type at least 2 characters into Search Xero contacts. If it does not exist in Xero yet, click Create (customer name) in Xero, which builds a contact from the customer's billing details. A contact you create gets the details Paperwork holds today, so check the customer's address first.

If you raised the invoice or credit note by hand in Xero, link it instead of sending a duplicate. In the authorise dialog choose It's already in Xero, link it, then pick the document. On an authorised invoice that is not in Xero yet, the Accounting card offers Link existing Xero invoice instead.

The Xero document has to meet all of these, or Paperwork says why it cannot be linked:

  • It is on this customer's Xero contact.
  • It is approved in Xero (Authorised or Paid), not a draft.
  • It is not already linked to another Paperwork invoice.
  • Its total is the same as the Paperwork invoice. Paperwork shows both totals if they differ.

Linking uses Xero's number and sends nothing to Xero. If an invoice was fully credited in Xero by hand, link the credit note that is already in Xero when you raise the Paperwork one, so the customer is not credited twice.

Find invoices that need attention

On the invoicing list, the Needs attention filter shows invoices where someone has to act. As well as Needs a Xero contact, Xero sync failed, Voided in Xero and Credited in Xero, it now shows:

  • Not in Xero: an authorised invoice that never reached Xero. Open it and click Retry, or link an invoice that is already in Xero.
  • Xero number clashes: see If Xero's number is already used.

Fix an invoice that did not sync

On the invoice, the Accounting card shows a status:

StatusMeaning
Sending to XeroBeing sent now. The invoice shows Awaiting Xero number until Xero numbers it
In XeroDone. It shows the Xero number and an Open in Xero link
Needs a Xero contactThe customer is not linked yet. Click Choose Xero contact
Xero sync failedSee the red message under the status, then click Retry

The authorise dialog normally catches these first. If a mapping changes after an invoice is authorised, or Xero is unavailable, a failed invoice tells you exactly what is missing, in one of these four messages:

  • "No Xero account is mapped for nominal code" followed by the code
  • "No Xero tax type is mapped for tax rate" followed by the code
  • "No default sales account is set for lines without a nominal code."
  • "No Xero tax type is set for zero-VAT lines."

Fix the mapping or the default, click Save mappings, go back to the invoice and click Retry. You will see Sending to Xero again. Linking a contact retries it for you.

Disconnect Xero

On the card, click Disconnect and confirm Disconnect Xero. New invoices stop syncing. Invoices already in Xero keep their links and their Xero numbers, your mappings are kept, and you can reconnect at any time.

Invoices that were still waiting for a Xero number when you disconnected take Paperwork's next number when they are sent. If your Xero organisation uses the same prefix as Paperwork, change your invoice prefix (and credit note prefix) under Finance settings before you disconnect, so the numbers cannot clash.

What to do next

Keep moving

Next steps

Explore further

Related Guides