#abuznego_best-practices

1 messages ¡ Page 1 of 1 (latest)

valid auroraBOT
#

👋 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/1221931511436283944

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

errant horizon
#

For more context, I was trying to use proration_behavior as always_invoice but that does not allow us to add tax lines to the invoice since it comes in with status as paid right away.

glossy hearthBOT
paper hedge
errant horizon
paper hedge
#

It should, yes

errant horizon
#

Just tested and it didn't. It just added the proration amount to the next bill when billing period ends. @paper hedge

paper hedge
#

Can you share the invoice ID and/or subscription ID?

errant horizon
valid auroraBOT
tough pumice
#

taking a look on our end, thank you for your patience.

errant horizon
#

thanks!

tough pumice
errant horizon
#

mmm i can't see that log

tough pumice
#

That is from the above subscription

errant horizon
#

no, that's a prior update and i did see the invoice.created event for that

tough pumice
#

You could only get invoice.created is you specific to create an invoice for the prorations

errant horizon
#

how would I create an invoice just for those prorations?

tough pumice
#

What do you mean by that?

errant horizon
#

If I call the API to create an invoice for the customer, will it create it just for the proration charge lines?

tough pumice
#

You can cofnirm this behavior here: in_1OyKLXF5n5KjLa7RtalUATuL, yes in this case

errant horizon
#

It didn't work. It just created an empty invoice when I didn't include any params and just called API to create invoice for customer. What I was expecting was that it would include the pending invoice items

tough pumice
errant horizon
#

ah! I was missing that option. ok I think that works.

tough pumice
#

Great!

errant horizon
#

thank you! @tough pumice @paper hedge