#romaten1 - Usage Records
1 messages · Page 1 of 1 (latest)
Hi!
Do you have a subscription ID I can check?
sub_1LLUXwLLJi9S5Lvqx4JwHAK6
"And I need to create invoice for this subscription to pay "10001 and above" - 8,190 right now" - but pay without $9.00 for next period
may be stripe automatically create invoice for it later - but I need to do it right now
But usage records are for metered billing. Metered billing is always billed at the end of the billing cycle. what is it you are actually trying to achieve here?
I set billing_thresholds.usage_gte = 6330 if create subscription - than stripe charge automatically when amount will more than this value, but sometime I need charge right now
I set billing_thresholds.usage_gte = 6330 for subscription item
Okay so is the usage amount greater than or equal to your threshold?
It sounds like your timing around billing does not match with the settings you are using when creating your subscription. Have you tried update the billing threshold?
https://dashboard.stripe.com/test/subscriptions/sub_1LLUXwLLJi9S5Lvqx4JwHAK6 - usage amount was more than threshold and here i see now that stripe has already created invoice in draft. But sometime i need create invoice when usage amount less than threshold manually - is it possible?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I don't think so, since the customer has not reached the threshold to bill them then there are no charges on that customer. You can read more about this strategy here:
https://stripe.com/docs/billing/subscriptions/usage-based
ok, thanks for help
Would you be billing the customer for the same service the usage records are for?
The one way I could think you might be able to do it is to change the billing threshold for that subscription item
https://stripe.com/docs/api/subscription_items/update#update_subscription_item-billing_thresholds
If you dropped the usage_gte amount to equal or below what the current usage is, that should generate an invoice. Just be sure to reset the threshold unless you want to make that permanent.
ok, thanks! maybe it help