Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Testing Stripe Tax


Testing Stripe Tax

Learn how to test your Stripe Tax integration.

You can use Stripe Tax in a sandbox environment to preview automatic tax calculation behavior for different tax settings. Use a sandbox to:

  • Preview tax calculation behavior for different customer locations and registered jurisdictions.
  • Validate that your integration handles automatic tax calculations correctly.
  • Understand zero-tax outcomes.

Configure tax settings for a sandbox

Stripe Tax has separate settings for sandboxes, allowing you to preview changes to your tax settings before applying them in live mode.

When you Set Up Stripe Tax, make sure you enable testing by configuring tax settings in your sandbox.

Add a registration

Stripe Tax only calculates tax in jurisdictions where you’ve added a registration. You must add at least one registration in your sandbox to test your Stripe Tax integration.

Some product tax codes are exempt from sales tax in certain jurisdictions, which can make them challenging to test. For example, some classes of digital goods are exempt from sales tax in the state of California. When you’re testing your Stripe Tax integration, we recommend adding registrations in states that have fewer product-specific exemptions, such as Idaho or New Jersey.

Sandbox registrations don’t affect live mode tax calculations, so you can change them at any time after you’ve verified that your integration is working correctly.

Testing your integration

After you’ve configured your Stripe Tax settings in your sandbox and added registrations, you’re ready to test.

To test in the Dashboard, create an Invoice or Payment Link, and make sure the Use automatic tax calculation toggle is on.

Review Calculations

Using the payment details page

Note

This functionality isn’t available for tax transactions created using the Tax API. For transactions recorded using the Tax API, see Using the tax transactions page.

After you complete a payment with automatic tax calculation enabled, you can review information about the tax calculation in the Dashboard.

  1. Navigate to the Transactions page in the Dashboard.
  2. Click a payment you created with Stripe Tax enabled.
  3. Scroll down to the Tax calculation section.

The Tax calculation section of the payment details screen. Tax wasn’t applied to this transaction because there’s no registration for the tax location.

The Taxability field shows whether tax was collected for a given transaction or explains why no tax was applied. For more information about why Stripe Tax applies zero tax to some transactions, see Zero tax amounts.

Using the tax transactions page

You can view all tax transactions for your account on the Tax Transactions page in the Dashboard. Click an individual transaction to see a detailed breakdown of calculated tax by jurisdiction, and by the individual products included in the transaction.

Review reports

After you complete a test transaction, use the Tax Transactions page to confirm that Stripe Tax recorded it. Completed transactions can take up to 24 hours to appear in reports. To review filing and reporting data, go to the Locations page in the Dashboard and select a location. For more information, see File and remit or Tax reporting.

Last verified 2026-09-24

Is this helpful?