APIs & Integrations

SRoy
Participant | Gold Partner
Participant | Gold Partner

How to update account-id of existing Invoice.

Hello,

 

I have developed and using a Hubspot app which uses Hubspot CRM Accounting  Extension API. The app works fine and I can create invoice against a deal and can attach invoice to a deal. But due to some reason, I need to update the "accountId"  that the app sets via https://api.hubapi.com/crm/v3/extensions/accounting/user-account. If I change the accountId of the an existing app user, the accountId assocoiated with the already created invoices does not get changed. I see that "PATCH /crm/v3/extensions/accounting/invoice/{invoiceId}" allows to update some parameters of invoices, but this does not allow to change the accountId  of the invoice.

 

Can you please let me know if there is any Hubspot API that allows to update the accountId that was attached to a invoice created by accounting app?

1 Reply 1
dennisedson
HubSpot Product Team
HubSpot Product Team

How to update account-id of existing Invoice.

Looks like there is not a patch method for the user-account...

This API is pretty new, you should submit this  to the ideas board and detail your use case scenario

0 Upvotes