Is it possible to copy line items from an invoice associated with a deal into the deal?

Hi HubSpot Community,

I’m working on a challenge and would love to hear if anyone has found a workaround for this.

I need to calculate the MRR and ARR of deals based on the line items in their associated invoices. I’ve already created custom properties at the deal level for MRR and ARR.

My initial idea was to set up a workflow triggered when an invoice is marked as paid, assuming that when an invoice is associated with a deal, its line items would automatically sync to that deal. However, that doesn’t seem to happen.

Does anyone know if there’s a way to calculate these values using the data from associated invoices? I’ve explored some third-party apps that can create or update deal line items, but they don’t seem to support copying line items directly from associated invoices.

Any ideas or workarounds would be greatly appreciated!

Hi @CarolinaDeMares

Here are some workarounds and ideas to help you calculate MRR/ARR based on Invoice line items:

1. Implement a Right Deal-to-Cash Process - Not sure what’s your entier deal to cash process, but generally you can make a process to add line items first into deal, use into Quote and then create a invoice based on that same line item to solve your issue.

2. Calculate MRR and ARR based on Deal Amount - Try to copy of Invoice total into deal amount and then easy to calculate MRR and ARR.

If you have just one invoice per deal, then directly update a Deal Amount property, or if you have multiple invoice per deal, then store into custom calculation deal property like “Invoice Total” and then update a Deal Amount.

I would recommanded to focus on first option as it’s more about process streamline and use a CRM as it design without making complex process and adding more custom property or workflows.


Community%20Signature.png

For context, can you describe the overall workflow? Are you not using quotes on you deals?
Do you start with an invoice and then create a deal once the invoice is paid?
I am building a third party app that is something very close to this, but not exactly this. If you’d like to chat more, please grab some time on my calendar or DM me with a link to yours.
My calendar:

Hi @CarolinaDeMares,

Here’s some examples I put together that may spark some ideas if you’re still looking to implement a solution here. I know it may not be tied exactly to your use case, but I’m happy to answer any follow-up questions you may have. Feel free follow up on this thread.

Automate Quote Line Item Retrieval in HubSpot with Zapier

>> YouTube version

How I Created a Deal in HubSpot with Line Items Automatically Associated after Customer Purchase

>> YouTube version

Feel free to watch on a faster speed :slightly_smiling_face:

All the Best,

Ryan Schweighart

Whole Hart Impact, LLC

whimpact.co

I help businesses with HubSpot and Zapier.