On this page
DocumentationStart

Choose SDK or HTTP API

Choose the SDK when your application can import TypeScript packages. Choose the HTTP API when the calculation should run on the server or the caller cannot import TypeScript packages. The SDK's root, AU and schema entrypoints also support browser callers; those calculations run on the caller's device.

Choose by environment

Choosing the SDK or the HTTP API by where your code runs
Choosing the SDK or the HTTP API by where your code runs

The HTTP API calls the calculator service directly. The SDK calls the same service in-process. Keep tax logic in the shared calculator and rule packages.

Next steps

  • Use Plain SDK for most server-side TypeScript apps.
  • Use Effect SDK for in-process Effect composition.
  • Use the API section when you need HTTP endpoint details.