#VisionADdyOP
1 messages · Page 1 of 1 (latest)
sorry, that's not possible at the moment. Usage reported after a billing period ends, even if its during the 5 minutes buffer time, will always fall into a new period. Basically, once a period has closed, our system will not allow usages to be reported in the closed period
Is their any way we can change invoice and add that value their
It's not about adding metered usages
I will tell the total no will stripe calculate amount for me
you can create a new InvoiceItem specifying the invoice id to add the invoice item to : https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-invoice
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can we create invoice item according to plan
Can we edit items which is already their in invoice
Or tell which event will occurs before subscription ends
I will add metered usage their
Can we create invoice item according to plan
You can pass in the plan id into the price
Is their any event their we can perform a operation to add metered usages
At once for all particular month
Can we edit items which is already their in invoice
You can try, but i think you won't be able to edit an Invoice Item that was generated as part of the Subscription
?
Before subscription end
Is their any event their we can perform a operation to add metered usages all at once for all particular month
you can consider using the upcoming.invoice event, the shortest possible time to configure this is 3 days though
When this event will trigger ?
you can read about it in this doc : https://stripe.com/docs/billing/subscriptions/webhooks
At the end of cycle
This one is good but is their anything which will trigger when current cycle end close to that
So there period remains active and we can add metered usages
there's nothing closer to when the current cycle end unless you track it yourself
Only solution is to add invoice item right ?