#lolztheoreo_unexpected

1 messages ¡ Page 1 of 1 (latest)

jolly brambleBOT
#

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

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

deft cypress
viscid finch
#

Sorry, I've been changing the tax status a lot. But here's another example.

This invoice is in draft: in_1RlWMtC9neSDV4DK8KZT7RDH

It says taxability is non-taxable and includes no tax. However if you look at the customer, they are now taxable

#

It says automatic tax caclulation 'complete'

As if it's not going to do it again, and when I finalise this invoice, it doesn't recalculate and add the tax back on

#

Is there a way to force the recalculation on the invoice?

deft cypress
#

Ah ok, so just so I understand, you created the Invoice when the customer was tax exempt. Then, prior to finalization, you updated customer to be taxable. Now you want to recalculate based on that status prior to finalization, correct?

#

If so, I think you'll have to create a new Invoice

#

But checking options

viscid finch
#

This is a bug then if that is the case, all of the documentation suggests that tax calculations are made at the point of finalisation

deft cypress
#

This is slightly different though. That's if the tax rate changes. This is if customer tax exemption status changes, which afaik is not documented. I'm poking around

#

let me check with a colleague

viscid finch
#

Thank you. Just as a note, I've realised as a temporary hack if I call

stripe.invoices.update(invoiceId, {
automatic_tax: { enabled: true },
})

just before finalisation, it recalculates the tax correctly (even though is was enabled already)

deft cypress
#

My colleague said that the tax_exempt status should propagate on finalization

#

You said it's not though

#

Can you share an example where this isn't working properly so we can take a look