Sales Tax Calculator API

Sales Tax Calculator API

Use this API to calculate sales tax, VAT, and GST where supported. Save transactions, record adjustments, submit batches, and check coverage. Each sales tax…

Finance & banking#finance

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Use this API to calculate sales tax, VAT, and GST where supported. Save transactions, record adjustments, submit batches, and check coverage. Each sales tax calculation response includes an outcome; check it before using the returned amounts. The API does not provide legal advice.

Endpoints 10

Calculations

  • POSTCreate a sales tax calculation/v1/calculationsCreates and saves a sales tax calculation from seller, customer, item, and transaction details. Check the outcome to see whether the result is final, needs…
  • GETRetrieve a sales tax calculation/v1/calculations/:calculation_idReturns a saved sales tax calculation from your workspace.

Transactions

  • POSTCreate a transaction/v1/transactionsSaves a completed sales tax calculation as a transaction with its original line items and tax amounts. Transactions cannot be edited; use an adjustment to…
  • GETRetrieve a transaction/v1/transactions/:transaction_idReturns a saved transaction from your workspace.
  • GETList transaction adjustments/v1/transactions/:transaction_id/adjustmentsReturns adjustments for this transaction, newest first. Use the cursor to get the next page.
  • POSTCreate an adjustment/v1/transactions/:transaction_id/adjustmentsRecords a refund or correction by reversing amounts from the original line items and tax components. Combined adjustments cannot exceed the amounts still…
  • GETRetrieve an adjustment/v1/transactions/:transaction_id/adjustments/:adjustment_idReturns an adjustment from the specified transaction.

Batches

  • POSTCreate a sales tax calculation batch/v1/calculation-batchesSaves and queues 1 to 100 sales tax calculations for background processing. The response includes a batch ID.
  • GETRetrieve a sales tax calculation batch/v1/calculation-batches/:batch_idReturns the batch status and the results available so far.

Coverage

  • GETCheck coverage/v1/coverage?country=string&tax_code=string&transaction_type=saleChecks whether the API supports the supplied jurisdiction, item tax code, transaction type, customer type, and date. A country list alone does not confirm…

API details

Base URL
https://api.salestaxcalculatorapi.com
Authentication
A bearer token in the Authorization header
Operations
10 operations on 9 pathsGET 6POST 4
Main resources
Transactions 5Batches 2Calculations 2Coverage 1
Response formats
application/json
Description format
OpenAPI 3.1.2, API version 1.0.0

How to test the Sales Tax Calculator API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Sales Tax Calculator API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Create a sales tax calculation” (POST /v1/calculations), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Sales Tax Calculator API?

Use this API to calculate sales tax, VAT, and GST where supported. Save transactions, record adjustments, submit batches, and check coverage. Each sales tax… It is listed under Finance & banking and has 10 endpoints.

Who publishes the Sales Tax Calculator API?

It is listed from Sales Tax Calculator API's public API description (an OpenAPI document), not published by Sales Tax Calculator API on Swastik Codes. Anyone who controls salestaxcalculatorapi.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Sales Tax Calculator API?

Requests go to https://api.salestaxcalculatorapi.com. Endpoint paths are added to this base URL.

How do I authenticate with the Sales Tax Calculator API?

With A bearer token in the Authorization header.

How many endpoints does the Sales Tax Calculator API have?

10 operations on 9 paths (6 GET, 4 POST). The largest groups are Transactions, Batches, Calculations, Coverage.

Is forking the Sales Tax Calculator API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.