TaxJar Sales Tax API
Product · API / developer platform · Sales by TaxJar
Automate sales tax calculations and reporting with a developer-friendly API.
TaxJar Sales Tax API is a developer platform for integrating real-time, rooftop-accurate sales tax calculations and transaction reporting into custom applications. It is ideal for high-volume businesses needing to automate compliance across multiple jurisdictions with official SDKs for major programming languages.
- Languages
- Ruby, Python, PHP, Node.js, C#, Java, Go
Category: Tax Software
- APIs and SDKs
- REST API, Ruby, Python, PHP, Node.js,.NET, Java, Go SDKs
- Platforms
- API
- Deployment
- Cloud
- Languages
- English
- API Endpoint
- https://api.taxjar.com/v2/
- Sandbox Endpoint
- https://api.sandbox.taxjar.com/v2/
- Rooftop-accurate sales tax rates and calculations
- Official SDKs for Ruby, Python, PHP, Node,.NET, Java, and Go
- Sandbox environment for integration testing
- API versioning for enhanced validations and features
Overview
TaxJar Sales Tax API is a developer-focused platform designed for businesses to integrate real-time sales tax calculations and reporting into custom e-commerce and ERP systems. It provides rooftop-accurate tax rates based on specific transaction locations and supports product-level taxability rules through defined categories. Developers can automate tax collection at checkout and sync transaction data for automated filing by uploading orders directly to the TaxJar platform. The API supports a wide range of programming languages with official client libraries for Ruby, Python, PHP, Node.js,.NET, Java, and Go. It features a dedicated sandbox environment for testing and uses date-based versioning to ensure stable integrations while delivering new features.
Core API Capabilities
- Rooftop-accurate rates: The API provides rooftop-accurate sales tax rates based on the specific location of the transaction.
- Product categories: Developers can use the API to get information on sales tax categories and product-level tax rules.
- Transaction uploads: The API allows for uploading transaction data to TaxJar for reporting and filing purposes.
- Usage tracking: Each sales tax calculation or rate lookup request made to the API results in a transaction counted toward monthly plan limits.
Developer Experience
- Multi-language support: Official client libraries are provided for Ruby, Python, PHP, Node.js, C# /.NET, Java, and Go.
- API versioning: The API uses versioning with dates like '2022-01-24' to deliver enhanced validations and features.
- Secure authentication: Authentication is handled via API keys passed in the Authorization header as a Token or Bearer token.
- Sandbox environment: A sandbox environment is available at a dedicated endpoint for testing API calls and integrations.
Use cases
- Developers integrate real-time tax calculations into custom checkout flows to collect the correct amount of sales tax from customers.
- Finance teams sync transaction data from ERP systems to TaxJar via the API to automate sales tax reporting and filing.
- E-commerce businesses use product categories in the API to apply specific tax rules for different types of goods.
- Software engineers use the sandbox environment to test tax logic and API integrations before deploying to production systems.
Specifications
- APIs and SDKs
- REST API, Ruby, Python, PHP, Node.js,.NET, Java, Go SDKs
- Platforms
- API
- Deployment
- Cloud
- Languages
- English
- API Endpoint
- https://api.taxjar.com/v2/
- Sandbox Endpoint
- https://api.sandbox.taxjar.com/v2/
- Authentication Method
- API Key (Token or Bearer)
- API Versioning Header
- x-api-version
- Current API Version
- 2022-01-24
How it works
- Get an API Token: Sign up for a TaxJar account and navigate to Account > API Access to generate a personal API token.
- Choose a Client Library: Select an official client library for your preferred language or use cURL to interact with the REST API.
- Test in Sandbox: Use the Sandbox API Endpoint to test your integration and verify tax calculations without affecting production data.
- Go Live: Switch to the production API endpoint and include your API key in the Authorization header for all requests.
FAQ
How are API calls billed?
Each sales tax calculation or rate lookup request made to the API results in a 'transaction' that counts toward your monthly plan limit.
What programming languages are supported?
TaxJar provides official client libraries for Ruby, Python, PHP, Node.js, C# /.NET, Java, and Go.
Is there a sandbox environment for testing?
Yes, TaxJar provides a dedicated Sandbox API Endpoint at https://api.sandbox.taxjar.com/v2/ for testing purposes.
How does TaxJar handle API versioning?
TaxJar uses API versioning to deliver enhanced validations; you can specify a version like '2022-01-24' in the 'x-api-version' request header.
Added by AntSpace from public sources (developers.taxjar.com).