#mochihealth

1 messages · Page 1 of 1 (latest)

hallow lionBOT
past basin
#

It would apply to the first one, but since neither invoice actually exists yet the balance would be seen on both I suppose

#

Once some invoice consumes that balance it would not apply to another

rare gull
#

so for showing what the upcoming invoices are

#

that I understand

#

but to show upcoming invoices correctly i have to resolve the balances with the times myself?

#

does the upcoming invoice api take into account subscription schedules

past basin
#

I would expect it to, yes. Are you seeing an unexpected result?

past basin
#

The upcoming invoice calculation looks only at that one subscription context, it doesnt know about other subscriptions that might use up that balance

rare gull
#

what would be the best way to do the diff

#

is there even a point using the upcoming invoice api in that case

past basin
#

That's up to you. Can you share an example response you get currently?