## Automatically Collect Tax with the Checkout Page

This guide explains how to automatically calculate taxes using the Stripe-hosted Checkout page or embedded form.

### Overview

Stripe Tax automatically calculates the taxes on all purchases and subscriptions accumulated during a Checkout session. If you haven’t integrated with Checkout, you must complete the integration using the [Accept a Payment guide](https://stripe.com/docs/payments/quickstart).

This video shows how to enable automatic tax collection when using hosted integrations like Stripe Checkout.

### Transfer Tax Liability to Stripe

If you sell digital products, Managed Payments allows you to offload tax liability to Stripe so we’re directly responsible for handling sales tax, VAT, or GST globally. As a merchant of record solution, Managed Payments also handles fraud prevention, dispute management, and customer support on all transactions.

### Create a Checkout Session

You can create Checkout sessions for one-time and recurring purchases.

A customer’s tax rates come from their location, which Checkout assesses from the customer’s address. The address that Checkout uses to calculate taxes depends on whether the customer is new or existing, and whether you collect shipping addresses during the Checkout Session:

| Customer Type | Address Collection Method | Address Used for Tax Calculation |
| :------------ | :------------------------ | :------------------------------- |
| New Customer  | Collect a billing address only | Checkout calculates taxes based on the customer’s billing address entered into the Checkout Session. |
| Existing Customer | Collect a billing address only | If the customer has a previously saved shipping address, Checkout calculates taxes based on that address. Otherwise, you can collect... |