#SergeyMays
1 messages · Page 1 of 1 (latest)
Hello 👋
automatic_tax is Stripe Tax API which worked with Checkout, Billing etc. I think we just launched a Tax Calculation API. Hold on, let me check
Here
https://stripe.com/docs/tax/custom
I believe you should be able to use it with Charges API
@velvet crag
Based on the link:
You can integrate Stripe Tax with Payment Links, Checkout, Billing and Invoicing. Use this guide if you’re using Stripe’s payment APIs directly, or collecting payments outside of Stripe.
the most suitable option among the listed ones is Invoicing.
So, to summarize, can I use Invoicing instead of Charges?
You can use invoicing, sure. However, It uses PaymentIntents API underneath.
@velvet crag
Based on the code examples from the same link, I need to pass the amount as the sum of the price and the tax in the paymentIntent field. I have to get the tax separately through the tax.calculations.create request. It's not fully automatic this way.
If I use paymentIntent, will there be a dashboard for taxes? Will Stripe know how much of that amount consisted of taxes?
Not sure if we have a dashboard for this. Our support team might know. One way you can keep track is by storing the tax transaction ID on the PaymentIntent
https://stripe.com/docs/tax/custom#collect-address:~:text=}%2C
)-,Store%20the,so%20that%20later%20you%20can%20record%20refunds,-.%20You%20can%20store