#abuznego_best-practices

1 messages ¡ Page 1 of 1 (latest)

knotty nymphBOT
#

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

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

icy bobcat
#

hello! sorry for the slow response, i missed the notification somehow. looking now

#

i don't think i fully understand the question though - typically if you create prorations we create line items for each proration and include it on the next invoice, which sounds like what you're going for. is this not what you're seeing when you test things out?

oak swift
#

yes, and then i'm just supposed to create an invoice to pick those items up?

icy bobcat
#

well most users would just wait until the next billing period, at which point they will be included automatically. but yes you could create an invoice manually, or you could set proration_behavior=always_invoice which will cause us to automatically create an invoice for you right away

oak swift
#

tried using proration_behavior=always_invoice but it got finalized right away and did not allow me to add tax items we calculate externally.

icy bobcat
#

gotcha. so yes, manually creating the invoice would be one way to handle that.

#

what do you use to calculate tax externally?

#

there might be an easier way to handle that

oak swift
#

avalara

#

so basically based on that prorated amount, i go and calculate the taxes for it

#

and add as invoice line items

#

but if it gets finalized right away, i cannot add them

icy bobcat
#

yep! this is a common issue people run into. let me see what i can dig up on how to handle it.

oak swift
#

thanks so much

icy bobcat
#

ok, so our support team might be able to help you out with this - i would tell them the problem that you're running into with avalara and proration_behavior=always_invoice and they might have a solution.

#

otherwise your proposed solution of creating a manual invoice via the API after the prorations are calculated would also work

oak swift
#

ok thanks