Skip to content
Create account or Sign in
The Stripe Docs logo
/
Ask AI
Create accountSign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
APIs & SDKsHelp
Overview
Billing
OverviewAbout the Billing APIs
Subscriptions
Invoicing
Usage-based billing
Quotes
Customer management
Billing with other products
Revenue recovery
Automations
Scripts
Test your integration
Tax
Overview
Use Stripe Tax
    How Tax works
    Set up Stripe Tax
    Set up collection
      Settings API
      Specify product tax codes and tax behavior
      Collect customer addresses
      Validate addresses
      Zero tax and reverse charges
      Manual rules fallback
      Use ship-from addresses
      Define customizations
      Use third-party tax calculations
      Standalone Tax API
    Testing
    Find your payment type
    Find your business type
    Supported countries
Tax rates
Manage compliance
Reporting
Overview
Select a report
Configure reports
Reports for multiple accounts
Reports API
Revenue recognition
Marketing analytics
Data
Overview
Query business data
Analytics API
Sigma
Data Pipeline
Next generation of Data PipelineDatabase
Import external data
United States
English (United States)
  1. Home/
  2. Revenue/
  3. Use Stripe Tax

Calculate tax

Learn how to calculate tax with Stripe Tax.

The most common forms of indirect taxes for your business are sales tax, VAT, and GST. These taxes apply on the sale of physical goods, digital goods, and services.

Stripe calculates tax on a transaction taking into account some or all of the following factors:

  • The location of the seller
  • The location of the customer
  • The location where the activity is performed
  • The type of the product sold
  • Whether the transaction involves a reverse charge
  • The status of the customer (for example, whether they’re a VAT-registered business, private person or an exempt organization)

Stripe only calculates tax in jurisdictions where you have an active tax registration. Without a registration in the customer’s location, the calculation returns zero tax. To learn more, see Understand zero tax amounts.

Payment methods

Stripe calculates tax for all supported payment methods, including Apple Pay and Google Pay wallet transactions.

How Stripe uses addresses

Stripe uses a single address as the customer’s location, or transaction destination, when calculating taxes. For more information, see which customer address we use.

In certain scenarios, it’s important to identify the origin of a transaction. Stripe generally uses the address where your business is located as the origin of a transaction. This address is defined as your head office address in the Dashboard or as head_office if using the tax settings object.

You can also specify a performance location to calculate tax based on a location that differs from both your head office address and your customer’s address. For example, you might deliver products to your customer at a store, or sell tickets to an event or activity.

How to use ship-from addresses

If your business ships goods from locations other than your head office, you can provide a ship-from address to calculate tax based on the actual shipping origin. Ship-from addresses are available only through the Stripe Tax API. For details on how ship-from affects tax calculation in different jurisdictions, see Use ship-from addresses.

How to use performance location

You can calculate taxes based on performance location addresses that differ from your business address and your customer’s address. If you provide a performance location, Stripe Tax uses its address as the place of taxation for physical goods, services and events. To use performance locations:

  • You must define performance locations through the Stripe Tax API.
  • Performance locations aren’t supported through the Dashboard.
  • Unrecognized performance location addresses return a tax calculation error.
  • You can’t use performance locations for digital product tax codes.
  • Some product tax codes require the performance location.

Even if you provide a performance location, the business address and the customer address remain relevant in determining whether reverse charges might apply.

Discounts and tax calculations

Stripe Tax calculates tax after applying discounts to the subtotal. This ensures tax calculation on the actual amount paid by the customer.

For example, with a product priced at 150 USD and a 20 USD discount:

  1. The subtotal after discount is 130 USD.
  2. Tax is calculated on the 130 USD amount.
  3. The final total is the discounted subtotal plus the calculated tax.

Discounts don’t affect the tax rates themselves, only the amount on which tax is calculated. When using the Tax API, calculate the discount before sending the request.

Tax breakdowns

Stripe Tax provides detailed tax breakdowns for each transaction. These breakdowns aren’t sorted in any specific order. All applicable taxes are calculated and applied simultaneously. The order of items in the breakdown doesn’t indicate priority or application sequence.

Specify product tax codes and tax behavior

Learn how to set up products and prices to automatically calculate tax.

Collect customer addresses

Learn how to collect customer addresses to automatically calculate tax.

Zero tax amounts and reverse charges

Learn about cases when Stripe calculates zero tax.

Customize tax behavior

Set up Tax to fit your business needs with tax customizations.

Countries supported by Stripe Tax

Learn how to use Stripe to calculate, collect, and report tax in different countries

Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Chat with Stripe developers on Discord.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc
On this page
Related Guides
Calculate tax using APIs