Help Center

ScaleXP Invoicing: How to sync HubSpot data to Xero

Besides line items and invoices, you can send other HubSpot deal data to Xero with ScaleXP Invoicing, each option with its own trade-offs. Use Option 1 to give your finance team background on a deal, Option 2 to show a purchase order or reference number on the invoice, Option 3 for reporting in Xero, and Option 4 to show the customer more detail.


The most common use case is giving the finance team more background about a deal. If you are happy to give your team access to HubSpot, this is the simplest option.

  1. Open an invoice in Xero that was generated by ScaleXP Invoicing.
  2. Click the Go to HubSpot Invoice Sync by ScaleXP link at the bottom of the invoice. It takes you straight to the deal inside HubSpot.

If you are using more advanced data tools, you can also extract the HubSpot deal ID from this field (it is the invoice's Url field in the Xero API).


Option 2: Use the reference field

The reference field in Xero is a free-text field, and its contents are shown on the invoice when it is sent to a customer. It is commonly used for a purchase order number or reference number. This is usually the first option to consider because it is easy to set up.

  1. Inside ScaleXP Invoicing, customize how the reference field is generated each time you create an invoice from a deal, using one or more HubSpot deal properties. For example, if you had a HubSpot field called PO and also wanted to include the salesperson, ScaleXP Invoicing can be configured to fill the reference field as "PO1234 / Deal Owner". You can use whatever delimiters you like (the characters between each value). See Set invoice fields.
  2. If you need something more complex, such as a generated reference code, create it as a field in HubSpot first and then use that field as the default reference field.

There are some limitations to this approach: it gets cumbersome if you have lots of different pieces of data, and the data is visible to your customer.


Option 3: Use tracking categories

For reporting, tracking categories can be really powerful, as you can build reports inside Xero using this data. For example, you might want to track the region or team that generated the revenue.

  1. Inside Xero, create up to two tracking categories, each with up to 100 options.
  2. In ScaleXP Invoicing, set tracking categories across the whole deal, or configure ScaleXP Invoicing to auto-fill the tracking category based on HubSpot deal properties.

Option 4: Add extra line items

Because Xero does not support custom fields in the same way as HubSpot, there are not many other options for sending more data. If you would like the customer to see more detail on an invoice, this is the fallback.

  1. Add additional line items with further descriptions.

The ScaleXP Invoicing team can help you get these auto-filled if that is a route you would like to explore, so just get in touch.


When you might sync extra data

There are many reasons you might need to send additional data fields from HubSpot to Xero. The most common are so that the finance team can identify the details of a deal, to display purchase order or confirmation numbers on the invoice, and to send additional data for reporting purposes.

All of these are possible. However, Xero does not support custom fields in the same way that HubSpot does, so the approach you take depends on what you need. The options above cover each route.