#msamarth400

1 messages · Page 1 of 1 (latest)

cyan vaultBOT
polar compass
#

What exactly is the problem you're having with this?

#

You can update usage until the new invoice is created, so the timing of that is at your discretion

cunning vale
#

I want to report the usage only once insted of doing it every day, wawnted to know if their is an event i can listen to to report usage.

polar compass
#

Not like you're looking for. You could use eg invoice.upcoming but thats ~days before renewal

#

and invoice.created is after the invoice period cycles and its too late

cyan vaultBOT
polar compass
#

You will likely want to automate these updates to be just before the renewal, and any usage in the period between the last update and the renewal you'd roll into the next period (or forgive, at your discretion)

cunning vale
#

if possible could you please share how most companies using stripe billing with metered pricing report usage?

polar compass
#

I can't share that really, because I don't know and because there are many different approaches

#

So its depends on what you need to have reflected.

#

I think doing daily updates is pretty common, but some models will report usage as it happens

#

ie, maybe you provide phone service and you report X minutes of calling after the call ends

cunning vale
#

the documentation suggests we can edit invoice if it is in draft state so why can't i use invoice.created?

#

can this be an issue with testclock?

topaz stump
#

👋 Taking over, give me a second to catch up on the context