#Sondik-credit-balance

1 messages · Page 1 of 1 (latest)

deep wagon
dusk pagoda
#

specifically about the VAT calculation side of this!

#

the calculation of this is already done

#

it just seems i cant apply any tax id or something alike to the createBalanceTransaction object

deep wagon
#

Correct, because it's not a payment so adding tax to it is not supported.

dusk pagoda
#

so how would one solve this? is the credit applied before tax?

deep wagon
#

I'm still not clear what you're trying to solve for. Credit balances are not applied before tax.

dusk pagoda
#

ok, lets say a customer has a subscription that costs yearly 120 euro, excl vat, so he pays 145,2 euro. after 2 months he cancels, so should get back 121 in credits

but the price in stripe is stored without vat...

i cant hardcode a vat percentage because germany eg is 19%, or foreign countries don't need to pay vat, stripe knows this.

so i know the customer needs to get 100 euro excluding vat, but how do i know what vat % i need to apply?

storing the price paid is also not a solution, if the users transforms to a company, that will be to complicated imo

deep wagon
#

Sorry, I'm not sure I follow. Do you want to credit them for the VAT portion as well, or just the base price?

dusk pagoda
#

vat portion aswell

deep wagon
#

So you just need to credit them based on the total of their previous payment, right?