#akin-tax-calculation

1 messages · Page 1 of 1 (latest)

green briar
#

Hello @open marsh let me look

open marsh
#

Yes thanks, i did that but seeing the tax calculated

#

I am in test mode at the moment so not sure if that is why

green briar
#

I'm sorry I don't follow what you said. You said the "tax is calculated" which seems fine? Can you be a bit more explicit/clear about what is/isn't working, what you see, what you expect, with detailed examples

open marsh
#

My bad, i follow that process but the tax is not been calculated, i got not enough customer information even though i have the ip address tax calculation enabled

green briar
#

Providing detailed examples will be a lot more helpful and then I can help you look

open marsh
#

Okay just a moment please

green briar
#

of course!

open marsh
#

Here is how i am creating my customer

#

Here is where i create an invoice item and an invoice, when i would expect my response to include the calculated tax

balmy estuary
#

Hi there, stepping in for koopajah as they need to step away. Give me a moment to catch up.

#

Can you provide a specific example invoice ID where you don't see tax?

open marsh
#

Here is the response i got from invoices

balmy estuary
#

Ah

#

That invoice isn't finalized

#

When you create an invoice it doesn't finalize for 1 hour unless you finalize it manually.

open marsh
#

Oh

balmy estuary
#

Tax is set upon finalization, which is when the PaymentIntent is created.

open marsh
#

So i have to call the invoice.finalise(invoice_id) to get tax rate?

balmy estuary
open marsh
#

Oh great! I will try that, thanks for you help

balmy estuary
#

Sure thing!

open marsh
#

Hey i did that but getting customer location invalid error. automatic_tax[enabled]=true enough customer information must be provided

#

Even though i have the customer address correct and have ip address tax calculation enabled too

balmy estuary
#

Can you provide the invoice ID?

open marsh
#

in_1KvkosGzQvwaByBEciGbr0qX

balmy estuary
#

Thanks, give me a moment. Server is busy

open marsh
#

Okay, thanks

balmy estuary
#

Alright so it looks like we didn't recognize the address that you used.

#

You can see the Tax location status for that customer is Unrecognized location

#

I think you have a typo in your address

#

from googling it I think it should be plains?

open marsh
#

Yeah that could be why, try again

#

I had the ip address tax activated too why isnt it using that?

#

Adjusted that but still same thing error and i would think it would use the customer ip for tax if address not found

balmy estuary
#

Hmm let's start with the address then handle IP

#

Can you try Rd instead of Road?

#

I'm surprised that would be the case

#

But also looks like what comes up as the official address

open marsh
#

Yes using the same address to test, i have updated Road to Rd

#

I can change the customer address if you think it because the same as the official address

#

Would you like me to do that?

balmy estuary
#

Yeah, or if there is another address that you know to test with? For some reason the system isn't liking that one.

open marsh
#

Okay just a moment I will change the address now

#

I have updated the address

#

If this doesn’t work maybe we can try the ip option then

balmy estuary
#

Let me know what the update does

open marsh
#

Still getting same error

solar grail
#

👋 I'm hopping in since bismark needs to head out soon - give me a minute to catch up

open marsh
#

Heyy!! Thanks

solar grail
#

From my understanding of our fallback behavior with taxes, we don't fallback to the IP address unless the other information (shipping address, billing address) isn't provided at all. So since you did provide an address, we use it to try and calculate tax behavior

open marsh
#

Its not working even though the information are correct

solar grail
#

The country needs to be two character country code - you used the full name by accident. So change "Canada" -> CA

open marsh
#

I have updated that trying again now

#

That seems to work when the country name is updated but the tax amount shows 0

solar grail
#

What's the invoice ID you're seeing that for?

open marsh
#

in_1KvmITGzQvwaByBEFg3wPmE4

solar grail
open marsh
#

Oh yeah it was empty but will try again and see, that should fix that issue i would assume. Do have to have tax registration on all the possible countries that i might have customers at?

solar grail
#

Yup, I believe that's the general idea

open marsh
#

Oh thanks for you help

solar grail
#

👍