Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Third-party tax for agentic commerce


Third-party tax for agentic commerce

Use a third-party tax provider to calculate tax on agentic commerce transactions.

You can use a third-party tax provider to calculate tax on agentic commerce transactions. This guide covers how to set up a supported third-party tax app for agentic commerce, including product feed configuration and provider-specific setup.

For general information about third-party tax apps, see Third-party tax apps.

Before you begin

Make sure you have:

  • A Stripe account with agentic commerce configured.
  • A supported third-party tax provider account.
  • Access to your third-party tax provider dashboard.

Supported providers

FeatureAnrokAvalaraStripe Tax
Agentic commerceSign up for preview

For a full comparison of supported integrations and features across all providers, see Supported integrations and features.

Set up your third-party tax app

To enable third-party tax calculation for agentic commerce, install and configure your tax provider’s Stripe app, then classify products in your product feed with third_party_tax_code instead of stripe_product_tax_code.

Install and configure your third-party Stripe app

The app installation steps are the same for each supported third-party tax provider:

  1. Install your provider’s app from the Stripe Apps Marketplace .
  2. Follow your provider’s onboarding flow to connect your Stripe account.
  3. Go to the integrations tab in your Tax settings.
  4. Enable automatic tax and select your installed third-party tax app as your tax calculation provider.

Product feed tax code format

When using a third-party tax provider, set the third_party_tax_code column in your product data CSV. Format the value as provider:tax_code with a lowercase provider name.

FieldFormatExample
third_party_tax_codeanrok:product_idanrok:example_agentic_commerce_product

If you currently use stripe_product_tax_code, replace it with third_party_tax_code when switching to a third-party provider. You only need to set one of the two fields per product.

Provider-specific considerations

After you install and configure your third-party Stripe app, use the following provider-specific guidance to configure tax codes for agentic commerce.

Configure tax codes in Anrok

In the Anrok dashboard, configure default tax codes so Anrok can determine the correct tax treatment for your products.

  1. Go to Data sources in your Anrok dashboard and find your connected Stripe account.
  2. Click the overflow menu ( ) next to your Stripe data source and select Configure new products .
  3. Scroll down to set the default product tax code for products to specify default tax treatment for your products.
  4. Set the default shipping tax code for shipping charges.
  5. Save your configuration.

Caution

You must configure default tax codes for both products and shipping in Anrok. If shipping tax codes aren’t configured, tax calculations on orders with shipping might return zero tax.

Create a product in the Anrok dashboard

Before referencing a product ID in your product feed, create a product in the Anrok dashboard with an explicit custom product ID (for example, example_agentic_commerce_product) and assign it an appropriate product tax category (PTC). See Available product tax categories for product IDs for the full list of available PTCs.

Set third-party tax codes in your product feed

In your product data CSV, set the third_party_tax_code field using the anrok: prefix followed by the product ID you created in the Anrok dashboard.

id,title,...,third_party_tax_code,tax_behavior
SKU400001,Llama plushie,...,anrok:example_agentic_commerce_product,exclusive

If you don’t specify a provider product ID, Anrok uses the default product tax code configured for your account.

Troubleshoot

Tax amount is zero

  • Verify that you configured default tax codes for both products and shipping in your tax provider’s dashboard.
  • Make sure the customer’s shipping address is in a jurisdiction where tax applies.
  • Check that your third _ party _ tax _ code values in the product feed are valid codes recognized by your provider.
  • For more help, see Anrok’s documentation .

See also

Last verified 2026-09-24

Is this helpful?