Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
Get started with Connect
Integration fundamentals
Example integrations
Onboard accounts
Configure account Dashboards
    Get started with Connect embedded components
    Supported Connect embedded components
      Available Components
      Account management
      Account onboarding
      Balances
      Documents
      Financial account
      Financial account transactions
      Issuing card
      Issuing cards list
      Notification banner
      Payment details
      Payments
      Payouts
      Payouts list
      Tax registrations
      Tax settings
      Preview components
      App install
      App viewport
      Capital financing
      Capital financing application
      Capital financing promotion
      Disputes for a payment
      Export Tax Transactions
      Payment method settings
      Reporting chart
    Customize Connect embedded components
    Stripe Dashboard customization
    Platform controls for Stripe Dashboard accounts
    Express Dashboard
Accept payments
Pay out to accounts
Manage your Connect platform
Tax forms for your Connect platform
Work with connected account types
HomePlatforms and marketplacesConfigure account DashboardsSupported Connect embedded components

Tax settings

Learn how to allow connected accounts to set up Stripe Tax.

Copy page

The Tax settings component allows your connected accounts to set up Stripe Tax in your platform. Connected accounts can change their head office address and preset tax code with this component. This component is suitable for software platforms, which means that your connected accounts are liable to collect taxes.

To calculate taxes on payments of your connected accounts you have to collect four data points of information:

  • The head office address
  • The type of product the connected account sells
  • The address of the customer
  • The registrations of the connected account with the tax authorities

The tax settings component helps you to collect the first two pieces of information of your connected accounts with minimal integration effort.

The embedded tax settings component uses the Tax Settings API to display the head office address and preset tax code to your connected accounts.

Requirements

  • Your integration must follow the software platforms guide for Tax on Connect. This means that your connected accounts are liable to collect taxes.
  • After integrating the Tax settings component, render the Tax registrations component to collect tax registration information of your connected accounts. This is a requirement for Tax to calculate tax in a specific location.

Integrate the tax settings component

When creating an Account Session, enable tax settings by specifying tax_settings in the components parameter.

Command Line
cURL
curl https://api.stripe.com/v1/account_sessions \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d account=
{{CONNECTED_ACCOUNT_ID}}
\ -d "components[tax_settings][enabled]"=true

After creating the account session and initializing ConnectJS, you can render the tax settings component in the frontend:

taxSettingsPage.jsx
React
// Include this React component import { ConnectTaxSettings, ConnectComponentsProvider, } from "@stripe/react-connect-js"; return ( <ConnectComponentsProvider connectInstance={stripeConnectInstance}> <div> <h2>Tax Settings</h2> <ConnectTaxSettings // Optional // displayHeadOfficeCountries={["US", "CA", "DE"]} // onTaxSettingsUpdated={({id: settingsId}) => console.log({settingsId})} // hideProductTaxCodeSelector /> </div> </ConnectComponentsProvider> );
MethodTypeDescriptionDefault
setDisplayHeadOfficeCountriesstring[]Array of two-letter country codes that the connected account can choose from for their head office.undefined (all countries permitted)
setOnTaxSettingsUpdated({id: string}) => voidCallback executed with an object containing the newly updated tax settings IDundefined (not a required method)
setHideProductTaxCodeSelectorBooleanSet to true to hide the tab where users select a default Product Tax Codefalse (users can by default set a default PTC)

To give your connected accounts full control over their tax compliance, you need to integrate the tax registrations component as well. Please follow the guide for tax compliance for software platforms. The guide also covers how to calculate and collect the taxes and help your connected accounts to report their taxes.

See also

  • Tax on Connect
  • Tax for software platforms
  • Tax registrations component
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc