Xero Bills Connector for Business Central

Bring approved supplier bills from Xero into Microsoft Dynamics 365 Business Central as purchase invoices, for one company or many, through a single Xero connection.

How bills move from Xero to your companies
Xero
Approved, tagged bills
Connected company
The only Xero connection
Shared bill list
Each bill once, with its status
Company A
posts its bills
Company B
posts its bills
Company C
posts its bills

One company talks to Xero. Every company posts only its own bills.

Overview

Read-only from Xero, ready to post in Business Central

The connector reads approved bills, supplier contacts and tax rates from your Xero organisation and turns the bills into purchase invoices in Business Central. It only reads from Xero; it never changes anything there.

If several legal entities share one Xero organisation, each bill is tagged in Xero with a tracking option that says which company it belongs to. The connector uses that tag to send each bill to the right Business Central company.

What it does
  • ✓Downloads approved bills with their lines, supplier contacts and tax rates on a schedule you choose.
  • ✓Routes each bill to the right company and keeps bills with no company tag visible for review instead of dropping them.
  • ✓Creates missing vendors from Xero contacts, using your vendor templates.
  • ✓Creates purchase invoices and, if you choose, posts them straight away.
  • ✓Checks VAT and totals against Xero before posting, so a wrong tax mapping is caught before it reaches the ledger.
  • ✓Shows every bill's status in one list, with the reason for any error and a link back to the bill in Xero.
Role 1

Connected company

Holds the only Xero connection. Downloads bills, contacts and tax rates into a list every company can see, and decides which company each bill belongs to.

Role 2

Processing company

Picks up its own bills from that list, creates vendors and purchase invoices, and records the result. It never connects to Xero.

With only one company, it simply takes both roles.

Setup

Set up the connector, step by step

Check the prerequisites, connect one company to Xero, then set up each company that receives bills.

  • ✓Business Central: Business Central online, Essentials or Premium. All companies that receive Xero bills must be in the same environment.
  • ✓Xero access: a Xero user who can approve app connections for your organisation.
  • ✓Business Central permissions: the Xero Integration – Admin permission set for whoever sets up the connection, and Xero Integration – Processor for finance users and the job queue user in each company.
  • ✓Company tags in Xero: if you have more than one company, a tracking category (for example “Company Code”) filled in on every bill line.
  • ✓Chart of accounts: Xero account codes that exist as G/L account numbers in each company, or a translation table (see field mappings).
  • ✓VAT setup: VAT posting groups and VAT posting setup in each company for the tax rates you use in Xero.
Day to day

Process bills

Open Xero Bills. In a processing company you see only that company's bills; in the connected company you see all of them.

  • ✓Process All Ready processes every waiting bill now, the same as the scheduled job.
  • ✓Process Selected processes only the bills you mark.
  • ✓Open Purchase Invoice opens the Business Central document created from a bill.
  • ✓Open in Xero opens the original bill in your browser.

Each bill is processed on its own. If one fails, nothing is left half-created and the rest carry on.

What each status means

StatusMeaningWhat to do
ReadyWaiting for its company's next runNothing
CreatedPurchase invoice created, not posted, because automatic posting is offReview the invoice and post it
PostedPosted in Business CentralNothing
UnmappedThe bill has no company tag, or its tag isn't in the company mappingFix the tag in Xero, or add it to Xero Company Code Mapping, then choose Reprocess
ErrorProcessing stopped; the reason is shown on the billSee Troubleshooting, fix the cause, then process the bill again
SkippedVoided or deleted in Xero before it was postedNothing
Bills changed in Xero after posting are flagged, not changed. Business Central never edits a posted invoice. If the change matters, correct it with a credit memo.
Troubleshooting

Fix common errors

Most problems come from the connection to Xero or from mappings. Find the message you see and follow the fix.

Connecting to Xero
MessageCauseFix
invalid_scopeAn old or misspelled scope is in the Scope fieldUse only the four scopes in step 3, then authorise again
unauthorized_clientWrong Client ID, wrong app type, or redirect URI doesn't matchMake sure the Xero app is a Web app and the redirect URI matches character for character
invalid_grantThe authorisation code expired or was already usedRun Authorize App again and get the token immediately
401 UnauthorizedThe access token expired and wasn't renewedCheck the Refresh Access Token job is running; if it stopped for more than a few weeks, authorise again
429 Too Many RequestsXero's API limit was reachedNo action needed; the next scheduled run carries on
No bills arriveWrong status filter or date window, or the connection is turned offCheck Invoice Status, the day limits and Enabled in Xero Setup, and the Integration Logs
Processing bills
Error on the billFix
Tax type is not mappedFill in the new row in the TAX value map
Tax rate differs from Business CentralCorrect the mapping or the VAT posting setup
Totals differ from XeroCompare with the bill in Xero; check whether it's tax-inclusive, has discounts, or uses the wrong tax mapping
G/L account does not existCreate the account, or add the Xero code to the G/L account translation table
Posting date is not within your allowed rangeOpen the period or adjust allowed posting dates for the job queue user
Vendor Invoice No. must have a valueAdd a bill number in Xero; the bill is refreshed on the next pull
Mixed company codesThe bill's lines are tagged for more than one company; correct the tags in Xero
FAQ

Frequently asked questions

Need help setting up the connector, or stuck on an error? Our Business Central consultants can help. Help for all TSL Labs apps is in the Help Center.

Send an enquiry
Terms of use

Your use of the Xero Bills Connector is governed by the TSL Labs Software Terms of Use, which cover the license, fees, your responsibilities for postings and tax mappings, warranty and limitation of liability. How the connector handles data is described in the TSL Labs Software Privacy Policy.

Xero is a trademark of Xero Limited. Microsoft and Dynamics 365 Business Central are trademarks of the Microsoft group of companies.

Does the connector change anything in Xero?

No. It uses read-only access and never creates, edits or approves anything in Xero.

Which Xero bills are imported?

Supplier bills (Accounts Payable) in the status you choose in Xero Setup, usually Authorised. Sales invoices are not imported.

Can a bill be posted twice?

No. Each bill is stored once using its Xero ID, and the connector checks for an existing posted invoice with the same ID before creating a new one.

Can our companies see each other's bills?

Processing pages show only the user's own company. Assign the Xero Integration – Admin and Viewer permission sets only to people who should see all companies.

We have one company. Do we still need company tags?

No. With one company it takes both roles, and every bill is processed there.

What happens if the Xero connection stops?

No new bills arrive, but nothing already imported is affected. The job sends an email alert, and you fix it once, in the connected company.

Where are the details of each Xero call?

In Integration Logs, with the address called, the result and Xero's response. Entries older than the retention period are removed automatically.

Next step

Tell us where things stand. We'll tell you honestly what it takes from here.

Whether it's a new implementation, a stalled project, or a support relationship that isn't working, the first call is free and with someone who'd actually work on it.

Email
Phone
Office
8299 129 St, Unit 110, Surrey, BC V3W 0A6
Prefer to talk?

Tell us about your project

Share your goals and the right consultant will get back to you.

What can we help with?