#MarkoBoras

1 messages ยท Page 1 of 1 (latest)

wicked hillBOT
gleaming obsidian
#

Hi! Let me help you with this.

#

Yes, that should work. Are you running into any issues with this approach?

paper wyvern
#

I am now trying

#

will this be an issue?

gleaming obsidian
#

No, you can use tax rates intead of Stripe Tax

paper wyvern
#

ok just a sec

#

yeah one question right away

#

if I set fixed tax rate of 25%

#

and pass that on every creation of checkout

#

will users who are not from my origin country (Croatia) still can use "I am purchasing as a business" and enter their VAT ID to kill VAT

gleaming obsidian
paper wyvern
#

hmm

#

can I explain you my problem and can you point me then what should I do

gleaming obsidian
paper wyvern
#

I am selling tickets for some event in Croatia. So everything is sold in Croatia and every user needs to pay Croatian tax (VAT) which is 25%. How can I set 25% VAT in checkout for all users.

paper wyvern
gleaming obsidian
#

That's why it's easier to use automatic Tax

paper wyvern
#

Yeah but we are selling physical product that will be used in Croatia

#

so accountat told us to use always 25%

gleaming obsidian
paper wyvern
#

Thanks

#

I'll have now really stupid question but I want sanity check

gleaming obsidian
#

There's no stupid questions!

paper wyvern
#

I've set tax to be 50% for test

paper wyvern
#

and how is my VAT 33.33$

#

I expected it should be 50$ if I've set 50%

gleaming obsidian
#

Yes, this doesn't look right.

paper wyvern
#

is it maybe because I've created my products when Stripe tax was included

#

hmm it isn't

gleaming obsidian
#

I can reproduce the issue. But I think it's because tax goes on top of the subtotal.
If the total is 100 and tax is 50%, the subtotal should be 66. The math is the following total = subtotal + tax * subtotal, in this case 100 = 66 + 0.5 * 66

#

But let me double check

paper wyvern
#

how did you calculate that subtotal should be 66

#

these are my product settings

#

and this is my tax rate

gleaming obsidian
#
subtotal + subtotal * 0.5 = 100
subtotal * (1 + 0.5) = 100
subtotal = 100 / (1.5)
subtotal = ~66
paper wyvern
#

hmm

#

okay that

#

but are my settings broken or not

gleaming obsidian
#

No, everything is correct.
Tax is a percentage of the subtotal ($66), and not the total ($100)

paper wyvern
#

aaaa

#

Ok

#

tnxxxx

gleaming obsidian
#

I realised this just right now too ๐Ÿ˜…
Taxes are hard.

wicked hillBOT
gleaming obsidian
paper wyvern
#

HAHAH

#

YEAH

#

yeah*

#

but why here is subtotal is 100

#

if in this case subtotal should be 80

#

VAT is 20 (0.25 * 80 = 20)

#

I mean total due is right

#

I am just asking

#

that's why I got confused

gleaming obsidian
#

Yeah, I guess it's the naming convention. Probably $80 is not called "subtotal", but "amount without tax". Sorry for confusion.

paper wyvern
#

KK

#

kk*

#

I've passed in checkout creation tax_id_collection: {
enabled: true,
},

#

but if I set my country to France

#

for france

#

vat is still same

#

it doesn't work

#

is that now issue because I've set fixed tax rate?

gleaming obsidian
#

What countries have you set your tax rate to be in?

paper wyvern
#

I've set Croatia

#

how can I set for all world to be 25%

#

but when someone validates VAT ID

#

VAT should be reduced to 0 and total stays same because I've used inclusive tax

cedar pumice
#

Hello ๐Ÿ‘‹
Stepping in here

paper wyvern
#

hi

cedar pumice
#

Inclusive tax means that the price you have set for the product already includes the tax. The breakdown you see on the checkout page is just for the visibility.

paper wyvern
#

ok

#

but can you please answer to tihs

#

this

#

so Total is 100 and VAT is 20 AMOUNT WITHOUT VAT is 80 for VAT 25%

User comes from France and he is company and he enters his VAT ID which is valid

Total is 100 and VAT is 0 AMOUNT WITHOUT VAT is 100 because he has entered valit VAT ID

#

it should work like that right?

cedar pumice
#

Quick question, are you using Stripe Tax OR are you using Tax rates?
They both are separate products that allow you to calculate taxes.

If you're using Stripe Tax, you don't need to define Tax rates

paper wyvern
#

I am using both sadly

#

because of this

#

so I need fixed tax rate of 25% for users, but companies can enter their VAT ID

cedar pumice
#

hmm okay, let me think

paper wyvern
#

ok

#

tnxx

cedar pumice
#

I think you'd need to set rates for all the countries you're selling your product in separately.
There's no way to apply one rate globally

paper wyvern
#

hmm

#

I'll see this once more with accountant then.

#

can you send me transcript of this thread maybe?

#

one question also while you're here

#

how can I create promotion code that can be used always

cedar pumice
#

This page has guidance on how you can create coupons/promo codes ๐Ÿ™‚
https://stripe.com/docs/payments/checkout/discounts

can you send me transcript of this thread maybe?
Unfortunately, that's not something discord supports. However, this thread would exist in the channel so you can come back and find it later on

paper wyvern
#

TNX