# Auto generate Invoices via API or Workflow

**URL:** <https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040>\
**Category:** APIs & Integrations\
**Tags:** payments\
**Created:** [November 29, 2023, 3:19pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040 "2023-11-29T15:19:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![CBetancourt4](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@CBetancourt4](https://community.hubspot.com/u/CBetancourt4)\
**Post date:** [November 29, 2023, 3:19pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/1 "2023-11-29T15:19:11Z")

</div>

It would be fantastic to automatically generate invoices in HubSpot whether it be via API or in the workflow.

It would help take out the manual work from having to do this one at a time for companies that generate dozens of invoices at a time. We can already do it with quotes.

---

<div class="post-metadata">

**Author:** ![CKenna](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ckenna/32/62359_2.png) [@CKenna](https://community.hubspot.com/u/CKenna)\
**Post date:** [November 29, 2023, 3:22pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/2 "2023-11-29T15:22:50Z")

</div>

Great Idea. Please push this @hubspot!

---

<div class="post-metadata">

**Author:** ![JKrantz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jkrantz/32/32497_2.png) [@JKrantz](https://community.hubspot.com/u/JKrantz)\
**Post date:** [November 29, 2023, 6:49pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/3 "2023-11-29T18:49:53Z")

</div>

great idea!!

---

<div class="post-metadata">

**Author:** ![DDewhirst](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@DDewhirst](https://community.hubspot.com/u/DDewhirst)\
**Post date:** [January 24, 2024, 2:47pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/4 "2024-01-24T14:47:41Z")

</div>

Upvote this. We need to automate our billing process to the tune of thousands of invoices a year -- one-off invoice creation is useless in this regard. Would like to have a workflow that runs on the first day of the month (already possible) that enrolls everyone based on a custom boolean property tied to Salesforce of “can\_autorenew” or something like that. The workflow then would generate an invoice for each enrollee and send it out.  
With invoices being a HubSpot object now, this should be easily doable if HS would just add “Create invoice” as an action into workflows. This would add enormous value for companies like mine where currently we have someone literally creating each and every invoice manually, which would in turn increase our integration with Hubspot.  
It’s a win-win Hubspot, come on!

---

<div class="post-metadata">

**Author:** ![MAnderson87](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/manderson87/32/88643_2.png) [@MAnderson87](https://community.hubspot.com/u/MAnderson87)\
**Post date:** [February 13, 2024, 1:19am UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/5 "2024-02-13T01:19:42Z")

</div>

Yes, I am trying to automate invoicing as well. It would be a workflow that is as simple as when a deal enters “Ready to Invoice” stage the action would be “convert deal to invoice”

---

<div class="post-metadata">

**Author:** ![KSpykerman](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@KSpykerman](https://community.hubspot.com/u/KSpykerman)\
**Post date:** [February 13, 2024, 1:23am UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/6 "2024-02-13T01:23:14Z")

</div>

Would love to see this feature

---

<div class="post-metadata">

**Author:** ![AMelville](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@AMelville](https://community.hubspot.com/u/AMelville)\
**Post date:** [February 26, 2024, 4:26am UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/7 "2024-02-26T04:26:46Z")

</div>

We would also love this feature!

---

<div class="post-metadata">

**Author:** ![SLalonde](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/slalonde/32/199642_2.png) [@SLalonde](https://community.hubspot.com/u/SLalonde)\
**Post date:** [April 1, 2024, 5:28pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/8 "2024-04-01T17:28:01Z")

</div>

The invoice API, as documented here: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/commerce/invoices) is read-only.

Please make is to that we can create invoices, with all of the GUI features, so that the process can be automated.

---

<div class="post-metadata">

**Author:** ![RAndrews0](https://avatars.discourse-cdn.com/v4/letter/r/aeb1de/32.png) [@RAndrews0](https://community.hubspot.com/u/RAndrews0)\
**Post date:** [April 15, 2024, 7:12am UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/9 "2024-04-15T07:12:05Z")

</div>

Great idea. Need this one too.

---

<div class="post-metadata">

**Author:** ![storycollab](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/storycollab/32/35608_2.png) [@storycollab](https://community.hubspot.com/u/storycollab)\
**Post date:** [April 15, 2024, 6:47pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/10 "2024-04-15T18:47:56Z")

</div>

This is an important feature, and hope it is in the roadmap.

---

<div class="post-metadata">

**Author:** ![JRobinson92](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@JRobinson92](https://community.hubspot.com/u/JRobinson92)\
**Post date:** [May 9, 2024, 1:24am UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/11 "2024-05-09T01:24:38Z")

</div>

Saves time and is more convienent

---

<div class="post-metadata">

**Author:** ![webwarriors](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/webwarriors/32/66085_2.png) [@webwarriors](https://community.hubspot.com/u/webwarriors)\
**Post date:** [May 12, 2024, 3:01pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/12 "2024-05-12T15:01:42Z")

</div>

We have a few clients that are wanting to switch across to Commerce Hub for payments, but run an annual subscription model - it would be great for them if HS auto sent them an invoice, which they could then pay via Commerce Hub.

---

<div class="post-metadata">

**Author:** ![jvveen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jvveen/32/89259_2.png) [@jvveen](https://community.hubspot.com/u/jvveen)\
**Post date:** [May 15, 2024, 7:58am UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/13 "2024-05-15T07:58:09Z")

</div>

This is essential for proper commerce-to-cash operations.  
Collecting payments via payment links without the option to invoice automatically kind of defeats the commerce functionality.

I am ready to really switch to commerce hub as soon as:  
- automatic invoicing after payment via payment link  
- recurring VAT for subscriptions  
- ideally, also proper VAT logic for international business, like Stripe has

---

<div class="post-metadata">

**Author:** ![ISabas](https://avatars.discourse-cdn.com/v4/letter/i/ecccb3/32.png) [@ISabas](https://community.hubspot.com/u/ISabas)\
**Post date:** [May 23, 2024, 2:52pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/14 "2024-05-23T14:52:37Z")

</div>

Hopefully this feature gets pushed (together with the option to do bulk import of existing invoices previously tracked from spreadsheet).

---

<div class="post-metadata">

**Author:** ![janinel](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@janinel](https://community.hubspot.com/u/janinel)\
**Post date:** [May 24, 2024, 7:21am UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/15 "2024-05-24T07:21:45Z")

</div>

As a phased approach… it would even just help to be able to automatically send out already created invoices for now… while a larger fix is in place that enables auto-generating and sending of invoices.

---

<div class="post-metadata">

**Author:** ![hendry1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hendry1/32/43508_2.png) [@hendry1](https://community.hubspot.com/u/hendry1)\
**Post date:** [June 10, 2024, 5:57pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/16 "2024-06-10T17:57:06Z")

</div>

This is an important functionality for us as HubSpot Diamond Partners.

Because of the ease of use of payment links, we have been using them for all different types of projects, including great success with one-time purchases. However, we currently have no way of automatically creating invoices for these purchases, and instead they must each be created manually.

The only way we can create invoices automatically is through subscriptions, where we could create a one-month long subscription that shows a misleading X$/Month in large letters at the top of the payment link, which many times does not coincide with the length of the one-time service being purchased. Due to this potential point of confusion at the time of payment, we have continued to manually generate invoices for our one-time projects.

For this reason, we would greatly benefit from one-time automatic invoice generation from payment links, be this through workflows or API write functionality that would permit us to generate invoices automatically through an integration.

---

<div class="post-metadata">

**Author:** ![zafarkahn](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zafarkahn/32/64128_2.png) [@zafarkahn](https://community.hubspot.com/u/zafarkahn)\
**Post date:** [June 20, 2024, 1:55pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/17 "2024-06-20T13:55:41Z")

</div>

Beautiful idea 😉

---

<div class="post-metadata">

**Author:** ![KSchwing](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@KSchwing](https://community.hubspot.com/u/KSchwing)\
**Post date:** [June 27, 2024, 5:16pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/18 "2024-06-27T17:16:23Z")

</div>

@hendry1 can you provide more detail about the work around you discovered for invoice creation with adding the subscription?

---

<div class="post-metadata">

**Author:** ![hendry1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hendry1/32/43508_2.png) [@hendry1](https://community.hubspot.com/u/hendry1)\
**Post date:** [June 27, 2024, 7:54pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/19 "2024-06-27T19:54:21Z")

</div>

Sure thing, @KSchwing ! As part of a subscriptions in HubSpot, the buyer will receive an automatic notification when thier purchase is completed, which you can [**learn more about here**]([http://You](http://You)%20and the buyer will receive a payment notification for the first subscription payment. ).

The line item we use is strucutred as a recurring line item with a term of only one month, with only one payment being collected.  
This is the ‘automatic invoice’ that we have thought of using for some projects, though as I mentioned, this funcitonality is designed for recurring subscriptions, so all materials that a client recieves shows the purchased line item as “X$/ Month” which is why it’s not always the best option for one-time services since that text can cause confusion.

---

<div class="post-metadata">

**Author:** ![McBainKD](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mcbainkd/32/78471_2.png) [@McBainKD](https://community.hubspot.com/u/McBainKD)\
**Post date:** [July 17, 2024, 2:11pm UTC](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040/20 "2024-07-17T14:11:56Z")

</div>

Pls do this.

[Next page](https://community.hubspot.com/t/auto-generate-invoices-via-api-or-workflow/95040.md?page=2)
