Skip to main content
TDS Tax Creation API

Authentication

All requests require an API key in the request headers. Headers:
The permission required on your API key is Tax with the Create action enabled.

Request

Content-Type: application/json Creates a custom TDS rate in your organization tax master. Use the returned id as tdsId when creating vendor advances or other transactions that need a TDS deduction. To list rates that already exist, use the TDS Taxes API.

Body Parameters

Code Examples

Success Response

HTTP Status: 200 OK Response Fields:

Response Example

Error Responses

Validation Errors

HTTP Status: 400 Bad Request Returned when section is not a recognized TDS section id.

Authentication Errors

HTTP Status: 401 Unauthorized

Permission Errors

HTTP Status: 403 Forbidden Returned when the API key doesn’t have the Tax resource with the Create action enabled.

Rate Limiting

HTTP Status: 429 Too Many Requests

Server Errors

HTTP Status: 500 Internal Server Error

Best Practices

  • Prefer creating rates once and reusing the returned id across transactions rather than creating a duplicate rate per bill
  • Match section to a catalog id from the Pazy UI / tax master (e.g. 194C1, 1023) — free-text labels like bare 194C are rejected unless they exist as an id
  • After create, confirm the rate appears on List TDS Taxes before hardcoding the id in downstream jobs