#Red Ranger

1 messages · Page 1 of 1 (latest)

tawdry swallowBOT
steel whale
#

Hey! Bit of a broad question! Is there a specific use case you're trying to account for?
Could you please share that invoiceId and what is it for ?

real finch
#

it's a subscription, ideally we want it to begin at the 1st of each month. something like dec 1 to dec 31

#

it's just a test invoice sub_1MEVZEJ3C3e7uJ9CkYnAxZ2W

steel whale
real finch
#

i know that but wouldn't it become dec 1 to jan 1? we want it to be dec 1 to dec 31

steel whale
real finch
#

it says here that "The end_date of one phase has to be the start_date for the next phase."

#

does that mean that it's not applicable for us?

#

we want it to be like this for the succeeding invoices
dec 1 - dec 31
jan 1 - jan 31
feb 1 - feb 29

#

can you at least explain the rationale behind "The end_date of one phase has to be the start_date for the next phase."? Stripe seems to be only doing it this way

steel whale
#

Ok I see what you want. The billing period are Timestamps. So the interval is seconds based not days. It'll have a shared day always between periods in the invoice otherwise it will be Gapes. So you can't achieve what you want to do, neither using Subscription or Subscription Schedule