Introduction
The Anrok Stripe integration is a native-to-Stripe integration that has full feature support across Stripe billing workflows including Checkout, Elements, Stripe API, Invoices, Subscriptions, Quotes, Customer Portal, and Payments Links. These workflows are supported out-of-the-box with our no-code setup guide below.
Click here to take a look at how the Anrok & Stripe integration worksIntegration architecture
|
Step 1
Connect with your Stripe account
The first step to integrate Anrok with Stripe is connecting your Stripe account through the Anrok data sources dashboard. During this process, you must align your accounting time zone and provide the credentials associated with your Stripe account.
Try connecting with Stripe in the demo above ☝️
-
In the Anrok app
, go to Data sources. Take me there!
- Select Integrate system, then under Accounting time zone, select the time zone that matches your Stripe account.
- Under Data source, select Stripe.
- Under Environment, select whether you are connecting your Live or Test Stripe environment.
- Click Connect with Stripe, then sign in with your Stripe credentials.
- Select the account you’d like to connect to Anrok, then click Connect →.
-
Once you see "
You are now logged into Stripe”, click Connect.
Step 2
Add your Stripe products as product IDs
In Anrok, your Stripe products will be called product IDsProduct ID
They describe the specific product or service that was sold to your customer. Product IDs are passed to Anrok from your billing system as the product(s) you are including on the invoice.
Each product ID you sell must be mapped to a corresponding tax configuration in Anrok, which signals what taxability ruleset to apply to the product.. These product IDs are the key drivers for calculating taxability. It's important that you add your current and previous Stripe products into Anrok. See What are product IDs?
Try adding your Stripe products in the demo above ☝️
- Under New products detected, select a corresponding Product type and Tax category for each product detected. See Select a tax configuration.
-
If you'd like to assign a Product type and Tax category to multiple products at once, click the checkbox
next to each product, then select Batch assign.
- When you are finished, scroll down and click Add products.
Step 3
Import your Stripe transactions
Now that you've assigned all of your product IDsProduct ID
They describe the specific product or service that was sold to your customer. Product IDs are passed to Anrok from your billing system as the product(s) you are including on the invoice.
Each product ID you sell must be mapped to a corresponding tax configuration in Anrok, which signals what taxability ruleset to apply to the product., you can now begin importing your historical transactions from Stripe into Anrok.
Try importing your Stripe transactions in the demo above ☝️
-
Under Select transactions to import, select one of the following options:
- Import all past transactions — all transactions will be imported into Anrok. This will result in a complete picture of your economic nexus exposure.
- Import transactions from a specific date — some past transactions will not be imported into Anrok. This may result in an incomplete picture of your current economic nexus exposure.
- Continue without importing past transactions — none of your historical transactions will be imported into Anrok. This may result in an incomplete picture of your economic nexus exposure.
- Select Import transactions (or Mark as finished depending on your previous selection).
- When your transactions have finished importing, select Mark complete.
Step 4
Set a default product ID
If you have an automated workflow that can generate new product IDsProduct ID
They describe the specific product or service that was sold to your customer. Product IDs are passed to Anrok from your billing system as the product(s) you are including on the invoice.
Each product ID you sell must be mapped to a corresponding tax configuration in Anrok, which signals what taxability ruleset to apply to the product. in Stripe, we recommend creating a default product ID. When a default product ID has been set, Anrok will apply its tax configuration whenever a Stripe product hasn't been configured in Anrok. See Set up a default Product ID.
Try setting a default product ID in the demo above ☝️
-
In the Anrok app
, go to Data sources. Take me there!
-
Under Integration sources, click the Options menu button
next to Stripe, then select Configure new products.
- Under Default product, click Set default product.
- Select a corresponding Product type and Tax category for each product detected. See Select a tax configuration.
- When you are finished, click Add products.
Step 5
Turn on Stripe Automatic Tax with Anrok
The final step to enabling Anrok automatic tax for your go-forward Stripe dashboard billing workflows is to set Anrok as your tax provider in Stripe and turn on Stripe automatic tax. This will allow you to calculate tax using the Stripe dashboard for Invoices, Subscriptions, Quotes, and dashboard-created Payment Links.
Important
Enabling Stripe Automatic Tax with Anrok is available for Stripe integrations created after April 2025. If your Stripe integration was created prior to April 2025, before enabling Stripe Automatic Tax with Anrok, please reach out to Anrok Technical Solutions (technicalsolutions@anrok.com) to assist with migrating your integration version to support Automatic Tax.
Try connecting with Stripe in the demo above ☝️
-
In the Stripe app
, navigate to your Stripe tax integration settings. Take me there!
- Under Tax calculation: set Anrok as your tax provider.
- Click Manage and follow the setup steps to choose
Anrok and install the Anrok Stripe app.
- Click Manage and follow the setup steps to choose
- Under Dashboard transactions: toggle Use automatic tax on
- Anrok is now enabled and will apply tax to new transactions initiated from your Stripe dashboard.
- If using Payment Links, ensure that your Payment Links are configured to create invoices by setting Create an invoice PDF in the Payment Link After payment section.
Step 6
Modify your existing Stripe API calls
Note
Modifying your API calls is only necessary when using Stripe API flows, including Checkout Sessions, Invoices, Subscriptions, Quotes, or Payment Links created via the Stripe API.
- Update your API calls to include the
automatic_tax[enabled]=true
parameter. Make this change for all codepaths where you create Checkout Sessions, Invoices, Subscriptions, Quotes, or Payment Links via the Stripe API. - Ensure that your Stripe Checkout Sessions and Payment Links are configured to create invoices by setting the
invoice_creation[enabled]=true
parameter in your Stripe API calls (Checkout, Payment Links). This parameter is only required for non-subscription billing flows since Stripe subscriptions always create invoices. - If you are planning to support non-US jurisdictions with Stripe Checkout, also ensure that your Stripe Checkout Sessions are configured to collect customer tax IDs by using the
tax_id_collection[enabled]=true
parameter.
Step 7
Migrate your pre-existing Stripe subscriptions to use Automatic Tax
When using Anrok Automatic Tax in Stripe, we recommend ensuring that all pre-existing Stripe subscriptions also have automatic tax enabled. Stripe provides a helpful migration tool to migrate your existing subscriptions to use Automatic Tax.
-
In the Stripe app
, go to your subscriptions migration tool. Take me there!
- If you need to take action to migrate any subscriptions, Stripe will alert you in the migrations dashboard. Click Start update to begin your subscriptions migration if necessary.
Note
Before you begin creating and editing invoices, you must ensure your Stripe account has been properly configured for tax calculation. Check out how to configure your Stripe account.