Skip to main content

Show invoices in Xero

The following examples expect that you have made an integration with Xero already which stores the Xero customer ID in a Pipedrive Organization field, and the Xero invoice ID in a Pipedrive Deal field once an invoice has been created. Read more about how to work with Xero in these Make.com and Zapier help guides.

Show Organization invoice activity

In this example we'll open a customer's invoice activity view in Xero based on the customer's Xero ID in the OneClick Link button dynamic URL.

For this the customer's Xero ID has been stored in a Pipedrive field called "Xero ID":

image.png

Get a Xero sample URL

Next we need an example Xero URL for the invoice activity view so we can build our dynamic URL.

Open Xero and head to Contacts -> Customers. Select a sample customer and the invoice activity view opens. Copy the URL from your browser's address bar:

oc-xero-inv-activity.gif

You will get a long URL like this:

https://go.xero.com/app/!wz58Q/contacts/contact/d79ce333-a1a4-41fa-996e-5c09e9032f3d/activity/accounting-documents?pageNumber=1&pageSize=25&searchTerm=&sortByDirection=DESC&sortByField=InvoiceDate&startDate=&endDate=&includeDeletedAndVoid=false

We don't actually need anything after activity/ so please delete the rest and you will end up with shorter URL like this:

https://go.xero.com/app/!wz58Q/contacts/contact/d79ce333-a1a4-41fa-996e-5c09e9032f3d/activity/

The part we are interested in is the customer ID between contact/ and /activity, as an example "d79ce333-a1a4-41fa-996e-5c09e9032f3d"

xyz

xyz

Show Deal specific invoice

In this example we'll open a Deal specific invoice in Xero based on the Xero invoice ID in the OneClick Link button dynamic URL.

For this the Xero invoice ID has been stored in a Pipedrive field called "Xero invoice ID":

image.png

Get a Xero sample URL

Next we need an example Xero URL for an invoice view so we can build our dynamic URL.

Open Xero and head to Business -> Invoices. Select a sample invoice and the invoice view opens. Copy the URL from your browser's address bar:

oc-xero-invoice.gif

You will get a URL like this:

https://go.xero.com/app/!wz58Q/invoicing/edit/93be895a-7e0e-4fb9-8325-79b81a9182cc

The part we're interested in is the invoice ID after edit/, as an example "93be895a-7e0e-4fb9-8325-79b81a9182cc"

xyz

xyz