Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add VAT in Stripe Checkout?

I'm using Stripe Checkout to create a subscription in Stripe Billing. Checkout also auto creates the Stripe customer object.

How can I add right right VAT rate based on where the customer is based? The customer should be able to see the price both including and excluding VAT/GST both in the checkout session itself and on the invoice.

The "create subscription" API call allows you to set the field "default_tax_rates" which sounds like what I need, but the problem is that with Stripe Checkout the subscription (and the customer object) are created automatically by Stripe Checkout so I cannot explicitly pass parameters to these creation calls.

I know how to calculate the VAT rate and I don't want to integrate with another third party vendor just for tax, so I'm not looking for something like Quaderno or Taxamo.

How do people solve this problem? I'm starting to think that maybe I should have integrated with Chargebee instead of Stripe :-(

like image 656
molsson Avatar asked Aug 16 '19 08:08

molsson


People also ask

Does Stripe handle VAT?

Stripe Tax lets you calculate and collect sales tax, VAT, and GST with one line of code or the click of a button.

Does Stripe automatically charge sales tax?

Stripe Tax—a paid product that automatically calculates the tax on your transactions without the need to define the rates and rules. Fees only apply after you've added at least one location where you're registered to calculate and remit tax.


1 Answers

I'm having that same issue.

Stripe support informed me that Checkout does not support the legacy tax percentage or the new Tax Rates object. Checkout charges only the exact amount.

On recommendation from stripe I will calculate the tax and charge that as a separate line item. That way the correct amount is charged and the VAT is clearly visible to the customer.

I'm also creating subscriptions and there I will show the amount incl. VAT. and post fix the plan name with 'incl. VAT' to make it clear to the customer.

After the checkout flow completes I will try to add the Tax Rate to the invoice and subscription as 'Inclusive' using the API. I'm not sure that will work as I think, but we will see.

like image 197
CB Stilborg Avatar answered Oct 14 '22 03:10

CB Stilborg