#TungVi-invoice
1 messages · Page 1 of 1 (latest)
Hi there, Creating a new Invoice for a customer will pull in all of their pending invoice items. There is no way around this behavior.
Thanks Jack, is there a way for me to invoice connect account at the moment via Stripe ?
Do you mean to invoice the customers in the connected accounts?
Each of our one-off invoice lines is linked to a future invoice for a subscription which might be linked to a different service provider. By grouping this all together, it won't work for us at all.
Is there a way to avoid this behaviour and just create an invoice as a stand alone for that customer ?
How about using the subscription param when creating the invoice item? https://stripe.com/docs/api/invoiceitems/create?lang=node#create_invoiceitem-subscription
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yep, I have tried this. Unfortunately it will also pull in all invoice lines with subscription tagged
Hi TungVi, sorry for the waiting, can you share with me the invoice ID so that i can take a look?
Hi, the invoice is: 39EFF82D-11172 (Test) @stiff heath
@warm frigate can you share the in_xxx API ID of the invoice instead?
Yep, it's in_1K4KJCHHp93LJdybMYqbgDAr
thanks! but yes, this is how it works, creating an invoice pulls in all pending items.
The only workaround is to create the invoice, let it pull things in, then
a) delete the unwanted items from that invoice : https://stripe.com/docs/api/invoiceitems/delete
b) manually recreate those items with the same details, on the Customer, so they get pulled into future invoices instead https://stripe.com/docs/api/invoiceitems/create?lang=php#create_invoiceitem-customer