Collect taxesBeta
Use Stripe Tax to collect taxes in Custom Checkout.
Beta
The Custom Checkout integration is in private beta. To request access, click here.
Set up Stripe Tax![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Activate Stripe Tax in the Stripe Dashboard.
Add registrations![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
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![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
To start collecting tax:
- Pass automatic_tax[enabled]=true.
- Specify a tax_code for each line item.
- Specify a tax_behavior for each line item.
Tax codes![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
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![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
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.
You can also set a default tax behaviour in the Stripe Tax settings.
Learn more about tax behaviour.