# Create invoice using API

**URL:** <https://community.hubspot.com/t/create-invoice-using-api/108046>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [May 27, 2024, 11:43am UTC](https://community.hubspot.com/t/create-invoice-using-api/108046 "2024-05-27T11:43:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZDeepak](https://avatars.discourse-cdn.com/v4/letter/z/ecae2f/32.png) [@ZDeepak](https://community.hubspot.com/u/ZDeepak)\
**Post date:** [May 27, 2024, 11:43am UTC](https://community.hubspot.com/t/create-invoice-using-api/108046/1 "2024-05-27T11:43:23Z")

</div>

Can I create the invoice using API?  
If I can create the invoice using the API, then please guide me on how I can create the invoice because I’m creating the invoice but I’m getting this error.(

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:** ![AHernandez60](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ahernandez60/32/106407_2.png) [@AHernandez60](https://community.hubspot.com/u/AHernandez60)\
**Post date:** [May 27, 2024, 12:15pm UTC](https://community.hubspot.com/t/create-invoice-using-api/108046/2 "2024-05-27T12:15:56Z")

</div>

Hi @KHarlin

Im sorry but, at least for now, the Invoice API is limited to read-only endpoints. This is probably the cause of the error.

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/6/16b9051a758b6080385f8bd98ea3b63783866bcd.png)

It is likely that the creation will be available in the medium-short term but right now it is not available.

Let me know if I can be of any further assistance.  
Regards.

---

<div class="post-metadata">

**Author:** ![daslanyan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/daslanyan/32/62359_2.png) [@daslanyan](https://community.hubspot.com/u/daslanyan)\
**Post date:** [November 25, 2024, 12:17pm UTC](https://community.hubspot.com/t/create-invoice-using-api/108046/3 "2024-11-25T12:17:09Z")

</div>

Hi Ander,

Do you have any updates on this?

---

<div class="post-metadata">

**Author:** ![RobertColson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertcolson/32/22457_2.png) [@RobertColson](https://community.hubspot.com/u/RobertColson)\
**Post date:** [May 27, 2025, 1:59pm UTC](https://community.hubspot.com/t/create-invoice-using-api/108046/4 "2025-05-27T13:59:46Z")

</div>

Hello all! My name is Colson and I work on the Customer Support team at HubSpot.  
I can confirm that this functionality is now possible via the “**CRM API | Create invoices (BETA)**”, which you can find more details on [here](https://developers.hubspot.com/docs/guides/api/crm/commerce/create-update-delete-invoices).  
This BETA requires:

1️⃣ [Commerce Hub]([https://www.hubspot.com](https://www.hubspot.com)%20› pricing › commerce), and  
2️⃣ opting in via your portal’s [Product Updates tool](https://knowledge.hubspot.com/account-management/opt-your-hubspot-account-into-a-public-beta-feature).  
Keep in mind that BETA functionality is still in development. If this meets your use case, feel free to mark this post as the accepted solution.  
Happy HubSpotting!

---

<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:** [May 27, 2025, 3:52pm UTC](https://community.hubspot.com/t/create-invoice-using-api/108046/5 "2025-05-27T15:52:43Z")

</div>

Thanks for the update @RobertColson 🙌
