#sahil_invoice-period

1 messages ¡ Page 1 of 1 (latest)

molten sigilBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1298716182236495952

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

quiet nymph
#

sahil_invoice-period

#

It's a bit confusing at first but below is how I usually explain this:

When you look at an Invoice object, you can see the properties period_start and period_end. Those correspond to the period the Invoice covers (or bills for). As a rule on our end, the Invoice is always for the "previous" period while the Invoice's line(s) for the Subscription's item(s)), included on the Invoice, is always for the new period.

This means that if you have a monthly Subscription on the 1st of the month, the invoice on the 1st of November will be for the 1st of October until the 1st of November while the Invoice's line for the Subscription will be for 1st of November to the 1st of December.

There is an exception which is for the first Invoice. Since there is no "past" for the invoice, period_start and period_end will be equal in that situation and correspond to the date the Subscription was created.

astral oasis
#

I am thinking about this more from our user's perspective. In the invoice PDF, they see the period as Oct 1 - Nov 1

#

This can be confusing for them, right?

quiet nymph
#

possibly though I think it's quite common. I can tell you that it's always been like this for 10+ years so it's definitely not new an I haven't seen much confusion about this
I've seen developers (like you) being confused at first but rarely end customers

astral oasis
#

Is there anyway to change it?

quiet nymph
#

no, none of this can be controlled or customized

astral oasis
#

ok, thanks for the clarification.

quiet nymph
#

sure thing!

molten sigilBOT
astral oasis
#

hey, can I just remove that period in the invoice PDF at all?

#

We had multiple users point this out and dispute their charges with us. As a Stripe platform user, it is leading to bad experience with our user base.

delicate crescent
#

Hi, stepping in and catching up.

astral oasis
#

Sure