> For the complete documentation index, see [llms.txt](https://docs.cleartax.in/cleartax-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleartax.in/cleartax-docs/tds-api/tds-api-reference/tds-apis/upload-deductions.md).

# Upload Deductions

<mark style="color:red;">**These APIs are deprecated and no more supported.**</mark>&#x20;

**TDS Form**: Deductions can be uploaded for different TDS form types like:

<table><thead><tr><th width="102.33333333333331">Section</th><th>Description</th><th>Applicability</th></tr></thead><tbody><tr><td>24Q</td><td>Salary</td><td>Coming soon...</td></tr><tr><td>26Q</td><td>Non salary (domestic)</td><td>Supported via API</td></tr><tr><td>27Q</td><td>Non salary (foreign)</td><td>Coming soon...</td></tr><tr><td>27EQ</td><td>Tax Collected at Source (TCS)</td><td>Coming soon...</td></tr></tbody></table>

**Revision**: Before filing the returns, a deduction can be revised by uploading the updated information with the same Transaction ID for the given Return Period and Form Type. Clear will replace the existing document with the new information received. However, once the returns is filed for that return period and form type, no changes will be allowed.

Clear Finance Cloud provides only 1 option to ingest documents:

### Ingest Documents via File API

{% hint style="success" %}
Ingest Documents via File API is the **most recommended** option since it supports uploading documents in the bulk of up to 30 lakh document line items in one workflow which will typically take around 15 mins to complete.
{% endhint %}

{% content-ref url="/pages/4si2AyjzsNQn65jb4cC4" %}
[Ingest Deductions via File](/cleartax-docs/tds-api/tds-api-reference/tds-apis/upload-deductions/ingest-deductions-via-file.md)
{% endcontent-ref %}

### (Deprecated) Ingest Documents via JSON API

{% hint style="warning" %}
Ingest Documents via JSON API is the least recommended option since each request can handle only 100 document line items and can take a long time to upload all documents in batches.
{% endhint %}

{% content-ref url="/pages/pgrKuKQPM1oMSM2c1aA6" %}
[(Deprecated) Ingest Deductions via JSON](/cleartax-docs/tds-api/tds-api-reference/tds-apis/upload-deductions/deprecated-ingest-deductions-via-json.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cleartax.in/cleartax-docs/tds-api/tds-api-reference/tds-apis/upload-deductions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
