# Access invoices data via API

**URL:** <https://community.hubspot.com/t/access-invoices-data-via-api/91959>\
**Category:** APIs & Integrations\
**Tags:** workflows, professional, timeline-and-extensions-apis\
**Created:** [October 17, 2023, 10:37am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959 "2023-10-17T10:37:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ignazio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ignazio/32/91195_2.png) [@Ignazio](https://community.hubspot.com/u/Ignazio)\
**Post date:** [October 17, 2023, 10:37am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/1 "2023-10-17T10:37:17Z")

</div>

Hello everyone!

As of February 28, 2023, the Accounting extension API has been deprecated.

We need to access the invoices data via API, as we were able to do in the past: could you please suggest to us any way to do it?

Thank you in advance,

i

---

<div class="post-metadata">

**Author:** ![TDwebdev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tdwebdev/32/78032_2.png) [@TDwebdev](https://community.hubspot.com/u/TDwebdev)\
**Post date:** [October 17, 2023, 1:42pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/2 "2023-10-17T13:42:35Z")

</div>

Hi Ignazio,

You can check: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/quotes)

Here you can get access to the quotes of HubSpot

---

<div class="post-metadata">

**Author:** ![Ignazio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ignazio/32/91195_2.png) [@Ignazio](https://community.hubspot.com/u/Ignazio)\
**Post date:** [October 17, 2023, 1:48pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/3 "2023-10-17T13:48:37Z")

</div>

Hi @TDwebdev and thank you for your quick reply!

I need to access the invoice object. Here you have some reference:

- [Create invoices for your buyers in HubSpot](https://knowledge.hubspot.com/payments/create-and-manage-invoices)
- [Connect HubSpot and QuickBooks Online](https://knowledge.hubspot.com/integrations/use-hubspots-integration-with-quickbooks)

I don’t think the quotes API will help me.

---

<div class="post-metadata">

**Author:** ![TDwebdev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tdwebdev/32/78032_2.png) [@TDwebdev](https://community.hubspot.com/u/TDwebdev)\
**Post date:** [October 17, 2023, 1:56pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/4 "2023-10-17T13:56:12Z")

</div>

Try this endpoint: [https://api.hubapi.com/crm/v3/objects/{objectName}/{objectId}](https://api.hubapi.com/crm/v3/objects/%7BobjectName%7D/%7BobjectId%7D)

---

<div class="post-metadata">

**Author:** ![Ignazio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ignazio/32/91195_2.png) [@Ignazio](https://community.hubspot.com/u/Ignazio)\
**Post date:** [October 17, 2023, 3:31pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/5 "2023-10-17T15:31:00Z")

</div>

Hi @TDwebdev and thank you again!

This is the reply I have from the API call:

_The scope needed for this API call isn’t available for public use. If you have questions, contact support or post in our developer forum._

---

<div class="post-metadata">

**Author:** ![CharlieL](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@CharlieL](https://community.hubspot.com/u/CharlieL)\
**Post date:** [October 26, 2023, 4:22pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/6 "2023-10-26T16:22:58Z")

</div>

Hi @TDwebdev,

We’re having the same issue as @Ignazio. When trying to call Invoices through the [https://api.hubapi.com/crm/v3/objects/{objectName}/{objectId](https://api.hubapi.com/crm/v3/objects/%7BobjectName%7D/%7BobjectId)} endpoint (with the corresponding objectName), we’re getting the same message:

_The scope needed for this API call isn’t available for public use. If you have questions, contact support or post in our developer forum._

Any further help would be super appreciated!

Thanks,

Charlie

---

<div class="post-metadata">

**Author:** ![hershyH](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@hershyH](https://community.hubspot.com/u/hershyH)\
**Post date:** [November 2, 2023, 7:07pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/7 "2023-11-02T19:07:26Z")

</div>

Im having the same issue i need to access invoice data as well as create invoices is there any selution yet

---

<div class="post-metadata">

**Author:** ![Ignazio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ignazio/32/91195_2.png) [@Ignazio](https://community.hubspot.com/u/Ignazio)\
**Post date:** [November 3, 2023, 8:23am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/8 "2023-11-03T08:23:20Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![CharlieL](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@CharlieL](https://community.hubspot.com/u/CharlieL)\
**Post date:** [November 30, 2023, 12:15am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/9 "2023-11-30T00:15:42Z")

</div>

Hi @Ignazio, did you end up finding a solution? Thanks!

---

<div class="post-metadata">

**Author:** ![hershyH](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@hershyH](https://community.hubspot.com/u/hershyH)\
**Post date:** [November 30, 2023, 12:50am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/10 "2023-11-30T00:50:37Z")

</div>

I recently had a talk with HubSpot as of now there is no API to do this but they are working on one to come out somewhere next year

---

<div class="post-metadata">

**Author:** ![Ignazio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ignazio/32/91195_2.png) [@Ignazio](https://community.hubspot.com/u/Ignazio)\
**Post date:** [November 30, 2023, 11:47am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/11 "2023-11-30T11:47:21Z")

</div>

Hi @CharlieL and @hershyH! Thank you for joining the conversation 🙂

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."_

_Hope this will help you too!_

---

<div class="post-metadata">

**Author:** ![CharlieL](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@CharlieL](https://community.hubspot.com/u/CharlieL)\
**Post date:** [December 14, 2023, 5:23pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/12 "2023-12-14T17:23:20Z")

</div>

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.

Thanks again!

---

<div class="post-metadata">

**Author:** ![Ignazio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ignazio/32/91195_2.png) [@Ignazio](https://community.hubspot.com/u/Ignazio)\
**Post date:** [December 15, 2023, 11:29am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/13 "2023-12-15T11:29:28Z")

</div>

Hi @CharlieL!

Thank you for beying part of the conversation and for your help 🙂

If my last comment was helpfull for you, please mark it as a solutions for the other users too.

---

<div class="post-metadata">

**Author:** ![AArseni6](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aarseni6/32/37585_2.png) [@AArseni6](https://community.hubspot.com/u/AArseni6)\
**Post date:** [February 21, 2024, 11:46am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/14 "2024-02-21T11:46:24Z")

</div>

Hey there! Has this been resolved in the meantime? Any ideas?

---

<div class="post-metadata">

**Author:** ![RSchweighart](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rschweighart/32/28924_2.png) [@RSchweighart](https://community.hubspot.com/u/RSchweighart)\
**Post date:** [February 21, 2024, 9:55pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/15 "2024-02-21T21:55:02Z")

</div>

Hi @Ignazio,

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.

 ![RSchweighart_0-1708552473605.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/7/07754edcb4e0e7602a5335e8c31103fb54003ba3.jpeg)

If anyone is interested in learning more about the HubSpot to Xero zap I mentioned, just send me an email: [ryan@whimpact.co](mailto: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.

![GIF Recording 2024-02-21 at 3.58.45 PM.gif](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/d/8d56e86978db896ac7ad037bc73730e3de348394.gif)

Best,

_ **Ryan Schweighart** _

Whole Hart Impact, LLC

[whimpact.co](https://www.whimpact.co)

_I help businesses with HubSpot and Zapier._

---

<div class="post-metadata">

**Author:** ![PatOfCle](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@PatOfCle](https://community.hubspot.com/u/PatOfCle)\
**Post date:** [March 11, 2024, 5:31pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/16 "2024-03-11T17:31:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kristinaP](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kristinap/32/102843_2.png) [@kristinaP](https://community.hubspot.com/u/kristinaP)\
**Post date:** [November 11, 2024, 4:06pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/17 "2024-11-11T16:06:22Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 13, 2024, 7:10pm UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/18 "2024-11-13T19:10:08Z")

</div>

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:

 ![CleanShot 2024-11-13 at 12.05.37@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/1/d18012312d9ce12cc788a2006b7b536eccd0faaa.png)

I hope this helps! — Jaycee

cc: @Ignazio @PatOfCle @RSchweighart @AArseni6

---

<div class="post-metadata">

**Author:** ![Ignazio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ignazio/32/91195_2.png) [@Ignazio](https://community.hubspot.com/u/Ignazio)\
**Post date:** [November 14, 2024, 8:04am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/19 "2024-11-14T08:04:43Z")

</div>

Hi and thank you so much for sharing!

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)

---

<div class="post-metadata">

**Author:** ![RSchweighart](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rschweighart/32/28924_2.png) [@RSchweighart](https://community.hubspot.com/u/RSchweighart)\
**Post date:** [November 15, 2024, 12:48am UTC](https://community.hubspot.com/t/access-invoices-data-via-api/91959/20 "2024-11-15T00:48:06Z")

</div>

Hi @Ignazio,

Do [these endpoints](https://developers.hubspot.com/beta-docs/guides/api/crm/commerce/invoices#properties) not allow you to get the information you need from invoices?

Cheers!

[Next page](https://community.hubspot.com/t/access-invoices-data-via-api/91959.md?page=2)
