#arvindkgs-metered
1 messages · Page 1 of 1 (latest)
if you report them at that time, they are not included in that created invoice(they'll be in the next one); invoice.created happens at the start of a new billing cycle, so generally you need to make sure you've reported all the usage you want before that event happens
As usage records are rate limited, I wanted to send the aggregated usage records at the end of the current billing period
Looks like that is not possible
I cannot useinvoice.upcoming event, because minimum is 3 days before monthly bill is generated
3 days will be missed
@graceful swan Does my application need to have a monthly scheduled job set to send aggregated usage before the current billing period ends?
that is one option sure, or you can report the usage at the time of the upcoming event, but as you say , that doesn't always work