# Collect tax with Checkout

Learn how to automatically calculate taxes using Stripe Checkout.

If you sell digital products, [Managed Payments](https://docs.stripe.com/payments/managed-payments/tax-compliance.md) transfers tax liability to Stripe, making us responsible for handling sales tax, VAT, and GST globally.

Stripe Tax automatically calculates taxes on purchases and *subscriptions* (A Subscription represents the product details associated with the plan that your customer subscribes to. Allows you to charge the customer on a recurring basis) during a Checkout Session. If you haven’t integrated with Stripe Checkout, start with the [Accept a Payment guide](https://docs.stripe.com/checkout/quickstart.md) first.

Before you start, confirm that your Stripe Tax settings are complete.

## Choose your integration

| **Integration** | **Description** |
| --- | --- |
| [Checkout page](https://docs.stripe.com/tax/checkout/page.md) | Use the Stripe-hosted Checkout page or the embedded form for a prebuilt UI. |
| [Checkout elements](https://docs.stripe.com/tax/checkout/elements.md) | Use elements mode for full control over the payment form layout. |
| [Collect tax IDs with Checkout](https://docs.stripe.com/tax/checkout/tax-ids.md) | Collect VAT and other customer tax IDs during checkout. |

## See also

- [Adaptive Pricing and Stripe Tax](https://docs.stripe.com/tax/calculating/adaptive-pricing.md)
- [Test your tax integration](https://docs.stripe.com/tax/testing.md)
