#Obo - Metered Billing
1 messages · Page 1 of 1 (latest)
To follow up on this, I can see that you can provide a timestamp in metered billing usage reports. How long after a billing cycle ends does it take for the actual bill to be sent out?
in other words, if a billing_anchor is set to 2PM. Do I have a window of time to retroactively set usage before the bill gets calculated and sent out?
So it sounds like you're really looking for a delay between billing end date and invoice generation, is that right?
yes that's correct
Okay so in this case would pausing collection make sense for you? Would setting pause_collection with a resumes_at parameter work for you?
@slender siren what would the impacts of that be?
also, do you know how long of a delay between when the billing_anchor is hit and when the actual bill is calculated is?
Hello! There's a five minute grace period as explained in this section: https://stripe.com/docs/billing/subscriptions/metered#report-usage
When you report usage, the timestamp has to be within the current billing period, otherwise the call fails. If aggregate_usage is set to sum on the price, there’s an additional five minutes after the end of a billing period when you can report usage (this is to accommodate for clock drift). For all other aggregate_usage values, the timestamp has to be within the billing period.