#satyarohith-billing
1 messages · Page 1 of 1 (latest)
I'm doing metered billing and I report usage to stripe every few hours. When an invoice is generated, I want to double-check that all the usage for the billing period is indeed reported.
After the invoice is created, you can't update the usage of that specific billing cycle
You can retrieve the current usage for the upcoming invoice: https://stripe.com/docs/products-prices/pricing-models#retrieving-usage
When is the best time ensure/update usage for the billing cycle?
The best time is to update the usage is right before the billing cycle ends. If it's in aggregation mode, Stripe leaves 5-min window after the period ends allow for clock drift: https://stripe.com/docs/products-prices/pricing-models#reporting-usage