Guide
Connect Xero
When a quote is won, ModuleX creates a draft sales invoice in Xero with the contact, items, prices, discounts, currency and due date from the quote. Your team checks and approves it in Xero, and payment status comes back. An Owner or Admin connects it in a few minutes.
Open Integrations settingsUpdated · 4 min read
Who can connect Xero
- Your ModuleX workspace is on the Business or Enterprise plan. Other plans don't show the Xero row.
- You have the Owner or Admin role in the workspace. An IT admin can open the page and see the status, but can't connect, change settings or disconnect.
- In Xero, you sign in as a user with the Adviser or Standard role in the organisation you invoice from.
Connect Xero
- Open the page: sign in and go to “Settings” → “Integrations”. Xero is under “Billing & accounting”.
- Open the row: select Xero to open it. The “Setup guide” lists what you need and the permissions.
- Sign in to Xero: press “Connect”, sign in, pick one organisation and allow access. If you pick several, the first one is used.
- Check the result: you're back in Integrations, a message says Xero is connected, and the row shows your organisation's name.
Turn on draft invoices for won quotes
Payment status (paid, open or past due) is read back every 6 hours and shows in Company settings → “Customer invoices” and on the quote. Xero records payments only on approved invoices, so a draft stays unpaid until you approve it.
- Switch it on: tick “Create draft invoice when a quote is won”. It's off until you tick it.
- Choose what happens to new items: leave “Create a service item when none matches the SKU” ticked to add missing items, or untick it to put those lines on the invoice without an item.
- Save: press “Save”.
- Test it: mark a quote as won. Within about 5 minutes a draft invoice is in Xero and in the row's “Invoices” list. Check it, choose the accounts and approve it in Xero.
Bring Xero contacts and items into your catalog
Once connected, the Sync from Xero panel in the row reads your active Xero contacts and items. You see every new and changed record before anything is saved, and you can undo the import. Up to 5,000 records are read at a time. Syncing items needs someone with access to costs and floors.
What syncs, and in which direction
Each quote creates one invoice, even when a hand-off is retried. Nothing is sent to your customer from Xero until your team does it.
Won quote
- Direction
- To Xero
- Xero
- Sales invoice with Draft status, with a link back to the quote
- When
- Within about 5 minutes of the win
Customer
- Direction
- To Xero
- Xero
- Contact, matched by email, then exact name, or added
- When
- With the invoice
Quote lines
- Direction
- To Xero
- Xero
- Items matched by code = SKU; added if you allow it
- When
- With the invoice
Payment status
- Direction
- From Xero
- Xero
- Paid, voided or deleted, total, amount due and due date
- When
- Every 6 hours
Customers and catalog items
- Direction
- From Xero
- Xero
- Active contacts and items
- When
- Only when you press Sync and apply
Permissions Xero asks you to approve
accounting.contacts
- Why
- Find or add the customer as a contact.
accounting.transactions
- Why
- Create the draft invoice and read whether it's paid.
accounting.settings
- Why
- Find or add items by code, so lines match your SKUs.
offline_access
- Why
- Stay connected without asking you to sign in again.
openid, profile, email
- Why
- Your name and email from the Xero sign-in.
Disconnect
- Disconnect in the app: in “Settings” → “Integrations” → Xero, press “Disconnect” and confirm. Access is revoked at Xero, the stored sign-in is deleted and invoices still waiting are cancelled.
- Or disconnect from Xero: in Xero, open Settings → Connected apps and disconnect the app. The row then shows “Needs attention” at the next sync.
- Keep your records: drafts already in Xero stay there, and quotes stay in the app.
Fix a connection or an invoice that failed
Failed invoices are retried for 7 days. An Owner or Admin can press “Retry” in the “Invoices” list or on the quote.
The row shows “Needs attention” and asks you to reconnect
- What to do
- The Xero sign-in expired, was revoked or the company disconnected the app. Press “Reconnect” and sign in again.
“Only company owners and admins can connect accounting.”
- What to do
- Ask an Owner or Admin of the workspace to connect it.
“Another accounting system is connected. Disconnect it first.”
- What to do
- One accounting system at a time: disconnect the other one in its row, then connect this one.
“The sign-in expired or came from another browser. Try again.”
- What to do
- Finish the sign-in within 10 minutes in the same browser, then press “Connect” again.
The sign-in expired after a long break
- What to do
- Xero sign-ins expire after 60 days without use. Press “Reconnect”.
Lines arrive without an item
- What to do
- The item code doesn't match the SKU and adding items is off, or the connection is older than item matching. Tick “Create a service item when none matches the SKU”, or press “Reconnect” to approve accounting.settings.
An invoice shows as created but never paid
- What to do
- Approve the draft in Xero; Xero records payments only on approved invoices.
What data is shared with Xero
Only won quotes are sent, and only after an Owner or Admin connects and ticks “Create draft invoice when a quote is won”. ModuleX sends the customer's name and email, the lines, prices, discounts, tax, currency, dates, the quote number and a link back to the quote. It reads contacts, items, your organisation's name and the status of invoices it created. It never approves invoices or records payments. The sign-in is stored encrypted and used only by the server.
Questions: email support@cpqmodulex.com.
Questions
- Why is the invoice a draft?
- So your team checks it, picks the accounts and approves it in Xero before it's sent.
- Can I connect Xero and QuickBooks at the same time?
- No. One accounting system is connected at a time. Disconnect one before connecting the other.
- Which organisation is used if I pick several?
- The first one. Pick only the organisation you invoice from.