I know this isn't a great solution, but it's been a nice workaround while waiting for the API enpoints to get built. If you go to the invoices page and export all invoices, you could paste into something like a Google Sheet and use Zapier's new/updated row trigger. Then, you can use looping to go through all new/updated rows. This is a solution I set up to sync invoices from HubSpot to Xero. Right now, the marketplace integration only goes from Xero to HubSpot.
If anyone is interested in learning more about the HubSpot to Xero zap I mentioned, just send me an email: ryan@whimpact.co
I haven't set this up but there's also the ability to trigger a workflow in HubSpot from invoice properties such as Status = "Paid". This might solve some use cases for people too.
Any updates on this? We have a client working on an integration project who would benefit greatly from the ability to create & update invoices via the API (right now it is read only).
Hey @kristinaP👋 I found a Private Beta for creating invoices via the API. It may be available in either your portal or your customer's portal. Because it is a Private Beta, portals will need to request access and then be approved by the owning product team:
Hey! Thanks! Great to hear that! 😎What I need is to pull the invoices from an ERP and transfer them over to Hubspot and it seems to cover this scenario. I will see if this beta object can handle this part. Thank you for looking into it! I've requested access and I will see how it goes.
Our problem is to get data from invoices, not to create them: that API library will not help 😞
There’s still not a solution at the moment since, as i discovered during these months, invoices are not a fully functional object in HubSpot (so they are limited in functions)
Invoicing is such a fundamental function and a prime need for integrations. The API should totally include access to the invoice object, which already exists.
Something I don't understand is why they would allow line items to be created via the API but not invoices. Totally inconsistent on Hubspot's part.
If anyone does find a fix for this, would be much appreciated; doing an integration myself right now. I can create line items without a problem, but linking them to a parent invoice does not seem like an option via the api. Any help would be appreciated.
I know this isn't a great solution, but it's been a nice workaround while waiting for the API enpoints to get built. If you go to the invoices page and export all invoices, you could paste into something like a Google Sheet and use Zapier's new/updated row trigger. Then, you can use looping to go through all new/updated rows. This is a solution I set up to sync invoices from HubSpot to Xero. Right now, the marketplace integration only goes from Xero to HubSpot.
If anyone is interested in learning more about the HubSpot to Xero zap I mentioned, just send me an email: ryan@whimpact.co
I haven't set this up but there's also the ability to trigger a workflow in HubSpot from invoice properties such as Status = "Paid". This might solve some use cases for people too.
Hi @hershyH, nice to meet you. HubSpot support suggested us to do it via CRM cards but it seems it doesn't work. I'm in contact with them and will update you here!
I must clarify one point regarding my scenario. The invoices in my HubSpot account come from an integration with QuickBooks (QBO). This integration also uses HubSpot's "CRM Card" functionality to work.
Keeping this in mind, I just received this reply from the support:
"There currently is no functionality available to get invoices through our API directly. The reason is the CRM Card invoice function uses a third-party's API and webhooks to pull the data into HubSpot. The data isn't actually stored within HubSpot.
In the case of the QBO invoice CRM Card the invoice we link to is pulled directly from QBO (the source of the invoice file/record) and not stored in HubSpot. You could use QBO's API to GET the invoice by ID. The team have heard this feedback and is aware this is a customer painpoint."
Thank you Ignazio for taking the time to post the response you got in this thread!
It seems we are using the exact same integration. While it is too bad that the information isn't available by API, it makes perfect sense once you know that it isn't actually stored in HS but actually pulled live from QBO.