Add your Xero invoice link to Shopify orders

By default, Post to Xero writes nothing to your Shopify orders. If you'd like each order to carry a link to its Xero invoice, we can switch that on for your store. Anyone with the link can open the invoice in a browser without logging in to Xero.



How it Works

Once it's on, orders that post to Xero get a link added to them in Shopify. The link is stored in an order metafield named hyve_xero.invoice_url (it shows in Shopify as Hyve Xero invoice URL). It's an ordinary Shopify metafield, so anything in Shopify that can read order metafields, such as Shopify Flow or an app, can use it. For example, you can build a Shopify Flow that sends your customer their invoice link. You set that up in Shopify; Post to Xero doesn't send the link itself. We haven't tested particular workflows with it, so try yours on a test order first.


Nothing changes in Xero, and nothing else is added to the order.



What to Know First

  • Draft invoices get a link too. If an order posts to Xero as a draft, the link opens that draft with a "DRAFT" banner. A customer who has the link can see it before you approve the invoice.
  • Orders posted before we switch it on don't get a link unless they post to Xero again. We'd leave those as they are. Re-posting a paid order just to add a link rebuilds its payment in Xero, which isn't worth the risk.
  • Orders included in a summarised invoice don't get a link, because that invoice holds other customers' orders too.


How to Request Setup

  1. In the Post to Xero app, open Setup - Advanced and find Optional permissions.
  2. Under Xero invoice link on orders, click Allow. Shopify asks for permission to edit orders, and the store owner, or a staff member who can manage apps, needs to approve it.
  3. Email us at help@hyvelabs.co with your shop URL and tell us you've allowed it. We'll switch the link on.

The link starts appearing on orders that post to Xero after that.



How to Turn it Off

Email us at help@hyvelabs.co and we'll switch it off. Links already on your orders stay there.


If a link doesn't appear on an order that has posted, send us your shop URL, the order number and what you see on the order, and we'll take a look.

Still need help? Contact Us Contact Us