#muhammad-subscription
1 messages · Page 1 of 1 (latest)
Hi @hot oar!
- I'm not sure I understand what you mean by "link".
- I don't think you can add an extra invoice to a subscription, however if you create an invoice item for a customer, it will be included in the next subscription invoice https://stripe.com/docs/api/invoiceitems/create
For 1. if you need a way to track that an invoice belongs to a specific subscription, you could use the metadata field to store a subscription ID for example. https://stripe.com/docs/api/invoices/create#create_invoice-metadata
the invoice.subscription object can it be updated with a valid subscription id?
the idea is a manual invoice is created, need to associate it with its subscription
You can see here the list of fields that can be updated on an invoice, and there isn't subscription. https://stripe.com/docs/api/invoices/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.