Skip to content
Sign in
An image of the Stripe logo
/
Create account
Sign in
Home
Payments
Finance automation
Banking as a service
Developer tools
No-code
All products
Home
Payments
Finance automation
Home
Payments
Finance automation
Banking as a service
Developer tools
Overview
Billing
Tax
    Overview
    Get started
    How Tax works
    Set up
    Navigate the dashboard
    Using the Settings API
    Integrate by payment flow
    Payment Links
    Checkout
    Invoicing
    Subscriptions
    Custom flows
    Integrate with Stripe Connect
    Overview
    Tax for software platforms
    Tax for marketplaces
    Manage your compliance
    Monitor your obligations
    Register
    Calculate tax
    Report
    File and Remit
    Tax Reference
    Product tax codes
    Supported countries
    FAQ
Reporting
Data
Startup incorporation
Tax
·
HomeFinance automationTax

Automatically collect tax on Payment Links

Learn how to calculate and collect tax on a payment page without writing any code.

Note

Log in or sign up for Stripe to activate Stripe Tax.

You can use Stripe Tax with Payment Links to automatically calculate and collect tax on a payment page and share a link to it with your customers, without writing any code.

Set up Stripe Tax

Before collecting tax on your Payment Links, you need to configure your tax settings within the Dashboard.

Update your products and prices

Stripe Tax uses information stored on the Products and Prices APIs to determine the right rates and rules to apply when calculating tax. Update the products and prices you use to include:

  1. Tax behavior: The tax behavior on a price can be either inclusive or exclusive. This determines how the buyer sees the tax. When you set tax behavior to exclusive, it adds tax onto the subtotal amount you specify on your price. This is common in US markets and for B2B sales. When set to inclusive, the amount your buyer pays never changes, even if the tax rate varies. This is common practice for B2C buyers in many markets outside the US.

    Setting the tax behavior explicitly on a price is optional, if you set up the default tax behavior in the Stripe Tax settings. You can override the default tax behavior setting by setting a tax behavior on a price.

  2. (Optional) Tax code: A tax code is a classification of your product or service for Stripe Tax that makes sure we apply the correct tax rate to your transactions. Some examples include “Audio book,” “Gift card,” or “Software as a service.” If you don’t set the tax code, Stripe Tax uses the preset tax settings.

Caution

You can’t change tax_behavior after you set it to one of “exclusive” or “inclusive.” You can create a new price and archive the current one instead.

Learn more about Products, prices, tax codes, and tax behavior.

Create a link

In the Dashboard, open the Payment Links page and click + New. Then:

  1. Select +Add a new product.
  2. Fill out the product details.
  3. Click Add product.
  4. Click Next.
  5. Click Create link.

Enable Stripe Tax

We enable Stripe Tax automatically on all Payment Links unless you switch off the toggle at the bottom of the tax settings page. In the Payment Link configuration page, under the Advanced options section, you’ll see that Collect tax automatically is already on.

See also

  • Use Stripe Tax with Connect
Was this page helpful?
Need help? Contact Support.
Watch our developer tutorials.
Check out our product changelog.
Questions? Contact Sales.
Powered by Markdoc
You can unsubscribe at any time. Read our privacy policy.
On this page
Set up Stripe Tax
Update your products and prices
Create a link
Enable Stripe Tax
See also
Products Used
Tax
Payment Links
Stripe Shell
Test mode
Welcome to the Stripe Shell! Stripe Shell is a browser-based shell with the Stripe CLI pre-installed. Log in to your Stripe account and press Control + Backtick (`) on your keyboard to start managing your Stripe resources in test mode. - View supported Stripe commands: - Find webhook events: - Listen for webhook events: - Call Stripe APIs: stripe [api resource] [operation] (e.g., )
The Stripe Shell is best experienced on desktop.
$