#MarkoBoras

1 messages · Page 1 of 1 (latest)

sullen totemBOT
prisma dirge
#

👋 happy to help

latent frost
#

Did you understand what I need or should I describe better

prisma dirge
#

I think I get what you're asking, I'm just trying to figure out if this doable and how

#

just give me a few minutes to check that for you

latent frost
#

long story short

  • stripe is not returning tax value for non eu countries because I am only registered in EU. I need to charge those users Croatia's tax rate.
  • do I need to create one tax rate and use it for all users which are in that case or should I create for each user different tax rate
#

as I figured out I need to create tax rate object

#

and when non-eu user opens checkout he'll get that tax amount percentage

#

I just apply tax rate (txr_xxx..)

#

in

prisma dirge
#

I'm just trying to figure out the jurisdiction part of the tax rate

#

just give me a few minutes will be back shortly with an answer

latent frost
#

yeah ofc

#

tyy

#

I am still here

#

Tell me when you know something

prisma dirge
#

yes I was still looking into this

#

thanks for the bump

#

basically there is no way of specifying a "fallback" tax rate

#

if you want to use manually created tax_rates, you'd have to create one for each jurisdiction/country

#

otherwise it's better to rely on Stripe Tax for automatic tax rate calculation

latent frost
#

yeah but Stripe doesn't calculate tax rate for non-stripe and non-eu union countries (Serbia,Bosnia, ...)

#

tax rate in those cases is 0%

#

I legally need to charge them 25% (tax rate of Croatia), because our company is from Croatia

#

if you understand me what I am saying

prisma dirge
#

yes I do understand

#

then you'd have to create as much tax_rates as you need to cover all of your expected customer's countries/jurisdictions

latent frost
#

but can I do this

#
  • Get customer
    const currentCustomer = await findCustomerById(customerId);
  • Check where is user from
    const isEuropeanUnionUser = EU_COUNTRIES.includes(currentCustomer.address.country || '');

If isEuropeanUnionUser TRUE

  • automatic tax
    If isEuropeanUnionUser false
  • pass in tax_rates one tax rate of 25% that I'll create in dashboard

Then those users will always have 25% of tax

prisma dirge
#

but the problem is that tax_rate need to have a specific jurisdiction and will only apply when the customer is in that jurisdiction

latent frost
#

someone needs to pay tax ...

#

how then other people are selling in countries that stripe doesn't support and they're not from EU

prisma dirge
#

I'm not sure, not the most tax expert here to be honest

#

you can speak to someone from https://support.stripe.com/?contact=true they might be able to provide better help on the subject

#

but technically speaking I'm not sure there is a way for this to be done unless you want to calculate the tax yourself and add that as a line_item in your Checkout but if you need invoices that amount would be really considered as Tax

latent frost
#

what category is best to choose to ask this question

#

I mean this is really common question, I am sure someone else had this issue

#

I don't see logic that I manually create tax rate for all countries

#

Just one more time to confirm this question if I understood you correctly

#

I cannot mix tax rates and stripe tax ?

prisma dirge
#

there's Tax

#

as a topic

latent frost
#

ok found

#

what about this

#

I don't see logic that I manually create tax rate for all countries
Just one more time to confirm this question if I understood you correctly
I cannot mix tax rates and stripe tax ?

prisma dirge
#

yes that's correct

latent frost
#

ok

#

With that said, if your customer is not located in Europe, you need to specify their location on the Checkout session and you’ll be able to collect tax from them.

Which properties are for specying their address?
So if I am EU(Croatia) and my customer comes from Bosnia (NON-EU) and I specify Bosnian address what will be value of tax in checkout?
Exactly, the full address is required to complete the Checkout Session.

I already have retrieved user's full address (line1, city, country, postal code)
how can I pass that in checkout

#

?

mortal knoll
#

With that said, if your customer is not located in Europe, you need to specify their location on the Checkout session and you’ll be able to collect tax from them.
where is this quote from?

latent frost
#

stripe tax agent

#

but his replies are slow as fuck

#

every reply I need to wait 10minuites

#

and he is not api expert

mortal knoll
#

it's a complex topic.

latent frost
#

so can you please help me

#

I already have retrieved user's full address (line1, city, country, postal code)
how can I pass that in checkout
?

mortal knoll
#

you can't

#

Checkout doesn't work that way, you don't pass the address into it, it collects it.

#

so the information in the quote above is wrong unfortunately

#

we're not going to have this conversation in multiple channels so please only talk to our support team, it can escalate to email if required to dig in and get deep answers. It's not always possible to have a chat conversation about complex topics like this, sorry!

latent frost
#

thanks man

#

can you please me give some additional contact than customer support tax with which I am currently talking

#

I am sure someone else from EU has had this question how to sell something outside of EU

mortal knoll
#

no

#

I'm sure they do; https://support.stripe.com/?contact=true is the way to get support and escalate it if required

latent frost
#

ok

#

thanks

mortal knoll
#

I'm closing this thread, we can't spend this much bandwidth on multiple conversations with you