Tax Service Extensions and Calculator Services

Taxes in a B2B store often consider exempt certificates, VAT, regional jurisdictions, and real time rate changes. To handle this complex tax calculation and ensure compliance and accuracy, you can use a provider-extension model.

A tax calculator is the service that performs the math behind calculating taxes in your store. Salesforce provides a standard tax provider for basic needs, but you can also integrate with third-party tax calculators (such as Avalara or Vertex) to handle complex global tax compliance.

A tax service extension is an Apex code that connects your B2B store to the tax calculator. It maps the data from the user's cart (such as shipping address and product SKUs) to the format the tax engine requires and brings the result back into the Salesforce Checkout flow.

Note
Note For subscription products, only the Stripe configuration and Tax Extensions with Tax Type "Net" are supported. Tax calculator extensions aren't supported for subscription products.