Xero Integration
Connect to Xero to sync contacts, invoices, and keep your accounting up to date.
On This Page
Connecting to Xero
Connect your Xero account to BuildLedger with a few clicks. The integration uses OAuth2 for secure authentication – we never see your Xero password.
- Go to Settings → Integrations
- Click Connect to Xero
- Log in to Xero (if not already logged in)
- Select the organization to connect
- Authorize BuildLedger access
- You'll be redirected back to BuildLedger
Permissions: BuildLedger requests read/write access to contacts, invoices, and chart of accounts. We don't access your bank feeds or payroll data.
Syncing Contacts
Import your clients and suppliers from Xero, or push new contacts from BuildLedger to Xero.
Import from Xero
- Go to Settings → Integrations → Xero
- Click Import Contacts
- Select contact types to import (Customers, Suppliers, or both)
- Review the contacts to be imported
- Click Import Selected
Push to Xero
When you create a new client or vendor in BuildLedger, you can optionally push them to Xero. Check the "Create in Xero" option when saving the contact.
Exporting Invoices
Send client invoices from BuildLedger to Xero automatically. The invoice is created in Xero with all line items and linked to the correct contact.
Automatic Export
Enable automatic export to push invoices to Xero as soon as they're sent:
- Go to Settings → Integrations → Xero
- Toggle Auto-export invoices ON
- Select default revenue account
- Save settings
Manual Export
You can also export invoices manually:
- Open the client invoice
- Click Export to Xero
- Review the mapping
- Confirm the export
| Line Item | Amount | Xero Account |
|---|---|---|
| Progress Claim #2 | $45,000.00 | 200 - Sales |
| Variation - Extra Power Points | $1,200.00 | 200 - Sales |
Chart of Accounts Mapping
Map BuildLedger categories to your Xero chart of accounts for accurate financial reporting.
Configure account mapping in Settings → Integrations → Xero → Account Mapping.
Tracking Categories
BuildLedger can use Xero Tracking Categories to organize transactions by project. This gives you project-level profitability reports in Xero.
- In Xero, create a Tracking Category called "Projects" (or similar)
- In BuildLedger, go to Settings → Integrations → Xero
- Enable Use Tracking Categories
- Select the Tracking Category to use
- BuildLedger will create tracking options for each project
Note: Xero allows a maximum of 100 tracking options per category. If you have more than 100 projects, consider archiving completed projects.
Troubleshooting
Connection Expired
Xero connections expire after 60 days of inactivity. If you see a "Connection expired" message:
- Go to Settings → Integrations
- Click Reconnect to Xero
- Authorize the connection again
Contact Not Found
If an invoice fails to export because the contact doesn't exist in Xero:
- Open the client in BuildLedger
- Click Push to Xero to create the contact
- Try exporting the invoice again
Duplicate Invoice
BuildLedger tracks which invoices have been exported to prevent duplicates. If you see a duplicate:
- Delete the duplicate in Xero
- In BuildLedger, click Re-sync with Xero