The Xero connector sends your orders to Xero as draft sales invoices and your refunds as credit notes. It can also pull invoices, products, and inventory from Xero.
With this connector, you can:
- Push orders to Xero as draft sales invoices.
- Push refunds to Xero as credit notes.
- Pull approved or paid invoices from Xero as orders.
- Pull products and inventory from Xero.
- Create a location in the app for your Xero organisation.
Setup
Before you begin, make sure you have:
- A Xero login with the Standard or Adviser role for the organisation you want to connect.
- One Xero organisation to connect. If your login already has another organisation connected to Pipe17, disconnect it first, or orders may go to the wrong organisation.
- An item in Xero for every SKU you sell, with the Item Code equal to the SKU.
- Pop-up blockers turned off in your browser.
Approve the connection in Xero
- You don’t create any keys in Xero. When you click Connect in the app, Xero opens.
- Sign in to Xero, and on the consent page, choose the one organisation you want to connect.
- Review the access and allow it. Finish within 15 minutes, or the connection times out.
Note: To disconnect later, in Xero, open the organisation menu, go to Settings > Connected apps, and click Disconnect next to Pipe17. If the connection goes unused for 60 days, you need to connect again.
Connect Xero in the app
- Navigate to Integrations and click Add integration.
- Search for Xero and select it. The Connect Xero pop-up opens.
- Click Connect, and approve the connection in Xero.
Note: If you aren’t ready to sign in yet, click Add without credentials. The integration is added but doesn’t sync until you connect it from its Connection Details tab.
Confirm the connection
- Navigate to Integrations. Xero shows Connected. If it shows Error or Not Configured, open it, check the connection on the Connection Details tab, and click Save.
- Make sure the switch on the integration’s row is on.
- Test with one order. On the Settings tab, set Process orders information to Push orders to Xero, add the order ID of a test order to Process orders with specific order IDs, and click Save. The order must be created or updated after Exclude orders created before this date.
- After a few minutes, in Xero, open Sales > Invoices, and find the draft invoice numbered with the order ID. Check the contact, lines, prices, and tax.
- When the test looks right, clear Process orders with specific order IDs and click Save.
Note: Invoices are created as drafts with no payment, so they don’t affect your reports until you approve them in Xero. Shipping charges and order-level discounts aren’t included on the invoice.
Note: To push refunds, turn on Push Pipe17 order refunds to Xero as credit notes and set Exclude refunds processed before this date. Refunds aren’t pushed while it’s empty. Credit notes are approved but not allocated, so allocate them when you reconcile.
Note: To pull orders or inventory from Xero, first turn on Pull locations information from Xero. The app pulls only approved or paid invoices from the last 30 days.
Settings
These settings are on the integration’s Settings tab.
| Setting | Options/Default |
|---|---|
| Pull locations information from Xero | On/Off. Default: Off |
| Process orders information | Disabled, Pull orders from Xero, Push orders to Xero. Default: Disabled |
|
Exclude orders created before this date If specified, only orders created after this date will be ingested or pushed. If this value is left empty, then integration creation date will be used as default. |
Default: $now() |
|
Do not update orders that have already been pushed to Xero When enabled, orders that already exist as invoices in Xero will not be updated on subsequent changes. Cancellations (voiding invoices) will still be processed. |
On/Off. Default: Off |
| Push orders to Xero only for specific order sources, e.g. shopify, walmart etc | Optional |
| When pushing orders to Xero only take orders with specific statuses | Draft, New, On Hold, To be validated, Review required, Ready for fulfillment, Sent to fulfillment, Partial fulfillment, Fulfilled, In Transit, Partially received, Received, Cancelled, Refunded, Archived, Closed |
| Process orders with specific order IDs | Optional |
| Push Pipe17 order refunds to Xero as credit notes | On/Off. Default: Off |
|
Push refunds only for specific order IDs If set, only refunds on these orders (extOrderId) are pushed to Xero. Useful to try credit notes on a few orders first, since a posted credit note is never changed. |
Optional |
|
Exclude refunds processed before this date Refunds processed before this date are never pushed to Xero, even if the order changes later. Refunds are not pushed at all while this is empty. |
Default: $now() |
| Pull product catalog information from Xero | On/Off. Default: Off |
| Pull only products with specific SKUs | Optional |
| Force products catalog resync | On/Off. Default: Off |
| Pull inventory information from Xero | On/Off. Default: Off |
| Process inventory information only for products with specific SKUs | Optional |
| Force inventory resync | On/Off. Default: Off |
Troubleshooting
- The integration fails with “Authorization timed out”
The Xero sign-in wasn’t finished within 15 minutes. Click Connect again and finish straight away. - The integration fails with “Xero tenant not found”
No organisation was chosen. Click Connect again, and select an organisation on the Xero consent page. - The integration stops with “invalid_token” or “invalid_refresh_token”
The Xero access expired or was removed. Click Connect and approve again. - Invoices appear in the wrong Xero organisation
Disconnect Pipe17 from all other organisations in Xero (Settings > Connected apps), and then connect again. - An order fails with a message about an item code
Create the item in Xero with the Item Code equal to the SKU, and then update the order to send it again. - A refund fails because the Xero invoice is missing
Push the order to Xero first so the invoice exists, and then update the order.
Need Help?
If you need additional assistance:
- Use Ask Pippen, our AI agent, located at the top of the platform page.
- Submit a support request with as much relevant detail as possible. Learn how to submit a request.
We’re here to help you succeed with your operations.
Comments
0 comments