Collect taxes in Checkout
Learn how to collect taxes for one-time payments in Stripe Checkout.
Stripe Tax is 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.
Add registrations
Configure your Stripe Tax registrations in the Stripe Dashboard. You’ll see zero tax amounts for anywhere you’re not registered to collect tax.
Check our tax guide for more information on registrations.
Configure your Checkout Session to collect tax
To start collecting tax:
- Pass automatic_tax[enabled]=true.
- Specify a tax_code for each line item or set a preset tax code in the Dashboard.
- Specify a tax_behavior for each line item or set a default tax behaviour in the Dashboard.
Tax codes
Tax codes associate products with tax rates. Choose the tax code that best fits your product from the list of available tax codes. If a product doesn’t fit any of the specific codes, use one of the codes with “General” in its name.
Tax behaviour
The tax behaviour determines how tax is presented to the buyer. There are two options for tax behaviour:
- Exclusive: The product price doesn’t include tax. Tax is added as a separate amount.
- Inclusive: The product price includes any tax amount.
Learn more about tax behaviour.