#geordi

1 messages · Page 1 of 1 (latest)

fierce brookBOT
cloud geyser
#

Hey there

#

Yep past_due invoices are still open and can be paid.

#

So yes, you would still list by "open" if you want to see past_due invoices

pulsar spruce
#

Okay so to determine the status of the invoice being past due, we would need to compare dates on our side? since it isn't a searchable status?

cloud geyser
#

Good question. I can't remember the best way to filter past_due. Let me check

pulsar spruce
#

Thanks!

cloud geyser
#

Okay sorry

#

The invoice itself isn't past_due here

#

The related Subscription is past_due

#

So you can list Subscriptions with a status of past_due

#

And then list invoices for that Sub

pulsar spruce
#

And if it's for a one-off invoice?

#

I guess I'd calculate dates based on due date etc

cloud geyser
#

Yeah past_due doesn't really exist for a one-off. In this case, ... yep

#

You beat me to it

pulsar spruce
#

Perf, thought so! Thanks for your help