#Sondik-credit-balance
1 messages · Page 1 of 1 (latest)
Hi 👋 this doc helps explain how to leverage credit balance functionality within Stripe.
https://stripe.com/docs/billing/customer/balance
Is that what you're looking for or is your questions specifically about the VAT calculation side of this?
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
Correct, because it's not a payment so adding tax to it is not supported.
so how would one solve this? is the credit applied before tax?
I'm still not clear what you're trying to solve for. Credit balances are not applied before tax.
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
Sorry, I'm not sure I follow. Do you want to credit them for the VAT portion as well, or just the base price?
vat portion aswell
So you just need to credit them based on the total of their previous payment, right?